Support
Support » Fixing WordPress » Can't show comments count per post outside loop
(@1bjk903)
10 years, 10 months 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?
(@1bjk903)
10 years, 10 months 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?