Main Category are showing all parent items and not the ones added to the Main
Started by: alexD-18
in: Toolset Professional Support
Quick solution available
Problem:
The issue here is that the user wanted to exclude the posts that are on the child term of the parent taxonomy being viewed.
Solution:
This can be done with the code below.
add_filter( 'parse_tax_query', 'exclude_child_term_posts' );
function exclude_child_term_posts( $query ) {
if (!is_admin() && $query->is_main_query() && $query->is_tax( 'categories' )) {
$query->tax_query->queries[0]['include_children'] = 0;
}
}
This code can be added to Toolset -> Settings -> Custom Code and esnure that it is activated. Replace 'categories' with the slug of your taxonomy.
2
11
4 years, 10 months ago
alexD-18
Social Links Conditional in loop on Profile Page
Started by: J S
in: Toolset Professional Support
2
6
4 years, 10 months ago
Waqar
invoke a view in block model
Started by: federicoA
in: Toolset Professional Support
2
7
4 years, 10 months ago
Waqar
Would like to report few bug/usability issues
Started by: smileBeda
in: Toolset Professional Support
2
4
4 years, 10 months ago
Shane
WPV-Condition for Checking if any terms are in a custom taxonomy
Started by: albertB-4
in: Toolset Professional Support
Quick solution available
Problem: I would like to display some text if a post has any taxonomy terms assigned.
Solution: Use a Toolset Conditional block to test whether or not the custom taxonomy is an empty value. Place the Fields and Text block inside the Conditional block.
Relevant Documentation:
https://toolset.com/course-lesson/using-toolset-conditional-block/
2
3
4 years, 10 months ago
albertB-4
Protect a page with a toolset (product) form
Started by: timv-3
in: Toolset Professional Support
2
10
4 years, 10 months ago
Jamal
Custom Search in Elementor PRO
Started by: katjaS-3
in: Toolset Professional Support
Quick solution available
2
16
4 years, 10 months ago
katjaS-3
How to create a filtered view within a post type content template
Started by: PaulS4783
in: Toolset Professional Support
2
7
4 years, 10 months ago
PaulS4783
Creating a CPT view, next attempt
Started by: svenA-3
in: Toolset Professional Support
2
13
4 years, 10 months ago
Christian Cox
View created doesn’t appear in the ‘View List’
Started by: danielM-34
in: Toolset Professional Support
Quick solution available
Problem: I would like to display a list of posts organized by taxonomy term. I understand I would need to first create a View of taxonomy terms, then create a nested View of posts filtered by taxonomy term. However, I cannot find my taxonomy View in the list of Views available to display with a Views block, and when I place the View of posts it does not work as expected.
Solution: You must place a taxonomy View in the block editor using a View shortcode, since taxonomy Views are not supported in the Views block. The post View must then be placed inside the loop of the taxonomy View using another View shortcode.
Relevant Documentation:
https://toolset.com/documentation/legacy-features/views-plugin/using-a-child-view-in-a-taxonomy-view-layout/
2
7
4 years, 10 months ago
danielM-34
Submit this form without reloading the page (use AJAX) not working
Started by: mikeB-14
in: Toolset Professional Support
2
6
4 years, 10 months ago
Shane
Translation of a view element
Started by: Franco Calcagni
in: Toolset Professional Support
2
2
4 years, 10 months ago
Jamal
Dynamic link button to relationship between post type
Started by: manuelR-11
in: Toolset Professional Support
Quick solution available
Problem: In the results of an archive of a parent post type, I would like to display buttons to link to each related child post.
Solution: Use a nested View of the child post type to display a button to each child post.
2
7
4 years, 10 months ago
manuelR-11
Border radius no funciona
Started by: mauricioH-2
in: Soporte profesional de Toolset
2
9
4 years, 10 months ago
mauricioH-2
Woocommerce Related Products Block does not contain any link to the product
Started by: Rob
in: Toolset Professional Support
2
2
4 years, 10 months ago
Jamal