Widget problem
-
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
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Widget problem’ is closed to new replies.