Title: using a theme for a specific category
Last modified: August 18, 2016

---

# using a theme for a specific category

 *  [correodefelipe](https://wordpress.org/support/users/correodefelipe/)
 * (@correodefelipe)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/using-a-theme-for-a-specific-category/)
 * I just downloaded a very good and complex theme and now I want to use it for 
   a specific category. How can I do this without manipulating all the new theme?
 * I am looking for some function to use in my category-4.php in this way:
 * get_new_theme(‘my_new_theme_name’);
    ….
 * does it exists?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/using-a-theme-for-a-specific-category/#post-355133)
 * [http://codex.wordpress.org/Category_Templates](http://codex.wordpress.org/Category_Templates)
 *  Thread Starter [correodefelipe](https://wordpress.org/support/users/correodefelipe/)
 * (@correodefelipe)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/using-a-theme-for-a-specific-category/#post-355134)
 * Hi Viper,
 * I’ve read this allready a thousand times tough but I believe that’s not the answer.
 * Suppose you are using your default theme, but you want for your index.php?cat
   =4 page to use the classic theme that is in another folder in your themes directory.
   Then? how can you do that?
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/using-a-theme-for-a-specific-category/#post-355135)
 * By using the link I gave you.
 * You make a copy of it of the classic `category.php`, move it and any needed images/
   styles to your defualt theme folder, and then go from there by renaming it to`
   category-X.php`, etc.
 * Now of course you could probably do what you originally talked about via a plugin,
   but it’d require a fair amount of PHP to pull off. The [Theme Switcher plugin](http://boren.nu/archives/2004/10/13/theme-switcher-plugin/)
   would be a good place to start. Something like
 * `if (is_category('blah')) {
    /* Something based off Theme Switcher here, minus
   the cookie part */ }
 * would probably work.
 *  Thread Starter [correodefelipe](https://wordpress.org/support/users/correodefelipe/)
 * (@correodefelipe)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/using-a-theme-for-a-specific-category/#post-355139)
 * Thanks,
 * I’ve done it with the Theme Switcher, but now how can I modify it to make the
   new theme selected by default?
 * thanks again.
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/using-a-theme-for-a-specific-category/#post-355154)
 * That’s where the `is_category('blah')` part comes into play.
 * If it’s that category, then use the code from Theme Switcher that applies the
   theme.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘using a theme for a specific category’ is closed to new replies.

 * 5 replies
 * 2 participants
 * Last reply from: [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/using-a-theme-for-a-specific-category/#post-355154)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
