Support » Fixing WordPress » Display comment number

  • Resolved chenpro

    (@chenpro)


    Hi there,

    I want to display the number of comments in my page, I’m using this code:
    <?php comments_number( '0', '1', '%' ); ?>

    and what I get for example is “47.”

    My question is, How can I remove the dot after the number?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    According to this codex, there should not be a dot after the number.

    Try:
    – switching to the unedited default Theme (Twenty Sixteen) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).

    Hi thanks,

    It just was in the rest of the code, didn’t see it…

    Resolved:)

    Moderator t-p

    (@t-p)

    Glad to know it 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display comment number’ is closed to new replies.