Hi,
I want that my sidebar is supporting widgets.
This is the code of the html markup:
<div class="sidebar-head"><h3></h3></div>
<div class="sidebar-content"></div>
<div class="sidebar-footer"></div>
so i tired using the tutorials and came to this php code:
<?php
if ( function_exists('register_sidebar') )
register_sidebar(array(
'before_widget' => '<div class="sidebar-content">',
'after_widget' => ' </div>
<div class="sidebar-footer"></div>',
'before_title' => '<div class="sidebar-head">
<h2>',
'after_title' => '</h2></div>',
));
?>
But it doesnt work what is wrong?
please help me