Title: Theme Switcher in plugin
Last modified: August 20, 2016

---

# Theme Switcher in plugin

 *  [markweb](https://wordpress.org/support/users/markweb/)
 * (@markweb)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/theme-switcher-in-plugin/)
 * Hi, I need to use a basic theme to get community events manager to work correctly
   with no errors, which isn’t a problem in the main because the link to it I have
   included the theme in the link so what the user gets a slimmed down version of
   the site just for adding events, which is fine just for that part of the process
   as once an event is created it shows fine within my default theme so all though
   its a work around the user thinks its nothing of it, what I would like to do 
   to improve on this is to add the theme switch to the community events plugin 
   code so that when ever the plugin was being used regardless of how the user got
   to my add events page they would view it in my dedicated events theme then once
   they leave the plugin return to the default theme.
 * The events code –
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   The maximum number of lines of code that you can post in these forums is **ten
   lines**. Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * to change the theme just with a URL I just simply use [http://mysite.co.uk/?wptheme=theme2](http://mysite.co.uk/?wptheme=theme2)
 * can this be added somewhere within the event plugin or do I need to add something
   from the theme switcher plugin code ?
 * Help with this is really appropriated and im guessing that there are loads of
   folks with a great plugin that conflict with there default theme that may be 
   able to make good use of a theme per plugin hack.
 * Many thanks in advance
 * Mark

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

 *  Thread Starter [markweb](https://wordpress.org/support/users/markweb/)
 * (@markweb)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/theme-switcher-in-plugin/#post-2803795)
 * woops sorry about that, I have placed the code in the paste bin
 *  Thread Starter [markweb](https://wordpress.org/support/users/markweb/)
 * (@markweb)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/theme-switcher-in-plugin/#post-2803796)
 * [http://pastebin.com/8MfAnr8s](http://pastebin.com/8MfAnr8s)

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

The topic ‘Theme Switcher in plugin’ is closed to new replies.

 * 2 replies
 * 1 participant
 * Last reply from: [markweb](https://wordpress.org/support/users/markweb/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/theme-switcher-in-plugin/#post-2803796)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
