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 » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Enabling sidebar for select pages


  #1  
Old May 3, 2009, 11:57 PM
guacamoly
 
3 posts · May 2009
Hi, I've turned off the left sidebar for the majority of the site I'm building but there are a few pages where I would like to turn it on.
Is there a way for me to do this.
Thanks a lot.
  #2  
Old May 4, 2009, 02:17 AM
guacamoly
 
3 posts · May 2009
my bad.. figured it out.
by the way.. and fyi: I have about 8 pages on my site and I wanted the left sidebar to appear only on one of them.
To have done thiis the provided way i would have had to type in the page id's of all 7 pages i don't want the sidebar on into the sidebar "do not include" config box.

i found an easier way .. i simply copied index.php and created a template for the page which would have the sidebar on. I went to the portion of code which figures out whether to enable the sidebars and commented it out.. (right after global $cols; global left_col; global $right_col
and simply typed in
$cols++; $left_col = "on";
$cols++; $right_col = "on";
turning on both sidebars.

i'm guessing this would make the page a little bit faster as well since it bypasses all the conditional logic.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie here. How do I place sidebar in pages? No side bars are shown in pages. xtrong Sidebars & Widgets 12 Jul 10, 2009 06:24 PM
How to select the page for cForms dpdoug Plugins & Atahualpa 2 Jun 9, 2009 08:22 AM
How to make the Pages display in sidebar, show only the Parent Main Pages Leoni Sidebars & Widgets 2 May 27, 2009 12:13 AM
Enabling Comments MichaelZ Comments, trackbacks & pings 1 Apr 23, 2009 04:29 PM
Using Page Template - where to select? Charlotte Excerpts, Read more, Pagination 1 Feb 28, 2009 01:49 PM


All times are GMT -6. The time now is 07:22 AM.


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