WordPress.org

Ready to get started?Download WordPress

Forums

Can't show comments count per post outside loop (1 post)

  1. 1BJK903
    Member
    Posted 1 year ago #

    How can I show the amount of a comment per post outside the loop? I tried this in a function already:

    ' . get_comments_number . ' , but that outputted the text "array" on the screen... What do I have to do for getting it to work?

Topic Closed

This topic has been closed to new replies.

About this Topic