242Studios.com
Member
Posted 1 year ago #
Hi,
I'd like to use an iframe application to display my wordpress website. However I want to display a different theme when wordpress is accessed through the iframe application on Facebook. Is there a way to switch the theme dynamically when it is accessed through an iframe? Alternatively, is it possible to have two different versions of my site with two different themes, perhaps in two different directories but running off of the same database? Thanks for any available help!
-=Chris
montymetzger
Member
Posted 1 year ago #
Great question. Unfortunately I don't have an answer, but looking to find a solution as well.
242Studios.com
Member
Posted 1 year ago #
I'm doing a TON of testing right now. So if I do figure something out, I'll be sure to post back here with the answer.
-=Chris
Hi! I'm trying to do the same thing and haven't had any luck searching the interwebs, did you ever find a solution for this?
I figured I would just be able to create another php page in my theme folder that accesses the same data, but I'm getting the distinct impression that wordpress was just never intended to be used in that way...
This should work.
Use this link for your iframe url
http://yourwordpressite.com/?preview=1&template=themename&stylesheet=themename
Awesome! That'll work! Cheers for the tip :-)
Unfortunately, it turns out this only works if you're signed in as an admin