Can a category page template be applied to a static page?
-
Hello everyone
I would like to apply a category page template (category.php) to each static page which is directly linked from a menu. I have a reasonably good understanding of the template hierarchy, but cannot work out how the category.php file can be used to display the static pages directly associated with the menu items’ links.
I am aware that making a duplicate of category.php and renaming it page.php does it but I would rather use as few template files as possible.
If someone out there know how category.php can be used for the static pages, kindly share the how-to. Google searches have returned nothing helpful.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Can a category page template be applied to a static page?’ is closed to new replies.