I can’t remove the theme code
-
I wanted to use the dropdown theme switcher and it works fine – as long as I also keep the list of themes there too.
If I remove the
<?php if (function_exists('wp_theme_switcher')) { ?>
<div class="sidebox">
<div class="boxhead">
<li><h3><?php _e('Themes'); ?></h3></div>
<div class="boxbody">
<?php wp_theme_switcher(); ?>
</div>
</li>
</div>
All of a sudden nothing shows up at all, not the sidebar, or the content, just the header.
I don’t want both of these in the sidebar, just the dropdown one.
Any reason why I can’t delete the above code and keep just
‘<?php if (function_exists(‘wp_theme_switcher’)) { ?>
<div class=”sidebox”><div class=”boxhead”><h3><?php _e(‘Themes’); ?></h3></div>
<div class=”boxbody”><?php wp_theme_switcher(‘dropdown’); ?></div>’Any help?
Oh, and since I’m here, can anyone tell me what the ‘<?php } ?>’ code is? There are two of them in the bottom of my sidebar page.
- The topic ‘I can’t remove the theme code’ is closed to new replies.