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 »

How to configure different sidebars to pages


 
Prev Previous Post   Next Post Next
  #1  
Old Jun 30, 2010, 11:51 PM
Stingraynut
 
24 posts · Apr 2010
Cairns Australia
How to configure different sidebars to pages

The 'exclude sidebar from pages' option is not working for me.

I want different left, inner left, right and inner right sidebars on different pages.

I'm using a custom home page template called 'Landing' which diverts on clicking the menu to the page selected in the menu -

Quote:
ATAHUALPA different headers on different pages

Make a page template FROM INDEX.PHP - landing php

FROM THE TOP, REPLACE THIS ---------------------------------------------


<?php /* get all options: */
include (TEMPLATEPATH . '/functions/bfa_get_options.php');
get_header(); ?>



WITH THIS - (alter to suit)---------------------------------------------



<?php
/*
Template Name: Landing
*/
?>



<?php /* get all options: */
include (TEMPLATEPATH . '/functions/bfa_get_options.php');





if (is_page('support')) {include(TEMPLATEPATH . '/support.php');}

elseif(is_page('home')) {include(TEMPLATEPATH . '/header_front.php');}

elseif(is_page('blog')) {include(TEMPLATEPATH . '/blog_header.php');}

elseif(is_page('contact')) {include(TEMPLATEPATH . '/contact_header.php');}

else {include (TEMPLATEPATH . '/header.php');}

?>
Then each custom page, like 'support' is altered, but it's only for the header - I replace this -
Quote:
REPLACE THIS ( ABOUT LINE 43) ----------------------------------
<!-- Header -->
<td id="header" colspan="<?php echo $bfa_ata['cols']; ?>">


<?php bfa_header_config($bfa_ata['configure_header']); ?>




</td>
<!-- / Header -->
with some code, text and images but that shouldn't stop the sidebars from working or am I missing something?

Website is http://allaboutweb.com.au/
 

Bookmarks

Tags
pages, sidebars



Similar Threads
Thread Thread Starter Forum Replies Last Post
Different size sidebars/layout on different pages gaidin Sidebars & Widgets 2 Jun 27, 2010 08:57 PM
[SOLVED] Different sidebars for different pages simonelli Sidebars & Widgets 4 Jun 14, 2010 07:59 AM
Put border on pages without sidebars? kmagyarics Sidebars & Widgets 3 Oct 27, 2009 12:55 PM
[SOLVED] Sidebars don't appear on pages mlaboria Sidebars & Widgets 19 Oct 23, 2009 02:59 PM
different sidebars on different pages scacinto Sidebars & Widgets 8 Aug 7, 2009 06:57 AM


All times are GMT -6. The time now is 02:18 PM.


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