I am trying to display the number of comments outside of the loop and haven’t had much success.
When i add the
comments_popup_linkit will display No Comments and then when I click into a post with comments it updates all of the post to show however=r many comments are in that post.
$post_comments = comments_popup_link( __('No comments', 'wellthemes'), __( '1 comment', 'wellthemes'), __('% comments', 'wellthemes'));
- The topic ‘How do I display number of comments outside of the loop’ is closed to new replies.