Title: Word Count
Last modified: August 19, 2016

---

# Word Count

 *  Resolved [thisisedie](https://wordpress.org/support/users/thisisedie/)
 * (@thisisedie)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/word-count-2/)
 * I asked this question about a year ago and never got an answer so I’m trying 
   again. How would I get the total number of words for the entire blog without 
   a plugin? Thanks.

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

 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/word-count-2/#post-1517837)
 * If you are talking about doing this from a theme, I actually played with this
   a little bit. I downloaded the [Post Word Count](http://wordpress.org/extend/plugins/post-word-count/)
   plugin, which by default is designed to show the total word count for all posts.
   I took the contents of the plugin file itself and pasted it as a function in 
   my themes functions.php file. I then added
    `<?php mdv_post_word_count(); ?>`
   to my index.php file and it did indeed show my total ( what I assume to be my
   actual total ) word count. I imaging you could place it in any template in your
   theme and then style it as you like. The instructions for per post or all posts
   word count are in the readme file in the plugin. Talk about quick and dirty. 
   I feel a little like I stole it! 🙂
 *  Thread Starter [thisisedie](https://wordpress.org/support/users/thisisedie/)
 * (@thisisedie)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/word-count-2/#post-1517850)
 * Ha, lol. I’m actually using that plugin currently. Is there any benefit to doing
   it the way you described as opposed to using it as a regular plugin? Aside from
   minimizing clutter.
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/word-count-2/#post-1517855)
 * > How would I get the total number of words for the entire blog **without a plugin**?
 * That’s the only reason I can think of, and the only reason I even mentioned it.
   My own opinion? Just use the plugin!
 * 🙂
 *  Thread Starter [thisisedie](https://wordpress.org/support/users/thisisedie/)
 * (@thisisedie)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/word-count-2/#post-1517857)
 * Actually I like your way better. I was just curious if using functions.php might
   have benefits. Thanks a bunch :o)

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

The topic ‘Word Count’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [thisisedie](https://wordpress.org/support/users/thisisedie/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/word-count-2/#post-1517857)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
