WordPress.org

Support

Support » Themes and Templates » Need a page without sidebars displayed

Need a page without sidebars displayed

  • RussellSipe

    @russellsipe

    I have embedded a google calendar into a page. The calendar overlaps into the sidebar. How can I create a page that excludes the sidebars so that the calendar can display correctly?

Viewing 1 replies (of 1 total)
  • Adam Brown

    @adamrbrown

    Conditional Tags are what you want. Probably is_page() is the one you should pay attention to.

    Go into sidebar.php. At the beginning:

    <?php if (!is_page()){ ?>

    at the end

    <?php } ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Need a page without sidebars displayed’ is closed to new replies.
Skip to toolbar