=== Toolbar Theme Switcher === Contributors: Rarst Tags: toolbar, themes, theme switcher, multisite Requires at least: 3.4 Tested up to: 3.5.1 Stable tag: trunk Adds toolbar menu that allows users to switch theme for themselves. == Description == Toolbar Theme Switcher description pretty much fits in its name. This plugin provides toolbar (previously known as admin bar) menu for users to quickly switch between available themes. Theme choice is individual for user, saved in cookies and doesn't affect current theme of the site. Plugin is multisite-aware - it will only list themes allowed for site and save choice for each site separately. [Development repository and issue tracker](https://bitbucket.org/Rarst/toolbar-theme-switcher/). == Installation == 1. Upload `toolbar-theme-switcher` folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the `Plugins` menu in WordPress == Frequently Asked Questions == = I switched to broken theme! = Clear the cookies. Don't do it again. = I don't want all themes to show... = Filter `tts_allowed_themes` and unset unwanted themes. Example code (removes Twenty Ten theme from the list): add_filter( 'tts_allowed_themes', 'hide_twenty_ten' ); function hide_twenty_ten( $themes ) { unset( $themes['Twenty Ten'] ); return $themes; } = Who can see and use the menu? = Users with `switch_themes` capability (administrators by default). Filter `tts_capability` (capability name) or `tts_can_switch_themes` (boolean) to customize. = I don't want theme name in toolbar? | I want something else in toolbar? = Filter `tts_root_title` to control what it says. == Changelog == = 1.2 = * _(internal)_ reworked to filter underlying options - more robust, should solve customizer issues and similar * _(localization)_ made translation-ready, added russian translation * _(compatibility)_ removed legacy checks, increased minimum required WordPress version to 3.4 = 1.1.4 = * _(bugfix)_ fixed crash in installations with multiple theme directories = 1.1.3 = * _(docs)_ added example code for removing theme from list to readme * _(bugfix)_ improved cookie name to better work on secure sites = 1.1.2 = * _(bugfix)_ changed order of function checks to prevent deprecated notices in admin = 1.1.1 = * _(bugfix)_ fixed fatal error on deprecated function in WP 3.4 #blamenacin * _(internal)_ switched to older `add_menu()` method for now (pre-3.3 compatibility) = 1.1 = * _(internal)_ code cleanup * _(enhancement)_ show current theme name in toolbar, props Leho Kraav * _(enhancement)_ added filter for root node title, props Leho Kraav = 1.0 = * Initial repository release.