
Sebenzacash(@www-sebenza-cash-gmail-com)
4 Posts
Customers
Quote from Sebenzacash on October 18, 2020, 23:28
Hi I have exactly the same issue as described here https://pluginus.net/support/topic/issue-displaying-category/
I have used the short code attribute [woof taxonomies=product_cat:16] to show only a single gategory plus its children. However all the categories are still showing up.
I used Elementor created page with shortcode.
I tried the woof widget, but that also does not help.
Please help.
Kind regards
Hi I have exactly the same issue as described here https://pluginus.net/support/topic/issue-displaying-category/
I have used the short code attribute [woof taxonomies=product_cat:16] to show only a single gategory plus its children. However all the categories are still showing up.
I used Elementor created page with shortcode.
I tried the woof widget, but that also does not help.
Please help.
Kind regards

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on October 19, 2020, 12:29
Hello
The filter must be on the category page to show only child categories
taxonomies=product_cat:16 - this is pre-filtering by category
Hello
The filter must be on the category page to show only child categories
taxonomies=product_cat:16 - this is pre-filtering by category

Sebenzacash(@www-sebenza-cash-gmail-com)
4 PostsTopic Author
Customers
Quote from Sebenzacash on October 19, 2020, 14:30
Thank you. Unfortunately my theme does not allow me to edit the category page to my styling. I will see what I can do.
Thank you. Unfortunately my theme does not allow me to edit the category page to my styling. I will see what I can do.

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on October 20, 2020, 10:24
Hello
You can try to add this code to functions.php
add_action('wp_head',functions(){
if(is_page('PAGE_ID')){ //paste your page ID
$_GET['really_curr_tax']='16-product_cat';
}
});
Hello
You can try to add this code to functions.php
add_action('wp_head',functions(){
if(is_page('PAGE_ID')){ //paste your page ID
$_GET['really_curr_tax']='16-product_cat';
}
});