torontobroad
Forum Replies Created
-
Forum: Themes and Templates
In reply to: I can’t remove the theme codeSorry, I’ve revised that – so the post without the regular theme code in it, and only the dropdown code in it, is now at
https://www.torontoblog.com/blog/indextest.php and if you go to https://www.torontoblog.com/blog you can see that it works as long as the two codes for themes are in it.Crap, that’s not working for indextest now either, it’s telling me, ‘Parse error: parse error, unexpected ‘}’ in /mnt/web_m/d46/s20/b024d5f9/www/blog/indextest.php on line 66′ but there’s no ‘ on line 66.
Forum: Themes and Templates
In reply to: I can’t remove the theme codeok, I posted the code there, after taking out the regular theme code and leaving in the dropdown theme code.
I logged it as name: torontobroad, and you can see it not showing up at https://www.torontobroad.com/blog.
That’s a neat little function.
Forum: Themes and Templates
In reply to: I can’t remove the theme codeThis is really maddening. I don’t see any mistakes when I view the source, and of course the page validates.
But what could cause the page to disappear as soon as I remove the code for the theme switcher?
I can move it up to the top of my sidebar and it works, and the dropdown switcher also shows up.
But as soon as I take out the original list, without removing any extranneous code, nothing shows.
Forum: Themes and Templates
In reply to: I can’t remove the theme codeThanks, Kafka, but I have removed all of the code above, and tried to leave in just the code (almost the same) with the dropdown themes only, and then nothing shows up.
Is there something I’m supposed to leave in?
How come nothing shows up if I only put in the ‘<?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>’ code? Having that code only, makes everything disappear unless I’ve got both the regular theme list and the dropdown list?