• I just recently installed the Theme Switcher Plugin and I’m a little confused right now.

    All of my pages call up header.php at the very top. I had just skinned my site (but found out that it didn’t work) and my header.php file has all the skin info. If I use the Theme Switcher to change themes (instead of using skinning), what should I put in the header.php file? Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Well, we don’t know anything about skinning. We don’t “skin” WP, we just use different themes… so nothing else is required in the header.php. BTW, Every theme has it’s own header.php!

    Thread Starter insoliloquy

    (@insoliloquy)

    Well, all of my pages call up “header.php” at the top, and in my header I have the link to my stylesheet. But since I’m using the theme switcher thing, the style sheets will be different for each theme. How should I do that? (I’m sorry if I’m missing something here, lol)

    But should I just get rid of my main header.php? Would all of my pages call up the right header though?

    If you are not using the standard theme system of WP – then I am clueless (and this forum cannot help you).

    Thread Starter insoliloquy

    (@insoliloquy)

    Okay, well thanks for helping!

    @insoliloquy,

    If you are using the theme-switcher plugin, you just have to put it under plugins and activate it.

    It takes care of the rest and you dont need to change the header.php file for that.

    the way it works is, it creates a small cookie on the visitor’s machine to store the theme that he selected.
    so when the page is loaded, if the plugin is activated, it comes into play and look for the ‘wptheme’ cookie in the request and then it calls that theme’s index.php for handling this request.

    while all others will be viewing your site, with whatever theme you have selected as the ‘current’ theme, only this person will see the site in the theme of his choice.

    Hope that helps.
    Thanks
    Sadish

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Theme Switcher question’ is closed to new replies.