Get exact URL on product category page after adding query parameters
-
Hello,
In the category page, after adding a param to the url to filter, for example: domain/product-category/uncategorized/?pwb-brand=abc, I realized that the product category page now becomes the brand taxonomy page. How can I get the correct url: domain/product-category/uncategorized as in the example above? I tried using
is_product_category()
andget_queried_object()
, but both methods do not work as expected.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.