Title: How to switch Theme via code
Last modified: August 19, 2016

---

# How to switch Theme via code

 *  [exportquality](https://wordpress.org/support/users/exportquality/)
 * (@exportquality)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/how-to-switch-theme-via-code/)
 * There is a way to switch themes via code with no plugins?
 * I have 2 templates for different languages and i would to know if there is a 
   way to add a link to switch between templates.
 * Thank you!

Viewing 1 replies (of 1 total)

 *  [Tom Lynch](https://wordpress.org/support/users/ctsttom/)
 * (@ctsttom)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/how-to-switch-theme-via-code/#post-1991652)
 * switch_theme($template, $stylesheet);
 * [http://codex.wordpress.org/Function_Reference/switch_theme](http://codex.wordpress.org/Function_Reference/switch_theme)

Viewing 1 replies (of 1 total)

The topic ‘How to switch Theme via code’ is closed to new replies.

## Tags

 * [Themes](https://wordpress.org/support/topic-tag/themes/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tom Lynch](https://wordpress.org/support/users/ctsttom/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/how-to-switch-theme-via-code/#post-1991652)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
