How To Set Minimum Word Count For WordPress Posts

Since the recent Google search algorithm updates it’s more important for writers to focus on their posts and content. You can no longer post an article with a few words and some high ranked keywords in the title. Now, you need to write an article with a lot of quality content and keywords.

If you’re running a WordPress website with contributors or co-authors, then it’s more important for you to maintain your blog’s content quality. With WordPress, you can set minimum word count for your posts.

Add following snippet to your functions.php file:

<

p>The above code will check if the post is below 500 words and if it is then your post will not be published. You can change minimum word count by changing the number in 5th line of above code.