here's my template:
<?php
/**
* Template Name: Widgets Template
*
* This template shows all the widgets in the 'Widgets Template Widget' after the content
*
*/
// calling the header.php
get_header();
// action hook for placing content above #container
thematic_abovecontainer();
?>
<div id="container">
<?php thematic_abovecontent();
echo apply_filters( 'thematic_open_id_content', '<div id="content">' . "\n" );
// calling the widget area 'page-top'
//get_sidebar('page-top');
//the_post();
thematic_abovepost();
widgets_template_area_aside();
thematic_belowpost();
// calling the comments template
if (THEMATIC_COMPATIBLE_COMMENT_HANDLING) {
if ( get_post_custom_values('comments') ) {
// Add a key/value of "comments" to enable comments on pages!
thematic_comments_template();
}
} else {
thematic_comments_template();
}
?>
</div><!-- #content -->
<?php thematic_belowcontent(); ?>
</div><!-- #container -->
<?php
// action hook for placing content below #container
thematic_belowcontainer();
// calling the standard sidebar
thematic_sidebar();
// calling footer.php
get_footer();
?>
and the functions.php stuff to set up that new widget area:
//Re-define Widget Areas
function new_widgetized_area($content) {
$content['Widget Template Aside'] = array(
'admin_menu_order' => 900,
'args' => array (
'name' => 'Widget Template',
'id' => 'widget-template-aside',
'description' => __('A widget area that replaces the content Widgets page template.', 'thematic'),
'before_widget' => thematic_before_widget(),
'after_widget' => thematic_after_widget(),
'before_title' => thematic_before_title(),
'after_title' => thematic_after_title(),
),
'action_hook' => 'widgets_template_area_aside',
'function' => 'widgets_template_aside',
'priority' => 1,
);
return $content;
}
add_filter('thematic_widgetized_areas', 'new_widgetized_area');
//define action hook for the Widgets Template Aside
// Located in template-page-widget-page.php
function widgets_template_area_aside() {
do_action('widgets_template_area_aside');
} // end widgets_template_area_aside
// Define the Widgets Template Aside
function widgets_template_aside() {
if (is_active_sidebar('widget-template-aside')) {
echo thematic_before_widget_area('widget-template-aside');
dynamic_sidebar('widget-template-aside');
echo thematic_after_widget_area('widget-template-aside');
}
}
I would be interested to hear thoughts on whether Thematic should add/remove some of its widget areas. i find myself constantly deleting all the content widget areas on client sites b/c the widgets page looks so daunting w/ 12. is anyone using those? i also borrowed the idea of a 404 widget area from Hybrid too. both the 404 and widgets page seem a lot more useful than single-top, single-bottom, single-insert,etc.