Answer the question
In order to leave comments, you need to log in
Subcategories disappear on pagination pages in WooCommerce. What to do?
Hello.
I have only one problem with pagination pages, but I can’t do without them, so I want to ask about such a problem.
Page https://zastolami.ru/product-category/napolnenie-d... , at the top the list of subcategories of this category, I display through <?php woocommerce_product_subcategories(); ?>, go to the next page, namely https://zastolami.ru/product-category/napolnenie-d... , and there are no more subcategories. THOSE. Do not display non, namely EMPTY. How to solve this issue? Can a friend display subcategories?
Answer the question
In order to leave comments, you need to log in
https://docs.woocommerce.com/wc-apidocs/source-fun...
and check is_paged ()
respectively, it’s better not to show it, you can override it, in your theme, copy and throw out is_paged(), respectively, it will work on pagination pages, I don’t know what errors it will cause
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question