show archive template based on post category
-
ok, i hope this makes sense!
on “page 1”, i have a page template set to show all categories & posts, and have a custom sidebar.
on “page 2” i have a separate page template setup to show only posts from a certain category, and show a different custom sidebar.
problem is, when you click into a post on “page 2”, it shows the archive page from “page 1” including page 1’s sidebar.
basically what i’m trying to do is show a certain archive template based on the post category. is this possible?
thanks!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘show archive template based on post category’ is closed to new replies.