Brad Tipper
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
Cet utilisateur n'a aucun sujet favori.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Ajax sorting not working on tables
Commencé par : Brad Tipper
dans : Toolset Professional Support
Problem: Solution: |
3 | 5 | Il y a 5 années et 10 mois | ||
Get date of child post as set by post relationship in functions php
Commencé par : Brad Tipper dans : Toolset Professional Support |
2 | 4 | Il y a 5 années et 11 mois | ||
Automatically set post parent in post form from URL parameter
1
2
Commencé par : Brad Tipper
dans : Toolset Professional Support
Problem: Solution: For example: add_action('cred_save_data','func_custom_post_title',15,2); function func_custom_post_title($post_id,$form_data) { if ($form_data['id']==243) { toolset_connect_posts('boat-safety-check',$_POST['@boat-safety-check_parent'], $post_id); } } You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
3 | 28 | Il y a 5 années et 11 mois | ||
Create dynamic dropdown of terms from custom taxonomy on CRED user forms
Commencé par : Brad Tipper dans : Toolset Professional Support |
2 | 2 | Il y a 5 années et 11 mois | ||
Need help building a view to display page heirachy
1
2
Commencé par : Brad Tipper dans : Toolset Professional Support |
2 | 16 | Il y a 6 années | ||
Need some advice on best setup for site with post relationships
Commencé par : Brad Tipper
dans : Toolset Professional Support
Problem: Solution: Read more about what's involved here: https://toolset.com/documentation/post-relationships/ |
2 | 5 | Il y a 6 années et 1 mois | ||
Check if user has viewed a specific post
Commencé par : Brad Tipper dans : Toolset Professional Support |
2 | 2 | Il y a 6 années et 2 mois | ||
Shortcode to count number of posts a user has made of a certain type
Commencé par : Brad Tipper
dans : Toolset Professional Support
Problem: I would like to show the number of posts a particular user has made of a specific post type. When I use Views, extra HTML is added that breaks my site's formatting. Solution: Use a custom shortcode to count the number of results in a View using get_view_query_results() and count() in PHP: // return the number of results in a View with no formatting add_shortcode( 'ts_view_num_results', 'ts_view_num_results_func'); function ts_view_num_results_func($atts) { $view_id = intval($atts['viewid']); $results = get_view_query_results( $view_id ); return count($results); } Relevant Documentation: https://codex.wordpress.org/Shortcode_API |
3 | 9 | Il y a 6 années et 6 mois | ||
Conditional display of CRED post fields based on taxonomy
Commencé par : Brad Tipper dans : Toolset Professional Support |
2 | 3 | Il y a 6 années et 9 mois | ||
Filter posts based on user's saved categories
Commencé par : Brad Tipper dans : Types Community Support |
2 | 2 | Il y a 6 années et 9 mois | ||
Need code to auto generate nice title
Commencé par : Brad Tipper dans : Toolset Professional Support |
2 | 6 | Il y a 6 années et 10 mois |