Viewing 1 replies (of 1 total)
  • Thread Starter billselak

    (@billselak)

    ok, I figured it out. So, if anyone else is trying to do this, here’s my solution:
    On page.php, I changed:
    <?php get_sidebar();; ?>
    to:
    <?php if(!is_page(‘Forum’)) get_sidebar();; ?>

    Then, there was a blank space (where the sidebar used to be). I created a div titled widecolumn with a width of 100%. Then, on page.php, I changed the original div (contentleft) to:
    <?php if(!is_page(‘Forum’)) { ?>
    <div id=”contentleft”>
    <?php } else { ?>
    <div id=”widecolumn”>
    <?php } ?>

    Yay!

Viewing 1 replies (of 1 total)
  • The topic ‘Get rid of sidebar on one page’ is closed to new replies.