Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Comment Count WordPress

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #41754
    LaurelBrittany
    Participant

    I am having trouble getting the number of comments to show up with the comment tag: ``
    The code is found here: codex.wordpress.org/Template_Tags/get_comments_number

    My theme I’m creating is here: http://lwebdesigns.net/blog/

    It is supposed to appear in the grey circle.

    #119841
    chrisburton
    Participant

    Is `$post_id` an actual variable that will output a string? I thought it was just saying that to get the information, you are required to have the ID of the post. There is a way to get it but I’m not sure how. I think it’s something like `$post=>ID`.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.