From c32fae115aa05d41757a4eb0c4465dba4e4d79ce Mon Sep 17 00:00:00 2001 From: mindfaucet Date: Mon, 30 Nov 2009 10:40:08 -0700 Subject: [PATCH 1/2] Wasn't displaying comments when comments were closed. With the new WordPress option to expire commenting on old posts (to keep discussion current) its still nice to read the old discussions. --- single.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/single.php b/single.php index eff8de6..fdd1067 100644 --- a/single.php +++ b/single.php @@ -116,9 +116,9 @@ $post = $temppost; $wp_query = $temp_query; $temppost = null; $temp_query = null; } } - if ('open' == $post->comment_status) { - comments_template('', true); - } + + comments_template('', true); + ?> From bf67bcb0826c40922eeb2c4a540ac2b1a8df3af0 Mon Sep 17 00:00:00 2001 From: mindfaucet Date: Mon, 30 Nov 2009 11:43:32 -0700 Subject: [PATCH 2/2] Adjusted for Trackbacks and Pingbacks styling. --- style.css | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/style.css b/style.css index 3e8922c..148738b 100644 --- a/style.css +++ b/style.css @@ -605,7 +605,7 @@ h3, h3 a { .comment .comment .comment { margin-left: 45px; } - + .comment-avatar { width: 80px; height: 80px; @@ -622,7 +622,23 @@ h3, h3 a { width: 40px; height: 40px; } + +.comment-content { + margin-left: 90px; +} + + .comment .comment .comment-content { + margin-left: 45px; + } + + .pingback .comment-content { + margin-left: 0; + } + .trackback .comment-content { + margin-left: 0; + } + .comment-author cite { font-weight: bold; font-style: normal; @@ -654,14 +670,6 @@ h3, h3 a { font-size: 15px; } -.comment-content { - margin-left: 90px; -} - - .comment .comment .comment-content { - margin-left: 45px; - } - .comment-text p { padding: 5px 0 0 0; margin: 0;