MY NUMBER 1 RECOMMENDATION TO CREATE FULL TIME INCOME ONLINE: CLICK HERE
Do you want to get WordPress word count statistics?
When writing a post, you may have a specific word count you want to achieve. Additionally, by monitoring word count statistics, you can gain insights such as which post length is driving the most traffic and engagement.
In this article, we will show you how to display detailed word count statistics in WordPress.
Why get word count statistics for your WordPress site?
There are many reasons why you might want to get a word count for yours WordPress website.
If you’re a freelance writer, you may charge per word, or your clients may have strict goals for the number of words you need to meet.
If you are added more authors to your WordPress blogthen monitoring their word count statistics can help you identify the authors who contribute the most to your site.
This insight can help you manage a multi-author WordPress blog more efficiently. For example, you can reward the author who has the highest word count or schedule meetings with writers who are underperforming.
Even if you’re the only person working on the site, word count statistics can still be interesting. By looking at how your word count changes over time, you may be able to spot patterns and ways to be more productive.
With all that in mind, let’s take a look at a few different ways to get word count statistics in WordPress. If you prefer to jump directly to a specific method, you can use the links below.
1st way. How to Check the Word Count of an Article in WordPress
The WordPress block editor makes it easy to see the word count for any page or post.
Simply click the ‘i’ icon at the top of the screen and WordPress will display some basic statistics for the page or post, including word count.
Even better, this word count is automatically updated as you write.
If you have a word limit, this is a quick and easy way to make sure you don’t go over that limit.
2nd way. Get detailed WordPress word count statistics with the plugin
Sometimes you may want to see word count statistics for a specific author, post type, or even your entire site.
The easiest way to get these detailed statistics is by using WP word count to include. This plugin shows how many words you’ve written by month, author and post type.
If you use custom post typesthen WP Word Count can also display statistics for your custom posts.
First, you will need to install and activate the plugin. If you need help, check out our guide at how to install a WordPress plugin.
Once you’ve done that, go to Number of words » Statistics. You will need to click the ‘calculate’ link before you can get your stats.
WP Word Count will ask you if you want to count the words for all of your content or if you want to count only the content that was created during a certain period of time.
To calculate the total word count for the entire site, click the “Count all content on this site at once” option. Then go ahead and click Calculate word count.
After a few moments, you should see the message “Word count calculated successfully”.
WP Word Count will now continue to automatically calculate your statistics as you add more posts and pages to your site. This means you won’t have to click the ‘calculate’ link every time you want to see the latest word count statistics.
Now, whenever you want to see your stats, you can visit Number of words » Statistics. To see the total word count for all of your content, click the All Content tab.
On this screen, you’ll see the total word count for different types of posts, broken down into published and unpublished content.
‘Total word count’ is your total word count across all content types.
This number combines your published and unpublished content, so it’s not necessarily the word count that visitors will see live on your site.
This screen also shows separate word counts for published and unpublished content.
To see the word count for specific months, simply click on the ‘Monthly Statistics’ tab. This can help you spot trends, including your most productive months and times when you wrote fewer words compared to other months.
If more people write for you WordPress blogyou might want to look at the ‘Author Statistics’ tab.
This allows you to explore your website’s word count statistics by author.
You may also want to track the traffic that each of your authors brings to your site. To do this, you can see our guide at how to set up author tracking in WordPress.
By tracking these important metrics on your WordPress site, you can find out what is working and what isn’t on your site.
You can then use this insight to fine-tune your content calendar to drive even more traffic to your site and make money online blogging with wordpress.
3rd way. How to add word count statistics to WordPress with code
Another option for tracking word count is a code solution. This code snippet will display the word count next to each post on Posts » All posts screen.
It’s an easy way to discover the longest posts on your site or to check for posts that don’t meet the required word count.
If you want to display the word count on the All Posts screen, you’ll need to add code to your site. We recommend that you do this by creating a website plugin or using a code snippets plugin.
Whichever option you choose, you’ll need to add this code:
add_filter('manage_posts_columns', 'wpbeginner_add_column');
function wpbeginner_add_column($wpbeginner_wordcount_column) {
$wpbeginner_wordcount_column['wpbeginner_wordcount'] = 'Word Count';
return $wpbeginner_wordcount_column;
}
//Link the word count to our new column//
add_action('manage_posts_custom_column', 'wpbeginner_display_wordcount');
function wpbeginner_display_wordcount($name)
{
global $post;
switch ($name)
{
case 'wpbeginner_wordcount':
//Get the post ID and pass it into the get_wordcount function//
$wpbeginner_wordcount = wpbeginner_get_wordcount($post->ID);
echo $wpbeginner_wordcount;
}
}
function wpbeginner_get_wordcount($post_id) {
//Get the post, remove any unnecessary tags and then perform the word count//
$wpbeginner_wordcount = str_word_count( strip_tags( strip_shortcodes(get_post_field( 'post_content', $post_id )) ) );
return $wpbeginner_wordcount;
You can then save your changes.
Now if you visit Posts » All posts screen, you will see the number of words in the new column.
We hope this guide helped you learn how to get word count statistics in WordPress. You might also want to learn how to set up Google Analytics goals for your WordPress siteor see our list the best email marketing services for small businesses.
If you liked this article, please subscribe to ours YouTube channel for WordPress video tutorials. You can also find us at Twitter and Facebook.
.
MY NUMBER 1 RECOMMENDATION TO CREATE FULL TIME INCOME ONLINE: CLICK HERE