I’ve read http://codex.wordpress.org/Category_Templates, which tells you how to change your index.php for each category. But I want to load a whole different theme directory in for my site when a particular category is viewed.
So for example, if I go to:
http://www.mysite.com/mycategory/
It will load a separate theme.
Is this possible?
4 Answers
I think what would work best for your case is making use of the WordPress template hierarchy.
You can actually just create a custom template file in your theme folder named category-{slug}.php to get a custom look for that category.
Example:
If your category was ‘Dogs’ and the slug you set for it was ‘dog’, the template file loaded for that category would be named category-dog.php, otherwise it falls back to category.php.
Codex Link:
http://codex.wordpress.org/Template_Hierarchy