Title: Simple Stats
Last modified: August 18, 2016

---

# Simple Stats

 *  Anonymous
 * [21 years, 11 months ago](https://wordpress.org/support/topic/simple-stats/)
 * I’m looking for some sort of a stats hack/plugin that just displays the total
   number of posts, comments and trackbacks in the sidebar menu. Anything similar
   around? Thank you pretty people!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [carthik](https://wordpress.org/support/users/carthik/)
 * (@carthik)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/simple-stats/#post-64669)
 * search the wiki ([http://wiki.wordpress.org](http://wiki.wordpress.org)) and 
   these forums.
 *  Thread Starter Anonymous
 * [21 years, 11 months ago](https://wordpress.org/support/topic/simple-stats/#post-64670)
 * Couldn’t find it 🙁 Most stats plugins are full-page with loads of info. I’m 
   looking for a simple one here.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/simple-stats/#post-64673)
 * These do ?
    [http://wiki.wordpress.org/Comment%20and%20Post%20Plugins](http://wiki.wordpress.org/Comment%20and%20Post%20Plugins)
   I’ve not yet seen a trackback (or ping) counter yet actually …….anyone working
   on one ?
 *  [wxgal](https://wordpress.org/support/users/wxgal/)
 * (@wxgal)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/simple-stats/#post-65001)
 * I actually just modified the comment count one from [http://mtdewvirus.com/wp-hacks/](http://mtdewvirus.com/wp-hacks/)
   
   I went into the comment-count.php file and added the following: `AND comment_content
   NOT LIKE ('%<trackback />%')` after `$request = "SELECT COUNT(*) FROM $tablecomments
   WHERE comment_approved = '1'` to get just a count of just the comments (because
   before it counted both the comments and trackbacks). Then I copied all of the
   code to a new file and renamed it **trackback-count.php**. I removed the **NOT**
   in the code I posted above. And I renamed the function to get_trackback_count.
   I then called the function by `<?php get_trackback_count(); ?>` If this post 
   doesn’t make sense (I don’t make sense from time to time … LOL), let me know 
   and I’ll post the hacks I did to the 2 files on my website and link them here.
   I haven’t done that yet because I’m not done setting it up yet.
 *  [jackiefg](https://wordpress.org/support/users/jackiefg/)
 * (@jackiefg)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/simple-stats/#post-65035)
 * I’ve been trying to modify the comment_plugger to add a comma between each commenter,
   but I cannot figure it out. I went by your read me file and added the $sep to
   the first line to make it like this:
    `function comment_plugger($before = ' -',
   $limit = 14, $sep = ' - ') {` but that didn’t work. Can you give me a clue what
   I should add, where? Thanks.
 *  Thread Starter Anonymous
 * [21 years, 10 months ago](https://wordpress.org/support/topic/simple-stats/#post-65072)
 * Thanks wxgal! That mod works well.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Simple Stats’ is closed to new replies.

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 6 replies
 * 5 participants
 * Last reply from: Anonymous
 * Last activity: [21 years, 10 months ago](https://wordpress.org/support/topic/simple-stats/#post-65072)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
