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 customize sidebars based on page


  #1  
Old May 4, 2009, 03:21 AM
guacamoly
 
3 posts · May 2009
Does any one know how to customize the sidebar content based on what page is currently being viewed?

Also Is there a way to add items to a sidebar without it being a widget?

Thanks a lot
  #2  
Old May 5, 2009, 05:46 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
CSS Insert:

body#body-page-13 td#right div.widget {
...
}

This would address all widgets in the right sidebar on the page with the ID 13

Look into the source code to see the ID and classes that are being added to the <BODY> tag for every page

The text widget is transparent, you can leave out the title and then it'd be like manually editing the sidebars. If you still want to manually edit the sidebars put your code into header.php (left sidebar) or footer.php (right sidebar) before or after

PHP Code:
            <?php // Widgetize the Left Sidebar
            
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) :
            endif; 
?>
In some theme versions there's some text after the :

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to customize 404 error page? wfzimmerman Atahualpa 3 Wordpress theme 21 Oct 2, 2016 06:50 PM
Sidebars are still on static home page, won't go away. krystyna Sidebars & Widgets 1 May 25, 2009 06:01 PM
Removing sidebars for one page - is it possible ? Paul33 Sidebars & Widgets 1 May 14, 2009 03:22 PM
Best way to have different sidebars for each Page Eric Bobrow Sidebars & Widgets 1 Apr 27, 2009 10:26 AM
How do I get Sidebars to appaer on Posts page? martinh Atahualpa 3 Wordpress theme 4 Apr 12, 2009 09:52 AM


All times are GMT -6. The time now is 10:28 PM.


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