widget-head and widget-foot fix
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
522e305f2e
commit
217b14dcce
|
@ -771,10 +771,16 @@ if ( function_exists('register_sidebar') ) {
|
||||||
) as $label) {
|
) as $label) {
|
||||||
register_sidebar(array(
|
register_sidebar(array(
|
||||||
'name'=> $label,
|
'name'=> $label,
|
||||||
'before_widget' => '<div id="%1$s">'."\r\n".'<div class="widget-head"><div>'."\r\n".'<div class="widget %2$s">'."\r\n",
|
'before_widget' => '
|
||||||
'after_widget' => '</div>'."\r\n".'<div class="widget-foot"></div>'."\r\n".'</div>'."\r\n",
|
<div class="widget-head"></div>
|
||||||
'before_title' => '<h2 class="widgettitle">'."\r\n",
|
<div id="%1$s" class="widget %2$s">
|
||||||
'after_title' => '</h2>'."\r\n"
|
',
|
||||||
|
'after_widget' => '
|
||||||
|
</div>
|
||||||
|
<div class="widget-foot"></div>
|
||||||
|
',
|
||||||
|
'before_title' => ' <h2 class="widgettitle">',
|
||||||
|
'after_title' => '</h2>'
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
if (have_posts()) {
|
if (have_posts()) {
|
||||||
while (have_posts()) : the_post();
|
while (have_posts()) : the_post();
|
||||||
comicpress_display_post();
|
comicpress_display_post();
|
||||||
comments_template();
|
|
||||||
endwhile;
|
endwhile;
|
||||||
}
|
}
|
||||||
Restore();
|
Restore();
|
||||||
|
@ -26,7 +25,7 @@
|
||||||
<div id="blogheader"><!-- This area can be used for a heading above your main page blog posts --></div>
|
<div id="blogheader"><!-- This area can be used for a heading above your main page blog posts --></div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<?php if (!$comicpress_options[disable_blog_frontpage]) {
|
<?php if (!$comicpress_options['disable_blog_frontpage']) {
|
||||||
global $blog_postcount;
|
global $blog_postcount;
|
||||||
Protect();
|
Protect();
|
||||||
if (!$comicpress_options['split_column_in_two']) {
|
if (!$comicpress_options['split_column_in_two']) {
|
||||||
|
|
Loading…
Reference in New Issue