From 522e305f2eddf849d699a08fe1db4534cb9f2636 Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Thu, 24 Dec 2009 18:28:22 -0800 Subject: [PATCH] placement fixes, added widget-head & widget-foot classes to the PLACED widgets (not default) Signed-off-by: Philip M. Hofer (Frumph) --- archive-comic-calendar.php | 1 + functions.php | 8 ++++---- functions/displaypost.php | 4 ++-- style.css | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/archive-comic-calendar.php b/archive-comic-calendar.php index 146ff9a..5bfcdb6 100644 --- a/archive-comic-calendar.php +++ b/archive-comic-calendar.php @@ -152,6 +152,7 @@ foreach ( $years as $year ) { +
diff --git a/functions.php b/functions.php index 8efddbb..5972e95 100644 --- a/functions.php +++ b/functions.php @@ -771,10 +771,10 @@ if ( function_exists('register_sidebar') ) { ) as $label) { register_sidebar(array( 'name'=> $label, - 'before_widget' => '
', - 'after_widget' => '
', - 'before_title' => '

', - 'after_title' => '

' + 'before_widget' => '
'."\r\n".'
'."\r\n".'
'."\r\n", + 'after_widget' => '
'."\r\n".'
'."\r\n".'
'."\r\n", + 'before_title' => '

'."\r\n", + 'after_title' => '

'."\r\n" )); } } diff --git a/functions/displaypost.php b/functions/displaypost.php index a30977e..d7c8e2b 100644 --- a/functions/displaypost.php +++ b/functions/displaypost.php @@ -69,7 +69,7 @@ function comicpress_display_post_tags() { function comicpress_display_comment_link() { global $post; - if ('open' == $post->comment_status) { + if ('open' == $post->comment_status && !is_page()) { if (comicpress_check_child_file('partials/commentlink') == false && !is_single()) { $post_comment_link = "
".get_comment_reply_link('  '.__('Comment ','comicpress'), '1 '.__('Comment ','comicpress'), '% '.__('Comments ','comicpress'))."
\r\n"; apply_filters('comicpress_display_comment_link',$post_comment_link); @@ -175,9 +175,9 @@ function comicpress_display_post() {
+ ', '

'); } ?>
- ', '

'); } ?>