Replies: 0
Hi
I have 2x widget areas (Sidebar 1 & Project Sidebar) which get displayed in different sidebars on my site. I have the language buttons above the Sidebar 1 widget area in the backend but not above the Project Sidebar area in the backend so I cannot translate the widgets there.
Any ideas what could be wrong? Here is my code:
function joints_register_sidebars() {
register_sidebar(array(
'id' => 'sidebar1',
'name' => __('General Sidebar', 'reach-rdp'),
'description' => __('The first (primary) sidebar.', 'reach-rdp'),
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h4 class="widgettitle">',
'after_title' => '</h4>',
));
register_sidebar(array(
'id' => 'project-sidebar',
'name' => __('Projects Sidebar', 'reach-rdp'),
'description' => __('The sidebar for Project pages.', 'reach-rdp'),
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h4 class="widgettitle">',
'after_title' => '</h4>',
));
}