WordPress.org

Ready to get started?Download WordPress

Forums

How do I display number of comments outside of the loop (1 post)

  1. iamthestreets
    Member
    Posted 6 months ago #

    Hi,

    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_link it 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'));

    Site: http://mystreetlife.com/home

Reply

You must log in to post.

About this Topic

  • RSS feed for this topic
  • Started 6 months ago by iamthestreets
  • This topic is not resolved
  • WordPress version: 3.8.1

Tags

No tags yet.