Answer the question
In order to leave comments, you need to log in
How to override default search pattern?
In general, there is a standard search.php template file
. for standard wordpress blog posts on the page, there is only one search, but how to make the search for products have a different markup?
Let's say in woocommerce:
1. For categories, one template - content-product-cat.php
2. For the product itself - content-single-product.php
But for the search page, you can somehow determine that it is products that are being searched, and not entries?
Maybe it can be determined by taxonomy or post_type ?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question