Have you ever wanted to create a page that uses the full width of your site without sidebars? This tutorial will take you through the proper steps needed to make that happen.
- Create a page called page-nosidebar.php
- Open and copy all the code from your page.php and paste it in page-nosidebar.php
- Place the following code to the very top of your new page: <?php /* Template Name: No Sidebars */ ?>
- Locate and delete the get_sidebar call
- Upload page-nosidebar.php to the root of your theme
Now when you create a page, you will have an added template option under "Page Attributes" labed: No Sidebars.