WordPress.org

Ready to get started?Download WordPress

Forums

Need a page without sidebars displayed (2 posts)

  1. RussellSipe
    Member
    Posted 6 years ago #

    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?

  2. Adam Brown
    Member
    Posted 6 years ago #

    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 } ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags