Recently I needed to create a page in WordPress that didn’t have the sidebar on it. I still wanted the sidebar on all the other pages, just not that one (i.e. for an option or sales page).

It took me a while to find the solution, but the one I found works like a charm. Takes a bit of programming knowledge, but not too bad.

Here is a quick video on how to go about doing it and a custom.php to get you started.  Credit goes to Moses at wpthemesplugins.com for the solution.  My video just walks you through each step to make it a bit easier.

Click Here to watch the video tutorial at Evil Genius TV.

Sorry, I would embed the video tutorial here, but it is not allowed :)

In a nutshell, here are the steps:

1. Create  a custom.php file in your favorite text editor. I use Notepad ++

2. Add this code to the beginning of your custom.php file

<?php

/*
Template Name: custom
*/
?>

3. Copy the contents of your page.php file from your current theme.

4. Paste the code below what you just added to the custom.php

5. Find the code that says < ? php get_sidebar(); ? >  and delete it.

6. save custom.php

7. FTP custom.php to your current theme folder under wp-content>themes>(whatever theme you are using)

8. Create a new page.  Under Advanced options, choose Page Template > custom.

9. Thats it!

If it sounds complicated, it really isn’t.  In the video, I will walk you through it in about 5 minutes.

Evil Genius TV is the small business coaching and strategy arm of Evil Genius Interactive, a web and marketing development firm located in Gainesville,FL.
http://www.evilgeniustv.com
http://www.evilgeniusinteractive.com

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • email
  • NewsVine
  • StumbleUpon
  • Technorati
  • TwitThis

No related posts.