Hi,
I have made something to add two extra sidebars, but i didn't make the css for it. It adds two extra sidebars beneath the main asides. The code for this is:
<?php
/****************************
**** Tertiary Sidebars ******
****************************/ ?>
<?php //test to add extra sidebars
if ( function_exists('register_sidebar') )
{
register_sidebar(array(
'name' => 'Tertiary Aside Right',
'id' => 'tertiary-aside-right',
'before_widget' => '<li id="%1$s" class="widgetcontainer %2$s">',
'after_widget' => "",
));
register_sidebar(array(
'name' => 'Tertiary Aside Left',
'id' => 'tertiary-aside-left',
'before_widget' => '<li id="%1$s" class="widgetcontainer %2$s">',
'after_widget' => "",
));
}
?>
<?php function add_tertiary_aside() {
if (is_sidebar_active('tertiary-aside-left')) { ?>
<div id="tertiary-left" class="aside main-aside tertiary">
<ul class="xoxo">
<?php dynamic_sidebar('tertiary-aside-left') ?>
</div><!-- #tertiary-left .tertiary .aside -->
<?php }
if (is_sidebar_active('tertiary-aside-right')) { ?>
<div id="tertiary-right" class="aside main-aside tertiary">
<ul class="xoxo">
<?php dynamic_sidebar('tertiary-aside-right') ?>
</div><!-- #tertiary-right .tertiary .aside -->
<?php }
} ?>
<?php add_action ( 'thematic_belowmainasides', 'add_tertiary_aside' ); ?>
If you put that code in your functions.php of your child theme, it should work.
The two extra sidebars are called "tertiary-aside-right" and "tertiary-aside-left". They both have class "Aside" and "Tertiary" and their id's are "tertiary-left" and "tertiary-right".
You can also put the two sidebars between the primary and secondary aside if you change the hook called for adding the sidebars.
To do this you have to change this:
<?php add_action ( 'thematic_belowmainasides', 'add_tertiary_aside' ); ?>
To
<?php add_action ( 'thematic_betweenmainasides', 'add_tertiary_aside' ); ?>
For above it: change it to:
<?php add_action ( 'thematic_abovemainasides', 'add_tertiary_aside' ); ?>
I did not actually test those 2 last ones, but i'm sure they will work.
If you make css to get those two sidebars of half the width and stuff, they'll probably look good and the way you want.
However, it's not all the way it should be! Thematic makes it's sidebars with an extra function:
register_sidebar(array(
'name' => 'Secondary Aside',
'id' => 'secondary-aside',
'before_widget' => '<li id="%1$s" class="widgetcontainer %2$s">',
'after_widget' => "",
'before_title' => thematic_before_title(),
'after_title' => thematic_after_title(),
));
Using the function "thematic_before_title()" gave me an error. I think it will change something, although I don't know what exactly.