Brad Tipper
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
This user has no favorite topics.
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
Ajax sorting not working on tables
Gestartet von: Brad Tipper
in: Toolset Professional Support
Problem: Solution: |
3 | 5 | vor 6 Jahren, 5 Monaten | ||
Get date of child post as set by post relationship in functions php
Gestartet von: Brad Tipper in: Toolset Professional Support |
2 | 4 | vor 6 Jahren, 6 Monaten | ||
Automatically set post parent in post form from URL parameter
1
2
Gestartet von: Brad Tipper
in: 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 | vor 6 Jahren, 6 Monaten | ||
Create dynamic dropdown of terms from custom taxonomy on CRED user forms
Gestartet von: Brad Tipper in: Toolset Professional Support |
2 | 2 | vor 6 Jahren, 6 Monaten | ||
Need help building a view to display page heirachy
1
2
Gestartet von: Brad Tipper in: Toolset Professional Support |
2 | 16 | vor 6 Jahren, 7 Monaten | ||
Need some advice on best setup for site with post relationships
Gestartet von: Brad Tipper
in: Toolset Professional Support
Problem: Solution: Read more about what's involved here: https://toolset.com/documentation/post-relationships/ |
2 | 5 | vor 6 Jahren, 8 Monaten | ||
Check if user has viewed a specific post
Gestartet von: Brad Tipper in: Toolset Professional Support |
2 | 2 | vor 6 Jahren, 10 Monaten | ||
Shortcode to count number of posts a user has made of a certain type
Gestartet von: Brad Tipper
in: 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 | vor 7 Jahren, 1 Monat | ||
Filter posts based on user's saved categories
Gestartet von: Brad Tipper in: Types Community Support |
2 | 2 | vor 7 Jahren, 4 Monaten |