Title: Shortcode/filter for comment/post count
Last modified: August 21, 2016

---

# Shortcode/filter for comment/post count

 *  [nblauw](https://wordpress.org/support/users/nblauw/)
 * (@nblauw)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/shortcodefilter-for-commentpost-count/)
 * Hello folks!
 * Who can help me with making two shortcodes, One that displays a number of a total
   comment count on the entire blog. Another that displays a number of the total
   plubished posts on a blog.
 * Like if you have a shortcode; [post_count] and you have 3 posts on your blog 
   that the output would be: 3.
 * For the comments; if you have 3 posts with 2 comments on each post, and the shortcode
   is [comments_count], the output would be like 6.
 * Thanks in advance!
 * Bartbroersen.nl/reacties (comments)
    Bartbroersen.nl/dagboek (posts)
 * P.s. Did it already with the questbook and the gallery, If you need the source,
   just ask me.

The topic ‘Shortcode/filter for comment/post count’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [nblauw](https://wordpress.org/support/users/nblauw/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/shortcodefilter-for-commentpost-count/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
