How to Set a Minimum Word Count for WordPress Posts – Website Tips

Curated by WorkingFromHome

This article is an excerpt from the original article found in the Read More link – please follow for full article.

Do you want to set a word count for your WordPress blog posts?

If you have multiple authors on your site, then setting up a minimum word count can help ensure that writers meet content standards and fully answer the reader’s questions.

In this article, we’ll show you how to set a minimum word count for your WordPress posts.

Why Set a Minimum Word Count for Your Blog Posts?

Whether you’re creating content yourself or run a multi-author website, you should set certain content standards to ensure top quality articles.

One of the standards you can introduce is a minimum word count for each WordPress blog post. With WordPress, you can restrict authors from publishing blog posts with thin content and ensure high content quality.

Why would you want to enforce longer posts?

Some research suggests that longer content tends to rank significantly better in search results than short content, which could help you get more traffic to your blog.

That being said, let’s look at how you can set a minimum word count in a WordPress blog.

Method 1: Set a Minimum Word Count Using a Plugin

A simple way to add a minimum word count to your WordPress website is by using a plugin like PublishPress Checklists.

PublishPress Checklists allow you to set tasks that authors must complete before publishing content. This includes adding a minimum and maximum word count on posts and pages.

For this tutorial, you can use the free version of PublishPress Checklists, since it has the features we need. There’s also a premium version available that offers more features like checklists for WooCommerce products.

First, you’ll need to install and activate the PublishPress Checklists plugin. You can follow our step-by-step tutorial on how to install a WordPress plugin for more details.

Upon activation, you’ll need to go to Checklists from your WordPress admin panel. Next, you can set minimum and maximum words for the ‘Number of words in content’ option.

After that, you can choose whether you want to make the ‘Number of words in content’ option to be disabled, required, or recommended task from the dropdown menu.

If you select Recommended, then authors can publish articles even if they don’t meet the minimum word count. However, the Required option makes it mandatory to complete the word count task, so go ahead and select the Required option.

Besides that, PublishPress Checklists also lets you add user roles to exclude from meeting the word count requirement. Simply click on the box under the ‘Who can ignore the task’ column and select a user role.

When you’ve set the number of words writers should complete, simply scroll down and click the ‘Save Changes’ button.

Now you can go to Posts » Add New to create a new blog post and see the minimum word count requirement in action.

If the post doesn’t contain the minimum number of words, a warning icon will appear on the ‘Publish’ button in the WordPress editor. The plugin will also show that the word count task wasn’t met in the ‘Checklist’ settings box on your right.

Once your content meets the minimum word count, the checklist task will show a green checkmark, and authors can publish the blog post.

Method 2: Manually Set a Minimum Word Count Limit

Another way to add a minimum word count on your WordPress website is by adding a code snippet to the functions.php files in a WordPress theme.

However, we don’t recommend editing your site’s theme files. That’s because even a small mistake can break your website and even prevent you from accessing the WordPress dashboard.

An easier way to add code to your site is by using the Code Snippets plugin. It lets you add custom code without worrying about breaking your site. Plus, it makes it easier to keep track of any snippets you add to your site.

First, you’ll need to install and activate the Code Snippets plugin. If you need help, then check out our guide on how to install a WordPress plugin.

Once the plugin is active, simply head over to Snippets » Add New from your WordPress dashboard. You can start by adding a title for your custom code.

Now, you’ll need to copy the following code:

