monkeypunch3
Member
Posted 1 year ago #
Is there a way that I can show an alternative theme to some visitors? For example, say if someone visits my site with a mobile device I want to show a mobile theme.
In more detail, specifically, I'd like to be able to show this alternative theme based on a URL parameter,
http://www.site.com/blog/?android=1
http://www.site.com/blog/?iphone=1
http://www.site.com/blog/?ipad=1
Thank you
I found this post with code and there is also a WordPress plugin.
This worked on Localhost using a category, I wanted to use it to load a blog in a Facebook Fanpage IFrame, but this loses the parent URL.
It will load the first page with the swapped theme but the match string then goes out of shape.
It might be better just to use multi-site with different themes.
HTH
David
monkeypunch3
Member
Posted 1 year ago #
Here is another mobile plugin that might be better, although it has not been updated to WordPress 3xx
HTH
David