I read that it is possible to place alternative header into woocommerce pages using get_header('shop');
in product-archives.php template in my custom theme. In order to make it work I need to make copy of header.php file and rename it to header-shop.php. It should be also located in same folder as header.php file.
Unfortunately I can’t get this to work.
Anything I am missing if somebody notices that would be great help.
2 comments
Comments are closed.
You can have a work around.
An Example Snippet:
Even you can load header-shop.php with the PHP function include_once()