D
D
Denis99992021-06-29 16:26:25
WordPress
Denis9999, 2021-06-29 16:26:25

In the wordpress theme hierarchy, the taxonomy.php file is below index.php, how can this happen?

I open the category page, and first of all index.php is pulled up instead of taxonomy.php , I randomly found a solution - I renamed index.php to index2.php (it's still empty).

But how can it be that in the WordPress theme hierarchy the taxonomy.php file is below index.php when the category is opened? Because the rules say otherwise...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Zolin, 2021-06-29
@artzolin

For categories, taxonomy.php is not used at all
60db24205c359517953470.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question