category.php template
-
Dear all, for a child theme I need to add a “category” page custom template.
My changes will not be about way to categorize posts or taxonomy or else, but only in html page design (I have just to add some html content to the body).
So I assume I don’t need to work on “category.php” (which are in WP-includes) but on “archive.php”: correct? (please kindly confirm).
If my above deduction is correct, the job is easy because archive.php is already in parent theme and I would replace a copy in my child.
But just in case I need to change also category.php (f.e. “category-35.php”): where should I add it? These files are only in “WP-includes” but not in “WP-content/themes” … could I add in child theme under the folder “template-parts”, or where?
Thank you.
Mauro
- The topic ‘category.php template’ is closed to new replies.