function minWord($content)  {  	global $post;  	$content = $post->post_content;  	if (str_word_count($content) < 100 ) //set this to the minimum number 

For the Full Article -
You can Find it Here: How to Set a Minimum Word Count for WordPress Posts

Commentary:
Really handy tips and urls can be seen on the full post.
source - WPBeginner.com

You May Also Like…

How to Organize or Reorder WordPress Pages with Drag & Drop – Website Tips

How to Organize or Reorder WordPress Pages with Drag & Drop – Website Tips

Last updated on October 16th, 2021 by Editorial Staff Do you want to organize your WordPress pages by simply dragging and dropping them where you want? WordPress will arrange your blog posts and pages based on the published date or alphabetical order by default. However, with the right WordPress plugin, you can reorder your pages to organize them more logically. In this article, we will show you how to reorder and organize WordPress pages with drag and drop. Why Change the Order of WordPress Pages? By default, WordPress will organize your pages alphabetically or use the publish date to show the recent page first. If you have a lot of pages, it can be difficult to manage them and find the pages you need in your WordPress dashboard. Luckily, you can use a simple plugin to rearrange the pages by simply dragging and dropping them where you want. Let’s take…

7 Best WordPress Image Compression Plugins Compared (2021) – Website Tips

7 Best WordPress Image Compression Plugins Compared (2021) – Website Tips

Are you looking for the best WordPress image compression plugin for your website? Image compression plugins allow you to easily optimize images in WordPress for better speed and performance automatically. In this article, we have compared the best image compression plugins for WordPress. When Do You Need a WordPress Image Compression Plugin? Images are larger in size than plain text which means they take longer to load and can slow down your website. However you’ve probably heard the saying: “a picture is worth a thousand words”. Images make your content more engaging and interactive. To improve your WordPress website speed, you need to optimize your images for the web. Since optimizing your images can make your site load faster, it will improve your WordPress SEO, and help you get more traffic. The best way to do this is by using Photoshop or another image editing software before you upload the…

Working From Home TV …

Tips to enhance your own website…

How to Organize or Reorder WordPress Pages with Drag & Drop – Website Tips

How to Organize or Reorder WordPress Pages with Drag & Drop – Website Tips

Last updated on October 16th, 2021 by Editorial Staff Do you want to organize your WordPress pages by simply dragging and dropping them where you want? WordPress will arrange your blog posts and pages based on the published date or alphabetical order by default. However, with the right WordPress plugin, you can reorder your pages to organize them more logically. In this article, we will show you how to reorder and organize WordPress pages with drag and drop. Why Change the Order of WordPress Pages? By default, WordPress will organize your pages alphabetically or use the publish date to show the recent page first. If you have a lot of pages, it can be difficult to manage them and find the pages you need in your WordPress dashboard. Luckily, you can use a simple plugin to rearrange the pages by simply dragging and dropping them where you want. Let’s take…

7 Best WordPress Image Compression Plugins Compared (2021) – Website Tips

7 Best WordPress Image Compression Plugins Compared (2021) – Website Tips

Are you looking for the best WordPress image compression plugin for your website? Image compression plugins allow you to easily optimize images in WordPress for better speed and performance automatically. In this article, we have compared the best image compression plugins for WordPress. When Do You Need a WordPress Image Compression Plugin? Images are larger in size than plain text which means they take longer to load and can slow down your website. However you’ve probably heard the saying: “a picture is worth a thousand words”. Images make your content more engaging and interactive. To improve your WordPress website speed, you need to optimize your images for the web. Since optimizing your images can make your site load faster, it will improve your WordPress SEO, and help you get more traffic. The best way to do this is by using Photoshop or another image editing software before you upload the…

How to Exclude Pages from WordPress Search Results (Step by Step) – Website Tips

How to Exclude Pages from WordPress Search Results (Step by Step) – Website Tips

Do you want to learn how to exclude pages from the WordPress search results? By default, the internal search on your WordPress site will include all posts and pages in the search results. To make it easier for your site visitors to find what they’re looking for, you may want to exclude certain content, so it never appears in those results. In this article, we’ll show you how to exclude certain pages from the WordPress search results, step by step. Why Exclude Pages from WordPress Search Results? The default WordPress site search includes all of your posts, pages, and custom post types in the search results. This works well enough for many WordPress website owners. However, if you’re running an online store, then you may want to hide pages like your account page, checkout page, thank you page, and more. The same goes for those running membership websites or online…

0 Comments

Submit a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.