Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#1458 closed enhancement (wontfix)

Add support for Theme Switcher plugin in the default templates

Reported by: chrisdolan's profile chrisdolan Owned by:
Milestone: Priority: lowest
Severity: normal Version:
Component: Template Keywords: theme switcher
Focuses: Cc:


The attached patch adds conditional sections the sidebar to show the available themes, via the Theme Switcher plugin. If that plugin is not active, the theme list is omitted.

Attachments (1)

theme_switch_sidebar.patch (876 bytes) - added by chrisdolan 19 years ago.
Addition to themes/*/sidebar.php to add Theme Switcher support

Download all attachments as: .zip

Change History (3)

19 years ago

Addition to themes/*/sidebar.php to add Theme Switcher support

#1 @markjaquith
19 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

There is a 'wp_meta' hook that the default themes have. You can use this hook to echo out a <li></li> containing the switcher code. Hooks are our friend! :-D

#2 @markjaquith
19 years ago



function show_theme_switch_code() {
echo out the <li> [theme switcher] </li>

add_action('wp_meta', 'show_theme_switch_code');


Note: See TracTickets for help on using tickets.