julieP
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 |
---|---|---|---|---|---|
Types 3.3.11
Started by: julieP in: Toolset Professional Support |
3 | 4 | 4 years, 4 months ago | ||
Media Fields & Uploads
1
2
Started by: julieP in: Toolset Professional Support |
2 | 17 | 4 years, 4 months ago | ||
Capabilities
Started by: julieP in: Toolset Professional Support |
2 | 5 | 4 years, 5 months ago | ||
The Forum (again)
Started by: julieP in: Toolset Professional Support |
3 | 7 | 4 years, 5 months ago | ||
Views Module – Legacy plugin or not???
Started by: julieP in: Toolset Professional Support |
2 | 7 | 4 years, 5 months ago | ||
Multiple CRED Forms on Same Page
Started by: julieP in: Toolset Professional Support |
2 | 4 | 4 years, 6 months ago | ||
The Forum
Started by: julieP in: Toolset Professional Support |
4 | 16 | 4 years, 6 months ago | ||
Custom Date Fields & CRED Expiry Field
Started by: julieP
in: Toolset Professional Support
Problem: Even though the post expiration timestamp in the database is identical to a custom field timestamp in the database, they are displayed on the front-end as different times. Solution: Custom fields are assumed to be entered as GMT, and will be displayed as GMT. Post expiration is assumed to be entered as local time, and will be displayed as local time. Unfortunately there is no simple workaround right now. |
2 | 5 | 4 years, 6 months ago | ||
CRED Forms & Accessibility (WCAG)
Started by: julieP in: Toolset Professional Support |
2 | 7 | 4 years, 6 months ago | ||
CRED Redirects
1
2
3
Started by: julieP in: Toolset Professional Support |
4 | 36 | 4 years, 8 months ago | ||
Related Posts Function
Started by: julieP
in: Toolset Professional Support
Problem: I am trying to use a meta_query with the post relationships API toolset_get_related_posts, but it doesn't seem to be filtering as expected. Solution: Some complex meta_queries, like using "IN" or "AND" with more than one term, fail with the post relationships API. Instead, you should use a standard WP_Query and add the toolset_relationships clause: $args = array( 'numberposts' => -1, 'post_type' => 'child-post-type-slug', 'orderby' => 'post_date', 'order' => 'DESC', 'meta_query' => array( 'relation' => 'AND', array( 'key' => 'wpcf-colour', 'value' => 'Red', 'compare' => '=' ), array( 'key' => 'wpcf-description', 'value' => 'Ball', 'compare' => '=' ) ), 'toolset_relationships' => array( 'role' => 'child', 'related_to' => $post_id, 'relationship' => 'relationship-slug' ), ); $child_query = new WP_Query( $args ); |
2 | 3 | 4 years, 8 months ago | ||
Maps & Convert Cache
Started by: julieP in: Toolset Professional Support |
2 | 3 | 4 years, 8 months ago | ||
Views & Clean Cache
Started by: julieP
in: Toolset Professional Support
Problem: It seems like the new caching system will require manual intervention to update the cache any time content changes. Solution: An individual View's cache is invalidated any time a post that could appear in the View results is added or edited. Manual intervention is not required here. Relevant Documentation: |
2 | 3 | 4 years, 8 months ago | ||
For Beda please (re-opening previous ticket)
Started by: julieP in: Toolset Professional Support |
2 | 3 | 4 years, 8 months ago | ||
How to specify Post status to get posts with toolset_get_related_post question
Started by: julieP
in: Toolset Professional Support
Problem: Solution: You should pass an array of post status values or a string with one or more statuses separated by commas. Example: $role_name_to_return = '';//parent or child $args = array();// see args array - Additional query arguments. $post_status = 'publish,draft';//you can only use those from https://developer.wordpress.org/reference/functions/get_post_statuses/ or passed to toolset_accepted_post_statuses_for_api $writer = toolset_get_related_post( $post_id, array( 'one-side', 'other-side' ), $role_name_to_return, $args, $post_status ); Relevant Documentation: https://developer.wordpress.org/reference/functions/get_post_statuses/ |
3 | 6 | 4 years, 8 months ago |