I have the following PHP statement that adds a sidebar (named page-header) to my site, except I want to modify it so that it EXCLUDES this particular sidebar from the homepage. Can anyone help modify to make the sidebar NOT show up on the home page? Thanks!
<?php /* Widgetized sidebar */ if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('page-header') ) : ?><?php endif; ?>
- The topic ‘conditional sidebar’ is closed to new replies.