How to remove "comment" on the featured image?

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

  • Question status -
  • Krissana
    Participant

    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.

    #4624
    Support Staff
    Keymaster

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

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

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

    #4625

You must be logged in to reply to this topic.

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