Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

How do I create a No Sidebar page template?


  #1  
Old Oct 25, 2010, 12:45 PM
lmilesw's Avatar
lmilesw
 
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:
<?php
/*
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.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a template for a static homepage RichardG Forum How-To 10 Sep 15, 2010 04:49 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 09:07 AM.


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