Ticket #1458 (closed enhancement: wontfix)
Add support for Theme Switcher plugin in the default templates
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | lowest | Milestone: | |
| Component: | Template | Version: | 1.5.1.2 |
| Severity: | normal | Keywords: | theme switcher |
| Cc: |
Description
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
Change History
chrisdolan — 7 years ago
-
attachment
theme_switch_sidebar.patch
added
comment:1
markjaquith — 7 years ago
- Status changed from new to closed
- Resolution set to wontfix
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
comment:2
markjaquith — 7 years ago
Example:
<?php
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.

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