Chris
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 |
---|---|---|---|---|---|
One-to-Many Relationship View Filter
Started by: Chris in: Toolset Professional Support |
2 | 4 | 4 years, 2 months ago | ||
Using a View as a shortcode attribute
Started by: Chris in: Toolset Professional Support |
2 | 6 | 4 years, 8 months ago | ||
Output Taxonomy ID
Started by: Chris in: Toolset Professional Support |
2 | 2 | 4 years, 9 months ago | ||
Adding Values Together
Started by: Chris in: Toolset Professional Support |
2 | 2 | 6 years, 6 months ago | ||
Add attributes to search elements
Started by: Chris in: Toolset Professional Support |
2 | 2 | 6 years, 7 months ago | ||
Flexslider Using Repeatable Fields
Started by: Chris
in: Toolset Professional Support
Problem: I would like to create a Flexslider using a repeating image field. Solution: Relevant Documentation: |
2 | 2 | 6 years, 7 months ago | ||
Drag & Drop Reorder
Started by: Chris
in: Toolset Professional Support
Problem: The issue here is that the user wanted to integrate the custom jquery for drag and drop on the frontend https://rubaxa.github.io/Sortable/#handle Solution: What I do recommend is that you can contact on of our registered contractors in order to get this one done for you. |
2 | 2 | 6 years, 7 months ago | ||
Create Time to Read
Started by: Chris
in: Toolset Professional Support
Problem: I would like to use a PHP function that counts the number of characters in custom fields, then use that number to calculate an estimated reading time. I'm using this post as a template: https://birchtree.me/blog/reading-time-wp-php/ Solution: function reading_time() { $content = get_post_field( 'post_content', $post->ID ); $content .= types_render_field('field_slug', array( "id"=>$post->ID) ); $content .= types_render_field('other_field_slug', array( "id"=>$post->ID) ); // copy and paste this line as needed for additional fields $word_count = str_word_count( strip_tags( $content ) ); ... code continues ... If the HTML applied to each field should be stripped, use the get_post_meta function instead: function reading_time() { $content = get_post_field( 'post_content', $post->ID ); $content .= get_post_meta($post->ID, 'wpcf-field_slug', true ); $content .= get_post_meta($post->ID, 'wpcf-other_field_slug', true ); // copy and paste this line as needed for additional fields $word_count = str_word_count( strip_tags( $content ) ); ... code continues ... Relevant Documentation: |
2 | 4 | 6 years, 8 months ago | ||
Get current post's author
Started by: Chris in: Toolset Professional Support |
2 | 2 | 6 years, 8 months ago | ||
Setting Parent that’s a different CPT
Started by: Chris
in: Toolset Professional Support
Problem: I have two post types, State and City. We have a top Page, then a child of State, then a child of City. Could you help me figure out how to get the "Parent" option to show the correct items? When I edit a State, "Parent" should show all Pages. Then, when I edit City, "Parent" should show all States. Currently, it is only showing its own CPT. Solution: Creating Post Type Relationships Relevant Documentation: https://toolset.com/documentation/user-guides/creating-post-type-relationships/ |
2 | 4 | 6 years, 10 months ago | ||
Filter CPT Listing via Widget
Started by: Chris in: Toolset Professional Support |
2 | 3 | 6 years, 12 months ago | ||
Random Image from Folder
Started by: Chris in: Toolset Professional Support |
2 | 3 | 6 years, 12 months ago | ||
Dropdown that shows all users
Started by: Chris in: Toolset Professional Support |
2 | 5 | 7 years ago | ||
Datatable view with editing
Started by: Chris in: Toolset Professional Support |
2 | 2 | 7 years ago | ||
The Date is changing and the conditionals are not working as expected
Started by: Chris in: Toolset Professional Support |
2 | 2 | 7 years, 3 months ago |