WordPress.org

Support

Support » Plugins and Hacks » Is it possible to use Alex’s style-switcher outsi

Is it possible to use Alex’s style-switcher outsi

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • did you remember to call the style cookie with the following?
    <?php wp_style_cookie(); ?>

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is it possible to use Alex’s style-switcher outsi’ is closed to new replies.