mikaelD
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Front-End Post Edit Form
Started by: mikaelD in: Toolset Professional Support |
2 | 3 | 4 years, 11 months ago | ||
CRED Edit Form fields are empty when some users edit their posts
Started by: mikaelD in: Toolset Professional Support |
2 | 8 | 4 years, 11 months ago | ||
wpv-post-field shortcode is showing duplicate values
Started by: mikaelD in: Toolset Professional Support |
2 | 6 | 4 years, 11 months ago | ||
Edit post link not working with custom post status
Started by: mikaelD
in: Toolset Professional Support
Problem: The "edit post link" doesn't appear if the post has a custom post status. Solution: Use a custom filter to extend the edit post link to post statuses other than "publish": function extend_editable_post_statuses( $allowed_post_statuses, $form_id ) { $allowed_post_statuses = array( 'publish', 'needs-revision' ); return $allowed_post_statuses; } add_filter( 'toolset_filter_edit_post_link_publish_statuses_allowed', 'extend_editable_post_statuses', 10, 2 ); |
2 | 4 | 4 years, 11 months ago | ||
Trying to Update Post status with drop-down on front-end form
Started by: mikaelD in: Toolset Professional Support |
2 | 4 | 5 years ago | ||
Customize Reset Password Email
Started by: mikaelD
in: Toolset Professional Support
Problem: Customize email message of "Reset Password" email. Solution: The reset password email is setup by WordPress, you can try the WordPress built-in filter hook "retrieve_password_message" Relevant Documentation: https://developer.wordpress.org/reference/hooks/retrieve_password_message/ |
2 | 5 | 5 years ago | ||
Display Multi-Value Custom Field as List
Started by: mikaelD
in: Toolset Professional Support
Problem: I have a checkboxes group custom field on a post. I would like to display a list of the checked checkboxes in the post template. Solution: Use a series of conditionals that tests the custom field values and displays the corresponding text: <ul> [wpv-conditional if="( '[types field='room-size' option='0'][/types]' eq '1' )"] <li>Option 1</li> [/wpv-conditional] [wpv-conditional if="( '[types field='room-size' option='1'][/types]' eq '1' )"] <li>Option 2</li> [/wpv-conditional] [wpv-conditional if="( '[types field='room-size' option='2'][/types]' eq '1' )"] <li>Option 3</li> [/wpvconditional] </ul> Relevant Documentation: |
2 | 3 | 5 years ago | ||
toolset-edit-post-link is opening post instead of edit form content template
Started by: mikaelD in: Toolset Professional Support |
2 | 9 | 5 years ago | ||
I am trying to set post slug and title from a Front End Form
Started by: mikaelD
in: Toolset Professional Support
Problem: I have a Form that is used to create posts. I would like to set the post title and slug based on the current logged-in User's information. Solution: Use the Forms API to set the post title and slug: add_action('cred_save_data', 'auto_generate_post_meta', 10, 2); function auto_generate_post_meta ( $post_id, $form_data ) { if ($form_data['id']==1133) { $current_user = wp_get_current_user(); $post_title = $current_user->user_firstname." ".$current_user->user_lastname']; $slug = sanitize_title_with_dashes($post_title); wp_update_post(array('ID'=>$post_id,'post_title'=>$post_title,'post_name'=>$slug)); } } Relevant Documentation: |
2 | 7 | 5 years ago |