Anthony
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 |
---|---|---|---|---|---|
Fontawesome icon in Toolset button block in View does not display on front end
Gestartet von: Anthony in: Toolset Professional Support |
2 | 12 | vor 3 Jahren, 3 Monaten | ||
Linking a post to a media attachment page
Gestartet von: Anthony in: Toolset Professional Support |
2 | 6 | vor 3 Jahren, 3 Monaten | ||
How to filter a View by WooCommerce Featured Product
Gestartet von: Anthony in: Toolset Professional Support |
2 | 3 | vor 3 Jahren, 4 Monaten | ||
Displaying the posts in a complex relationship between two CPTs
Gestartet von: Anthony in: Toolset Professional Support |
2 | 9 | vor 3 Jahren, 4 Monaten | ||
Why can Date fields have two filter conditions but String fields cannot?
Gestartet von: Anthony in: Toolset Professional Support |
2 | 4 | vor 3 Jahren, 5 Monaten | ||
Nested View inside View of related posts
Gestartet von: 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 | vor 3 Jahren, 5 Monaten | ||
Testing the value of checkbox in intermediate post for many-to-many relationship
Gestartet von: 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 | vor 3 Jahren, 5 Monaten | ||
How to use View iteration count inside Conditional to control display of Header
Gestartet von: Anthony in: Toolset Professional Support |
2 | 5 | vor 3 Jahren, 5 Monaten | ||
Link to term archive page in Views Loop Item Template isn’t working
Gestartet von: 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 | vor 3 Jahren, 6 Monaten | ||
I need to filter Views by alphabetic groups – A-L, M-R, and S-Z .
Gestartet von: Anthony in: Toolset Professional Support |
2 | 5 | vor 3 Jahren, 6 Monaten | ||
Embedded video player has incorrect height when used within grid View
Gestartet von: Anthony in: Toolset Professional Support |
2 | 3 | vor 3 Jahren, 6 Monaten | ||
Button to display PDF (URL stored in custom field) in new window
Gestartet von: Anthony in: Toolset Professional Support |
2 | 10 | vor 3 Jahren, 7 Monaten | ||
‚Read More‘ block not recognized in blog posts WordPress Archive View
Gestartet von: Anthony
in: Toolset Professional Support
Problem: Solution: You can find the proposed solution in this case with the following reply: Relevant Documentation: |
2 | 11 | vor 3 Jahren, 8 Monaten | ||
responsive control of Limit (and Offset) in View block settings
Gestartet von: 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 | vor 3 Jahren, 8 Monaten | ||
Source Post Title from Related Post Source returns 'no content' in View Loop
Gestartet von: Anthony in: Toolset Professional Support |
2 | 5 | vor 3 Jahren, 8 Monaten |