Ready to get started?Download WordPress


[resolved] Remove link from comment count (3 posts)

  1. Connor Crosby
    Posted 2 years ago #

    How can I display the comment count without it being linked? Currently I am using the code below but it creates a link around it, which I do not want.
    <?php comments_popup_link('0;', '1', '%'); ?>
    Does anyone know of a way to just display the comment count without a link wrapping it? Thanks!

  2. alchymyth
    Forum Moderator
    Posted 1 year ago #

  3. Connor Crosby
    Posted 1 year ago #

    Ah that did the trick. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic