How to remove "comment" on the featured image?

Home Forums Theme Support How to remove "comment" on the featured image?

  • Question status -
  • Krissana

    I have set featured images for the posts and they automatically come with a “comment” tab under the images. How do I remove that tab completely so that it only display the images?

    Thank you.

    Support Staff

    Just remove this line from index.php and category.php:

    <?php comments_popup_link('No Comments', '1 Comment', '% Comments', 'comm'); ?>

    You can do that in archive.php too, and you can remove even read more button from there.


You must be logged in to reply to this topic.

Viewing 2 posts - 1 through 2 (of 2 total)