Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » FAQ - Atahualpa » Styling »

How do I create a No Sidebar page template?

Old Oct 25, 2010, 12:45 PM
lmilesw's Avatar
10,176 posts · Jul 2009
Central New York State USA
Make a copy of index.php and call it nosidebar.php
edit nosidebar.php and replace lines 1-5 with the following:
HTML Code:
Template Name: nosidebar
<?php // Do not delete these lines ?>
<?php     /* get all options: */
# error_reporting(-1);
include (TEMPLATEPATH . '/functions/bfa_get_options.php');
global $bfa_ata;

$left_col ="off";
$left_col2 = "off";
$right_col2 = "off";
$right_col = "off";
get_header(); ?>
save it and put it in the atahualpa theme folder (the folder that index.php is in)
Use the template on the page you want.

You could easily change OFF to ON for any of the sidebars and create other templates as needed.
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create a No Sidebar page template? lmilesw General 0 Oct 25, 2010 12:45 PM
Create a Page Template that displays Only One Page Menu Item treeplant Page & Category Menu Bars 0 Apr 20, 2010 02:41 AM
[SOLVED] how to create a page template? drongo Center area post/pages 15 Jan 1, 2010 01:37 PM
How do I create a new page template? JakeThePeg Page & Category Menu Bars 10 Sep 7, 2009 10:33 AM

All times are GMT -6. The time now is 01:53 AM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.