WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Removing sidebars on one Page, possible? (3 posts)

  1. Spiderfarmer
    Member
    Posted 6 years ago #

    Hiya gang,

    I just got my blog up and running using the bluelily theme (which is gorgeous!).

    I wanted to have a Page with an inline frame that had an Amazon store. But the sidebars are cutting off the inline frame.

    Is there any way to turn off the sidebars for just one Page?

  2. Joni
    Member
    Posted 6 years ago #

    Create a new page template based on the existing one, name it page_store.php. Put this code at the top:

    <?php
    /*
    Template Name: Amazon Store
    */
    ?>

    Then find the call to the sidebar and delete it. Save this new page and upload it to the themes directory with the rest of your theme's templates.

    Then when you go to create a new Page, under Page Template, you should see a dropdown that says "Amazon Store" (or whatever you decide to call it).

  3. Spiderfarmer
    Member
    Posted 6 years ago #

    How fabulous are you?! Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic