L
L
Lord_Dantes2019-05-14 18:51:38
WordPress
Lord_Dantes, 2019-05-14 18:51:38

How to implement a separate template for one category of goods?

In general, I blunt something hard. I have a category of goods "Canopies" I specifically need to change the template for it. I mean I take category-ID.php but for some reason does not want to be created. I inserted and modified archive-product.php into the file in advance.
Tell me how to create a separate template for one category by ID or the like. Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pychev Anatoly, 2019-05-14
@pton

For the woo template, name the file taxonomy-product_cat-{Your slug}.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question