WordPress.org

Ready to get started?Download WordPress

Forums

Removing the sidebar on extra page (2 posts)

  1. dustin0
    Member
    Posted 6 years ago #

    I have a page where I have the google search results show however the sidebar gets in the way. I only want to sidebar gone on that page I looked around and I found the other pages use <?php get_sidebar(); ?> to get the sidebar so I tried
    <?php kill_sidebar(); ?> but that did not work. I can not delete the sidebar because I need it. It would be helpful if I could just remove it from that one page.
    -Dustin

  2. iridiax
    Member
    Posted 6 years ago #

    Create a page template without the sidebar for that page.

Topic Closed

This topic has been closed to new replies.

About this Topic