Multiple themes: How to divert single.php to different category themes?
-
Background: I am re-designing the default theme (Kubrick) in WP 2.2 as a CMS. It has 9 primary categories and over 200 (sub-)categories.
To aid in navigation, each primary category has its own, color-coordinated, header.php and sidebar.php. Consequently, I have 9 header.php files and 9 sidebar.php files. Site thus far is available at: https://www.growandknow.com . The bulk of the content will be Posts, due to the need of the categories.
Question: I would like single.php to include the sidebar and for single.php to display the appropriate header and sidebar from one of the nine primary categories.
How is that done?
It wasn’t too difficult to figure out how to divert users to 1-of-the-9 category.php files, but I have no clue on where/how the single.php files are called for, and how to tie the various category themes to single.php.
- The topic ‘Multiple themes: How to divert single.php to different category themes?’ is closed to new replies.