geoffD
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 |
---|---|---|---|---|---|
Multiple site failure
Started by: geoffD in: Toolset Professional Support |
2 | 10 | 3 years, 7 months ago | ||
Error Header information
Started by: geoffD in: Toolset Professional Support |
2 | 4 | 3 years, 8 months ago | ||
My host has updated the server software i.e. php etc and now my Toolset site is
Started by: geoffD
in: Toolset Professional Support
Problem: Solution: |
2 | 3 | 4 years ago | ||
Video Recording
Started by: geoffD in: Toolset Professional Support |
2 | 2 | 4 years, 10 months ago | ||
Query Filter in Views for Blank field
1
2
3
Started by: geoffD
in: Toolset Professional Support
Problem: I would like to create a custom shortcode that finds all the "person" posts where the author is the current logged-in User, and filter those posts by two custom fields. One of the fields must equal "Yes" and the other field is either blank or does not exist. Solution: Use an associative array meta query to query by two custom fields: /* Check if cash gift has any messages */ function cash_gift_message_func( $atts ){ global $current_user; wp_get_current_user(); $all_posts = get_posts( array( 'numberposts' => -1, 'author' => $current_user->ID, 'post_type' => 'person', 'meta_query' => array( 'relation' => 'AND', 'message_clause' => array( 'relation' => 'OR', array( 'key' => 'wpcf-message-for-recipient', 'compare' => '!=', 'value' => '' ), array( 'key' => 'wpcf-message-for-recipient', 'compare' => 'NOT EXISTS' ) ), 'gift_clause' => array( 'key' => 'wpcf-cash-gift', 'compare' => '=', 'value' => 'Yes' ) ) ) ); $exec_number = count($all_posts); return $exec_number; } add_shortcode( 'cash_message_func', 'cash_gift_message_func' ); Relevant Documentation: |
3 | 32 | 4 years, 11 months ago | ||
Edit post link not working
Started by: geoffD in: Toolset Professional Support |
2 | 10 | 4 years, 11 months ago | ||
Find and change CPT field on form submission
Started by: geoffD in: Toolset Professional Support |
2 | 7 | 4 years, 11 months ago | ||
User sign-up not working
Started by: geoffD in: Toolset Professional Support |
2 | 11 | 4 years, 12 months ago | ||
Split: User sign-up not working – validate user form
Started by: geoffD in: Toolset Professional Support |
2 | 11 | 4 years, 12 months ago | ||
Shortcode not showing Link title correctly
Started by: geoffD in: Toolset Professional Support |
2 | 6 | 5 years ago | ||
Custom Hook with CPT
Started by: geoffD in: Toolset Professional Support |
2 | 14 | 5 years ago | ||
Styling Issue
Started by: geoffD in: Toolset Professional Support |
2 | 3 | 5 years ago | ||
Access Control of Users content
Started by: geoffD
in: Toolset Professional Support
Problem: If current page is not written by current logged in user then redirect to home page. Solution: There isn't such kind of built-in feature within Toolset Plugins, you can consider custom codes, for example: https://toolset.com/forums/topic/access-control-of-users-content/#post-1376053 Relevant Documentation: https://codex.wordpress.org/Function_Reference/get_post_field |
2 | 13 | 5 years ago | ||
CPT not working properly
Started by: geoffD in: Toolset Professional Support |
2 | 10 | 5 years ago | ||
Non Toolset relationship
1
2
Started by: geoffD in: Toolset Professional Support |
2 | 20 | 5 years, 1 month ago |