WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] One website Multiple Themes (4 posts)

  1. phillbooth
    Member
    Posted 3 years ago #

    Hi is it possible to have a different theme on the same instillation of wordpress, the pages structures and functions are so different it cant be the same theme unfortunately.

    I figured I could use if (strrpos("myfolder",$_SERVER["REQUEST_URI"])) to identify a folder than needed a different theme applied but where do I change the variables?

  2. jonradio
    Member
    Posted 3 years ago #

    You could use WordPress MU. But, if that separates your web sites too much, the only other solution that I can think of is very awkward, and might not even work: combine two Themes into one by having multiple template files that call different headers and footers, etc. Then, you would choose which template file (i.e. - which theme) for each page as you create it.

    Everything I've seen says that WordPress was built with the concept of one web site (and one installation of non-MU WordPress), one Theme.

  3. phillbooth
    Member
    Posted 3 years ago #

    I found a solution by downloading "Motif WordPress Theme Switcher" plugin and changing the plugin.php file code so that instead of time it picked up the "myfolder" in the URL.

    Thanks for you help

  4. jonradio
    Member
    Posted 3 years ago #

    Learn something every day! At least, I do. Thanks for providing today's item for me.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.