WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Connor Crosby
    Member
    Posted 1 year 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
    The Sweeper & Moderator
    Posted 1 year ago #

  3. Connor Crosby
    Member
    Posted 1 year ago #

    Ah that did the trick. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic