Hello everybody,
I know this question of mine may be asked many times, yet as I’m very knew to designing my own theme I told myself maybe a kind person may help me get along with this problem.
I have done everything told in the Codex but the widgetized area does not work. my code is as follows:
<?php
if (function_exists(‘register_sidebar’)) {
register_sidebar(array(
‘name’ => ‘Right Sidebar’,
‘id’ => ‘right-Sidebar’,
‘description’ => ‘This is a widgetized area.’,
‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h4>’,
‘after_title’ => ‘</h4>’
));
}
?>
And for populating the widget area I added the following code to my sidebar:
<?php if (is_active_sidebar(‘rightSidebar’)) : else : ?>
<?php dynamic_sidebar( ‘right-Sidebar’ ); ?>
<?php endif; ?>
Could you help help telling me why it doesn’t show the widgets I add to my side bar? Thank you very much in advance.