Is it possible to use Alex's style-switcher outsi (3 posts)

  1. theoretikaL
    Posted 12 years ago #

    I was planning on implementing Alex's style switcher throughout my site, not just on the blog page, so that the styles would be consistent throughout the site, and so you could change the style from any page (main, about, blog, gbook, etc.).
    I fiddled around for a while, even moving my-hacks.php and wp-style-switcher.php to the main folder, and edited the copied wp-style-switcher.php to point towards "/blog/wp-style" instead of just "wp-style."
    I get the list of styles to show up, however, no default style is loaded, and whenever I click on the link to change styles it brings me back to my blog page.
    Any help would be greatly appreciated, thanks.

  2. Anonymous
    Posted 12 years ago #

    did you remember to call the style cookie with the following?
    <?php wp_style_cookie(); ?>

  3. theoretikaL
    Posted 12 years ago #

    I have that in (the copied) my-hacks.php, do I need it anywhere else as well? It's not on my blog page, so I assumed I didn't need it on my main page as well.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.