diff --git a/functions/displaypost.php b/functions/displaypost.php index 47b3cb5..a96f03b 100644 --- a/functions/displaypost.php +++ b/functions/displaypost.php @@ -68,7 +68,7 @@ function comicpress_display_post_tags() { } function comicpress_display_comment_link() { - global $post; + global $post, $wp_query; 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";