Use Multiple Themes By Query String
-
Hi David,
I got situation like I am using multiple themes in my php website and also integrate a wordpress blog. I have more than 5 themes and want to change every theme by just passing query string url.
The theme name passed in query string is should not be activate permanently just render when it passed by URL, otherwise load default theme which is activated.
for example: this is my site url: https://example.com
where I want to switching themes by passing query string url like: https://example.com?mytheme=red_theme
https://example.com?mytheme=blue_theme etc.Currently my activated theme in wordpress is like “blue_theme”, and my wordpress blog url is like: https://example.com/blog?mytheme=red_theme
e.g.: ‘red_theme’ should be display when we passed in url.
otherwise if I go through this url: https://example.com/blog
Then default theme (blue_theme) should be display.
I can adjust it in core php but i don’t know how to do with wordpress.
Here I found this wordpress plugin but I think doesn’t get idea how it works and how to use to reach our exact need.
Please more specify your answer because I am new to wordpress.
Thanks
Priyank
- The topic ‘Use Multiple Themes By Query String’ is closed to new replies.