Forums

Show a Different Theme for Facebook Iframe Application (7 posts)

  1. 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

  2. montymetzger
    Member
    Posted 1 year ago #

    Great question. Unfortunately I don't have an answer, but looking to find a solution as well.

  3. 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

  4. jeanaux
    Member
    Posted 1 year ago #

    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...

  5. stri8ed
    Member
    Posted 1 year ago #

    This should work.

    Use this link for your iframe url

    http://yourwordpressite.com/?preview=1&template=themename&stylesheet=themename

  6. jeanaux
    Member
    Posted 1 year ago #

    Awesome! That'll work! Cheers for the tip :-)

  7. jeanaux
    Member
    Posted 1 year ago #

    Unfortunately, it turns out this only works if you're signed in as an admin

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.