Anthony
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 |
---|---|---|---|---|---|
Fontawesome icon in Toolset button block in View does not display on front end
Started by: Anthony in: Toolset Professional Support |
2 | 12 | 3 years, 4 months ago | ||
Linking a post to a media attachment page
Started by: Anthony in: Toolset Professional Support |
2 | 6 | 3 years, 4 months ago | ||
How to filter a View by WooCommerce Featured Product
Started by: Anthony in: Toolset Professional Support |
2 | 3 | 3 years, 5 months ago | ||
Displaying the posts in a complex relationship between two CPTs
Started by: Anthony in: Toolset Professional Support |
2 | 9 | 3 years, 5 months ago | ||
Why can Date fields have two filter conditions but String fields cannot?
Started by: Anthony in: Toolset Professional Support |
2 | 4 | 3 years, 6 months ago | ||
Nested View inside View of related posts
Started by: Anthony
in: Toolset Professional Support
Problem: I have a View of related posts in an M2M relationship. In that View, I would like to display related posts from a different M2M relationship. Solution: Create a Content Template for the original related posts View and insert it in the View's loop using a shortcode. Then use the Block Editor to create the nested View of related posts from another M2M relationship. Example Content Template shortcode: [wpv-post-body view_template="your-template-slug" item="@relationship-slug.parent"] Relevant Documentation: |
3 | 5 | 3 years, 6 months ago | ||
Testing the value of checkbox in intermediate post for many-to-many relationship
Started by: Anthony
in: Toolset Professional Support
Problem: I would like to display a View of related posts in an M2M relationship. There is checkbox in the intermediary post type (in the relationship) and I would like to display only those related posts where the checkbox is unchecked. Solution: This requires some custom code, and it also requires that the View is configured to display the intermediary post type. Add the following code snippet to filter by an unchecked checkbox: add_filter( 'wpv_filter_query', 'unchecked_ints',99,3 ); function unchecked_ints( $query_args,$views_settings, $view_id) { global $post; $field_slug = 'release-artist-checked'; $views = array( 48324 ); /* "Collaborations" */ $ints_args = array( 'query_by_role' => 'child', 'role_to_return' => 'intermediary', 'limit' => 1000, 'offset' => 0, 'args' => [ 'meta_key' => 'wpcf-' . $field_slug, 'meta_value' => 1, 'meta_compare' => '=' ] ); $ints = toolset_get_related_posts( $post->ID, 'supporting-artists', $ints_args); // you should not need to edit below this line if ( in_array( $view_id, $views ) ){ $query_args['post__not_in'] = $ints; } return $query_args; } Relevant Documentation: |
2 | 13 | 3 years, 6 months ago | ||
How to use View iteration count inside Conditional to control display of Header
Started by: Anthony in: Toolset Professional Support |
2 | 5 | 3 years, 6 months ago | ||
Link to term archive page in Views Loop Item Template isn’t working
Started by: Anthony
in: Toolset Professional Support
Problem: In that template is a Heading block with Dynamic Heading Text set includes the display of a custom taxonomy (Instruments). In Field Options I have the Display Format 'Link to term archive page' selected, along with the Anchor Text 'Term name'. The Term name is displaying, but it's not an active link... Solution: This issue has been escalated, and there is a workaround with [wpv-post-taxonomy], for example: Relevant Documentation: |
2 | 3 | 3 years, 6 months ago | ||
I need to filter Views by alphabetic groups – A-L, M-R, and S-Z .
Started by: Anthony in: Toolset Professional Support |
2 | 5 | 3 years, 7 months ago | ||
Embedded video player has incorrect height when used within grid View
Started by: Anthony in: Toolset Professional Support |
2 | 3 | 3 years, 7 months ago | ||
Button to display PDF (URL stored in custom field) in new window
Started by: Anthony in: Toolset Professional Support |
2 | 10 | 3 years, 7 months ago | ||
‘Read More’ block not recognized in blog posts WordPress Archive View
Started by: Anthony
in: Toolset Professional Support
Problem: Solution: You can find the proposed solution in this case with the following reply: Relevant Documentation: |
2 | 11 | 3 years, 9 months ago | ||
responsive control of Limit (and Offset) in View block settings
Started by: Anthony
in: Toolset Professional Support
Problem: Solution: There is also a hook you can use to programmatically change the settings of a view. The wpv_view_settings hook. Check the example code on it. Relevant Documentation:https://toolset.com/documentation/programmer-reference/views-filters/#wpv_view_settings |
2 | 3 | 3 years, 9 months ago | ||
Source Post Title from Related Post Source returns 'no content' in View Loop
Started by: Anthony in: Toolset Professional Support |
2 | 5 | 3 years, 9 months ago |