add a 3rd sidebar?
I am just now starting my first blog and I am psyched to have found the Atahualpa theme! I am a blogging newbie :p , 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 :o , 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! |
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. |
|
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??
|
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!
|
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. |
All times are GMT -6. The time now is 06:03 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.