Arrien
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 |
---|---|---|---|---|---|
Display number of total users, number of active users
Started by: Arrien in: Toolset Professional Support |
2 | 6 | 3 years ago | ||
Save username as user's First and Last name and make fields required
Started by: Arrien in: Toolset Professional Support |
2 | 13 | 3 years, 2 months ago | ||
Understanding how checkmark data are saved
Started by: Arrien in: Toolset Professional Support |
3 | 8 | 4 years, 1 month ago | ||
One user profile page, two user edit forms
Started by: Arrien in: Toolset Professional Support |
2 | 8 | 4 years, 5 months ago | ||
Saving user first name/last name as post title + post date/time
1
2
Started by: Arrien
in: Toolset Professional Support
Problem: I would like to use the post author's name with post date and time to automatically set a new post title. Solution: Use the save_post hook provided by WordPress to automate the post title. Get author information using get_the_author_meta, concatenate the title string, and use wp_update_post to update the post title. Example code: function md_checkout_title( $post_id ) { if( 'material-check-out' == get_post_type($post_id) ) { remove_action( 'save_post', 'md_checkout_title' ); $date = date( 'Y-m-d H:i:s', time() ); $author_id = get_post_field( 'post_author', $post_id ); $first_name = get_the_author_meta( 'first_name', $author_id ); $updated_data = array( 'ID' => $post_id, 'post_title' => $first_name . $date ); wp_update_post( $updated_data ); add_action( 'save_post', 'md_checkout_title' ); } else { return; } } add_action( 'save_post', 'md_checkout_title' ); Relevant Documentation: |
3 | 24 | 4 years, 10 months ago | ||
Importing post_id to user_id
Started by: Arrien in: Toolset Professional Support |
2 | 5 | 4 years, 11 months ago | ||
Importing a CSV user data to new site
Started by: Arrien in: Toolset Professional Support |
2 | 6 | 5 years, 1 month ago | ||
Converting custom post types to users
Started by: Arrien in: Toolset Professional Support |
2 | 7 | 5 years, 4 months ago | ||
Upgrading PHP without breaking my site
Started by: Arrien in: Toolset Professional Support |
2 | 12 | 5 years, 4 months ago | ||
Creating French versions of my custom post type forms
Started by: Arrien
in: Toolset Professional Support
Problem: I would like to use two Forms to create posts in the same custom post type. One Form should be in French, and the other Form should be in English. I am considering using two different field groups, one for each language. I am not using a 3rd-party multilingual system or plugin. Solution: Only create one Form and one Field Group. Use conditional HTML in the body of the Form to hide or show different translations based on the current page ID. Consider adding both languages to the option titles. <div class="form-group"> <label> [wpv-conditional if="('[wpv-post-id]' eq '12345')"]Book Title[/wpv-conditional] [wpv-conditional if="('[wpv-post-id]' eq '67890')"]Titre de Livre[/wpv-conditional] </label> [cred_field field="post_title" class="form-control" output="bootstrap"] </div> Relevant Documentation: |
2 | 5 | 6 years, 1 month ago | ||
Views show “No items found”
Started by: Arrien
in: Toolset Professional Support
Problem: Views that were working before are now showing "No items found". Solution: After activating Polylang, you must be sure to translate the posts or they cannot be found by Views. |
3 | 15 | 6 years, 1 month ago | ||
Editing required fields on the back end
1
2
Started by: Arrien
in: Toolset Professional Support
Problem: I have built a membership system using Toolset, but I need to be able to edit their form submissions on the back end after becoming members. In particular required fields. Is there an easy way to do this? The membership system is creating custom post types. Solution: As a workaround, you can use specify additional filters that control those required fields group display in admin side, for example: https://toolset.com/forums/topic/editing-required-fields-on-the-back-end/#post-1106338 Relevant Documentation: https://toolset.com/documentation/user-guides/types-custom-fields-conditional-display/ |
2 | 17 | 6 years, 2 months ago | ||
Updating past relationship code
Started by: Arrien
in: Toolset Professional Support
Problem: I would like to update to PHP 7 and upgrade to the new post relationships system. I have some custom code that may need to be updated. Solution: Make sure the cred_save_data hooks are formatted with all 4 parameters when necessary. The other code looks okay as long as you do not re-generate Forms code. Relevant Documentation: |
2 | 9 | 6 years, 2 months ago | ||
Two custom Toolset codes are not working together
Started by: Arrien in: Toolset Professional Support |
2 | 13 | 7 years, 3 months ago | ||
Custom post types generate their own post titles from 1 or 2 custom fields
1
2
Started by: Arrien in: Toolset Professional Support |
2 | 32 | 7 years, 3 months ago |