2010-09-26, 18:48:30
Yeah you're right, Zegnåt.
A better solution would be enclosing the entire sidebar div in an if, like:
(Inserted first and last lines)
Anyway, it's not perfect. Something should also be done about the content's fixed width... (at least with GS's default theme)
A better solution would be enclosing the entire sidebar div in an if, like:
Code:
<?php if (return_page_slug()=='index') { ?>
<div id="sidebar">
<div class="featured">
<?php get_component('sidebar'); ?>
<div class="clear"></div>
</div>
</div><!-- end div#sidebar -->
<?php } ?>
(Inserted first and last lines)
Anyway, it's not perfect. Something should also be done about the content's fixed width... (at least with GS's default theme)