Chris
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Is it possible to use WP Filter Views widget with WooCommerce?
Commencé par : adamS-15 dans : Toolset Professional Support |
2 | 7 | Il y a 7 années |
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
One-to-Many Relationship View Filter
Commencé par : Chris dans : Toolset Professional Support |
2 | 4 | Il y a 3 années et 7 mois | ||
Using a View as a shortcode attribute
Commencé par : Chris dans : Toolset Professional Support |
2 | 6 | Il y a 4 années et 1 mois | ||
Output Taxonomy ID
Commencé par : Chris dans : Toolset Professional Support |
2 | 2 | Il y a 4 années et 2 mois | ||
Adding Values Together
Commencé par : Chris dans : Toolset Professional Support |
2 | 2 | Il y a 5 années et 11 mois | ||
Add attributes to search elements
Commencé par : Chris dans : Toolset Professional Support |
2 | 2 | Il y a 6 années | ||
Flexslider Using Repeatable Fields
Commencé par : Chris
dans : Toolset Professional Support
Problem: I would like to create a Flexslider using a repeating image field. Solution: Relevant Documentation: |
2 | 2 | Il y a 6 années | ||
Drag & Drop Reorder
Commencé par : Chris
dans : 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 | Il y a 6 années | ||
Create Time to Read
Commencé par : Chris
dans : 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 | Il y a 6 années et 1 mois | ||
Get current post's author
Commencé par : Chris dans : Toolset Professional Support |
2 | 2 | Il y a 6 années et 1 mois | ||
Setting Parent that’s a different CPT
Commencé par : Chris
dans : 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 | Il y a 6 années et 3 mois | ||
Filter CPT Listing via Widget
Commencé par : Chris dans : Toolset Professional Support |
2 | 3 | Il y a 6 années et 4 mois | ||
Random Image from Folder
Commencé par : Chris dans : Toolset Professional Support |
2 | 3 | Il y a 6 années et 4 mois | ||
Dropdown that shows all users
Commencé par : Chris dans : Toolset Professional Support |
2 | 5 | Il y a 6 années et 5 mois | ||
Datatable view with editing
Commencé par : Chris dans : Toolset Professional Support |
2 | 2 | Il y a 6 années et 5 mois | ||
The Date is changing and the conditionals are not working as expected
Commencé par : Chris dans : Toolset Professional Support |
2 | 2 | Il y a 6 années et 8 mois |