Theme switcher hack
This is a wordpress 1.5 hack which will allow you to put links to change themes on your wordpress/site.
I have not made this hack. I got it from here.
» Download this file. Unzip it and
save the theme-switcher.php on your desktop.
» Login to your ftp server and go to your wordpress folder > go to wp-content folder > go to plugins folder. Upload the
them-switcher.php file in the plugins folder.
» Login to your wordpress and click 'plugins'. In the plugins list, you will see the theme switcher plugin, click 'activate' next to it.
» To add the theme links to your themes, open the footer or sidebar.php files of all your themes and add the code below anywhere you
want to show the link list:
| <li>Themes: <?php wp_theme_switcher(); ?> </li> |
The code above will show the theme links as a list. To show the links in a drop down menu, uuse the following code:
| <?php wp_theme_switcher('dropdown'); ?> |
» Save and upload the footer or sidebar.php files of all the themes and over write the old ones.
You will now see the links to change theme on all your themes at the place where you added them. It is adviced that you use the drop down menu for theme links if you have a large number of themes or the list will look too bulk but then, its your wish. Good luck! « Back





