• Hi, I have disabled the comment in my wordpress blog.

    However while no one can comment, they still see a rectangular with the text “Comments are closed.”.

    How can I remove this rectangular with together with the message “Comments are closed.”?

    I mean totally get rid of it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • How can I remove this rectangular with together with the message “Comments are closed.”?

    this will depend on your theme – pleas post more details such as the name of your theme and a link to your site.

    possibly search the templates single.php and page.php for ‘comments_template()’ and remove this code (?)

    Thread Starter programAngel

    (@programangel)

    Thank you very much for your response.

    My theme is Piano Black.

    But I didn’t found any of the files (single.php and page.php) any comments_template() string.

    So what do I need in theme to change in order to remove the comment section.

    So what do I need in theme to change in order to remove the comment section.

    look again.

    in page.php, single.php:

    <?php if (function_exists('wp_list_comments')) { comments_template('', true); } else { comments_template(); } ?>

    there are more page-…php templates you might need to check

    Thread Starter programAngel

    (@programangel)

    you are right.

    Thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘removing comment section’ is closed to new replies.