From 1970d387c391f2060c65d1ea8f63d8e7f9d3cc79 Mon Sep 17 00:00:00 2001 From: mindfaucet Date: Fri, 4 Dec 2009 10:38:19 -0700 Subject: [PATCH] At some point the comments link started showing up on the single pages, doubled up with the actual comments and discussion count. Not sure what the original code was here but I added is_single() exclusions. --- functions/displayblogpost.php | 2 +- functions/displaycomicpost.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/displayblogpost.php b/functions/displayblogpost.php index 47f6cc6..d228122 100644 --- a/functions/displayblogpost.php +++ b/functions/displayblogpost.php @@ -64,7 +64,7 @@ function display_blog_post() { comment_status) { - if (comicpress_check_child_file('partials/commentlink') == false) { ?> + if (comicpress_check_child_file('partials/commentlink') == false && !(is_single())) { ?> comment_status && !$comicpress_options['static_blog']) { + if ('open' == $post->comment_status && !$comicpress_options['static_blog'] && !(is_single())) { if (comicpress_check_child_file('partials/commentlink') == false) { ?>