cleanup of the register widget area code for the head/foot of each widget placed
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
71c30e3008
commit
9e334d8998
|
@ -802,16 +802,10 @@ if ( function_exists('register_sidebar') ) {
|
||||||
) as $label) {
|
) as $label) {
|
||||||
register_sidebar(array(
|
register_sidebar(array(
|
||||||
'name'=> $label,
|
'name'=> $label,
|
||||||
'before_widget' => '
|
'before_widget' => "<div class=\"widget-head\"></div>\r\n<div id=\"".'%1$s'."\" class=\"widget ".'%2$s'."\">\r\n",
|
||||||
<div class="widget-head"></div>
|
'after_widget' => "</div>\r\n<div class=\"widget-foot\"></div>\r\n",
|
||||||
<div id="%1$s" class="widget %2$s">
|
'before_title' => "<h2 class=\"widgettitle\">\r\n",
|
||||||
',
|
'after_title' => "</h2>\r\n"
|
||||||
'after_widget' => '
|
|
||||||
</div>
|
|
||||||
<div class="widget-foot"></div>
|
|
||||||
',
|
|
||||||
'before_title' => ' <h2 class="widgettitle">',
|
|
||||||
'after_title' => '</h2>'
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue