I know for running multiple wordpress styles at ounce. This can be a positive thing to construct right into a wordpress wordpress plugin, if at all possible. Company, I would undertake this type of task whether it is not absurdly hard.
This is the way I view it working: Current "set" theme is obtainable here: "world wide web.foo.com/" Second theme accessible here: "world wide web.foo.com/index.php?set_theme=theme2&lifier" Third theme accessible here: "world wide web.foo.com/index.php?set_theme=THEME_Title_HERE&lifier" etc...
This is the way I think of the wordpress plugin code searching/working:
if(isset($_GET['set_theme']))washed($_GET['set_theme']) if($loadme is available) else as always, as though this wordpress plugin does not exist else as always, as though this wordpress plugin does not exist
Not to mention, all of the links would need to ad ?set_theme=FOOBAR&lifier
So, my primary questions are:
- Where and how does Wordpress choose the present theme?
- How/where can you ad this to change internal links-
- Are you aware associated with a good websites to suggest me within the right direction regarding steps to make Wordpress plug ins?
You may want to consider the Theme Switcher wordpress plugin to determine how that achieves this - should provide you with ideas.
Don't actually need a wordpress plugin, just add this to functions.php:
function theme_switcher() title = ‘template’ OR option_title = ‘stylesheet’ OR option_title = ‘current_theme’” $wpdb->query($query) add_action('wp_head','switchTheme')
mywebsite.com/?theme=myNewTheme to change them
Found a wordpress plugin which was 98% of how there. Wordpress Theme Switcher Reloaded.
Just transformed the ts_get_theme() function the following:
function ts_get_theme() else