WordPress.org

Forums

[resolved] How do I suppress the sidebar in the Stripey theme on one page only? (3 posts)

  1. BillMc
    Member
    Posted 5 years ago #

    Can anyone who is using Stripey tell me now to suppress the sidebar on just one of the pages? The sidebar call is not in the page.php file; it's in the footer file. I want to do this for an Amazon aStore page. I suspect the fix may be theme specific.

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Try:

    <?php if( !is_page('Page Name') ) get_sidebar();?>

  3. BillMc
    Member
    Posted 5 years ago #

    Thanks esmi. That works great. I still need to get rid of a search box but I can take the same approach.

    Thanks agai

Topic Closed

This topic has been closed to new replies.

About this Topic