WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

K2 Style Switcher

This WordPress plugin allows site visitors to change the active style in the K2 theme.

Do I Need To Make Any Changes to K2?

No, the K2 Style Switcher is completely self contained, no changes are required to the K2 core files

What Is The Difference Between A Base Style And A Selectable Style?

Base styles are activated on the K2 admin panel, these styles are applied to the site in addition to either the default selectable style or one that the site visitor has chosen. Base styles are intended to be used to add any snippets of CSS that should be loaded in all cases, thus saving the administrator from having to add these CSS snippets to each of the selectable styles.

Selectable styles are activated on the K2 Style Switcher admin panel, these are the styles that the site visitors can choose from. The default selectable style chosen on the K2 Style Switcher admin panel is applied to the site before the site visitor chooses a different selectable style. Note that a K2 style cannot be both a base style and a selectable style at once. If it is chosen as a base style on the K2 admin panel then it will disappear from the K2 Style Switcher admin panel.

Why Can't I See the K2 Style Switcher Menu Under 'Appearance' In The Admin Area?

If K2 is not the active theme then the plugin does not instantiate itself and will not appear in the administration area or on the site. Make sure that K2 is the active theme.

When a Style Is Specified Using a URL Parameter Is It Set As The Current Style For The Whole Site?

Yes. When the page loads the selected style is stored in the PHP session variables as if the user had selected it using the style picker.

When a Style Is Specified Using a Custom Field Is It Set As The Current Style For The Whole Site?

No. The style specified in the custom field will only be used for the post or page that the custom field is set for. The style for the rest of the site will be selected using the normal logic.

Why Isn't XYZ Working?

The K2 Style Switcher relies on various options set by K2. For it to function correctly please make sure that the latest versions of K2 and WordPress are installed. If you are still having problems then you can ask questions, leave comments or find more information at the plugin's homepage: K2 Style Switcher

I want to help with development of this Plugin!

The project is now hosted on github.com. Just fork the project and send me a pull request.

New to git?

Requires: 2.8 or higher
Compatible up to: 2.9.2
Last Updated: 2010-6-15
Downloads: 3,536

Ratings

4 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
0,2,0
0,1,0