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

add a 3rd sidebar?


  #1  
Old Jun 24, 2009, 12:07 PM
ryanl
 
3 posts · Jun 2009
I am just now starting my first blog and I am psyched to have found the Atahualpa theme! I am a blogging newbie , so being able to control the look and feel of the blog in this way is wonderful! There are a few things that I would like to do and am working on figuring out how to do them, but first of all I am wondering how to add a 3rd sidebar to the left of the right sidebar... I feel that this would involve some tinkering with CSS and also footer.php (perhaps even hacking functions.php...), but I am thinking that its definitely possible.

Does Atahualpa support the addition of a 3rd sidebar?

I also realize that this will involve no simple solution, and as I am still unable to properly show my thanks for all the work and ingenuity it obviously takes to build and support this theme , I do not really expect a complete solution at this time. But, I would like to know if adding this 3rd sidebar is even practically possible for someone with a considerably mediocre understanding of php, such as myself.

Thanks a million!
  #2  
Old Jun 24, 2009, 12:48 PM
bushtool's Avatar
bushtool
 
93 posts · May 2009
I added three sidebars in the footer by placing this in the footer section of the Atahualpa options:

<div id="footer-bars" class="secondary">
<div id="footer-bar1" class="sidebar">
<ul><?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar(3) ) : ?>
<?php endif; ?></ul>
</div>
<div id="footer-bar2" class="sidebar">
<ul><?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar(4) ) : ?>
<?php endif; ?></ul>
</div>
<div id="footer-bar3" class="sidebar">
<ul><?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar(5) ) : ?>
<?php endif; ?></ul>
</div>
</div> <!-- Close footer-sidebar -->

Not sure where you would place the above to add a second sidebar.

You also modify functions.php by adding this:

register_sidebar(array(
'name'=>'footer-bar1',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<div class="widget-title"><h3>',
'after_title' => '</h3></div>',
));
register_sidebar(array(
'name'=>'footer-bar2',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<div class="widget-title"><h3>',
'after_title' => '</h3></div>',
));
register_sidebar(array(
'name'=>'footer-bar3',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<div class="widget-title"><h3>',
'after_title' => '</h3></div>',
));

In your case you would only need to add one each of the above of course.

Hope this helps.
  #3  
Old Jun 24, 2009, 12:55 PM
bushtool's Avatar
bushtool
 
93 posts · May 2009
this link may help also

http://www.blogohblog.com/adding-ext...rdpress-theme/
  #4  
Old Jun 24, 2009, 01:59 PM
ryanl
 
3 posts · Jun 2009
wow, thank you! i can't say that i have been entirely successful, and i could not easily explain exactly what i did just yet, but i know i am close. whats happened now is that the right sidebar is now pushed beyond the right "edge" of the site by the new "rightleft" sidebar. i am assuming that a div style or td style or something like that is incorrect and i am not sure what yet but i am looking into how i can fix it now. atleast the 3rd sidebar is there and also can be widgetized! the link you sent is helpful even though this theme doesnt have a sidebar.php, so thank you for that! any ideas what im doing wrong??
  #5  
Old Jun 24, 2009, 03:13 PM
ryanl
 
3 posts · Jun 2009
nope. im not gonna get it tonight... well, this morning (its 4 am in Beijing and I definitely should be sleeping). its a good thing i made back up files of the ones i've been playing with! thanks again, bushtool!
  #6  
Old Jun 26, 2009, 07:46 AM
bushtool's Avatar
bushtool
 
93 posts · May 2009
beyond my pay grade

I'm afraid that I am just a hacker and your issue is now beyond my level of css comprehension.

Surely there is someone here that can address your layout issue.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to Add another Sidebar bill_g Sidebars & Widgets 2 Jul 10, 2009 11:00 AM
Add Sidebar to Header? mwsmedia Header configuration & styling 1 Jun 20, 2009 11:03 AM
how to add border to sidebar images? Riin Sidebars & Widgets 3 May 16, 2009 01:19 PM
How to add padding to right sidebar? Antsliedown Sidebars & Widgets 1 May 5, 2009 08:20 PM
How to add an image to the sidebar? charlieb Sidebars & Widgets 1 Feb 9, 2009 06:01 PM


All times are GMT -6. The time now is 06:01 PM.


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