Theme Switcher header issue
-
I’ve tried several ways of using the theme switcher, but I keep getting the same error.
Warning: Cannot modify header information – headers already sent by (output started at /home/.milkyheater/poffutt/paulaoffutt.com/blog/index.php:3) in /home/.milkyheater/poffutt/paulaoffutt.com/blog/wp-content/plugins/theme-switcher.php on line 37
Warning: Cannot modify header information – headers already sent by (output started at /home/.milkyheater/poffutt/paulaoffutt.com/blog/index.php:3) in /home/.milkyheater/poffutt/paulaoffutt.com/blog/wp-content/plugins/theme-switcher.php on line 39
My default is Gila and I used my insomnia last night to get about seven themes ready to go with a click but I get errors.
I *think* the line# changes. I also tried the one that’s in french but got different php errors.
I just now reinstalled the plugin and put the code mentioned in the instructions in my sidebar. Got the above mentioned errors.
{{{
Themes:
?php wp_theme_switcher(); ?
}}}
(took out the li part so it would show here with no problems)Changed the code to be the one mentioned in another thread, the one that is default in a lot of themes lately, but got the same errors.
<? php if (function_exists('wp_theme_switcher')) { ?>
<?php _e('Themes'); ?>
<?php wp_theme_switcher(); ?><? php } ?>
Most plugins I’ve gotten to work with little to no tweaking. But it seems all the really useful ones are the hardest. Damn that guy Murphy!
The topic ‘Theme Switcher header issue’ is closed to new replies.