Is there any update on this issue ?
I am developing a site using Thematic and a child theme. I have created four custom widget areas which all work fine. Then the widget areas disappear because the widgets have been reset back to the Thematic default. The widget panel stores the content of my widget areas in unused widgets but I have to manually restore them. This is NOT happening because I am switching between themes (I have not) and does not appear to be related to any plugins that are running (all deactivated).
An example of my code is here:
function luminal_abovecont_aside_one() {
register_sidebar(array(
'name' => 'First Above Container Aside',
'id' => 'abovecont-aside-one',
'description' => __('A widget area in the main div, aligned left above the content.', 'luminal'),
'before_widget' => thematic_before_widget(),
'after_widget' => thematic_after_widget(),
'before_title' => thematic_before_title(),
'after_title' => thematic_after_title(), )
);
}
add_action('init', 'luminal_abovecont_aside_one');
// Add above container aside 1
function add_luminal_abovecont_aside_one() {
if (is_sidebar_active('abovecont-aside-one')) {
echo thematic_before_widget_area('abovecont-aside-one');
dynamic_sidebar('abovecont-aside-one');
echo thematic_after_widget_area('abovecont-aside-one');
}
}
add_action('thematic_abovecontainer','add_luminal_abovecont_aside_one', 10);
Is this related to sidebar identifiers ?
Is it related to priority order ?
Do I have to use 'Helga's method' ?
Any help greatly appreciated