Category template from page link
-
I made a category page, category-5.php using the following steps,
copy index.php and renamed as category-5.php
how can i have a page link point to that without hard coding the link?ie;
i have a page called my stuff, and a category called my stuff (category 5), when someone clicks on the page link in my menu i want it to show only the items from category my stuffi tried setting the page template as category-5 (i added the php block to the top of the page that identifies page template)
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Category template from page link’ is closed to new replies.