I'm trying to add a widget ready area to the belowfooter action hook. This is my code:
<?php
//register bucket area
function bucket_bar( ) {
register_sidebar (array (
'name' => 'Bucket Bar',
'id' => 'bucket-bar',
'description' => __( 'A widget area between the footer and the content', 'thematic'),
'before_widget' => thematic_before_widget( ) ,
'after_widget' => thematic_after_widget( ) ,
'before_title' => thematic_before_title( ) ,
'after_title' => thematic_after_title( ) )
) ;
}
add_action('init', 'bucket_bar') ;
//add bucket widget area
function add_bucket_bar( ) {
if (is_sidebar_active('bucket-bar')) {
echo thematic_before_widget_area(dynamic_sidebar('bucket-bar'));
dynamic_sidebar('bucket-bar');
echo thematic_after_widget_area('bucket-bar');
}
}
add_action('thematic_abovefooter', 'add_bucket-bar', 10);
?>
The widget area registers, and shows in my dashboard, but will not show on the live site when I place widgets into it.
Criticism and suggestion heavily appreciated.