WordPress.org

Support

Support » Plugins and Hacks » Toolbar Theme Switcher » [Resolved] [Plugin: Toolbar Theme Switcher] Sample filter application

[Resolved] [Plugin: Toolbar Theme Switcher] Sample filter application

Viewing 1 replies (of 1 total)
  • The plugin doesn’t currently have settings page and tinkering opportunities are bit involved and take some basic dev skills.

    For example if you want to hide Twenty Ten from switcher you can add this snippet (to your theme’s functions.php file for example):

    add_filter( 'tts_allowed_themes', 'hide_twenty_ten' );
    
    function hide_twenty_ten( $themes ) {
    
    	unset( $themes['Twenty Ten'] );
    
    	return $themes;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Toolbar Theme Switcher] Sample filter application’ is closed to new replies.
Skip to toolbar