Thursday, September 3, 2015

How to Add a Post Creation Limit for WordPress Users

Have you ever wondered if it was possible to limit the number of posts a user can publish or submit for review? Recently one of our readers asked us how to limit the number of posts an author can publish on their WordPress site. In this article, we will show you how to add a post creation limit for WordPress users and look at why would you want to do that.

Limited Access

Who needs to limit post creation in WordPress?

This was a very unique request that we received, but the more we thought about it, the more it made sense. There are several use-cases where you may want to limit the number of post created by authors for specific period.

The simplest scenario can be if you run a multi-author blog, then you may want to limit the number of posts each author can submit per day, per week, or even by month.

Some membership sites give their members the ability to promote their content through announcements (posts or another post type). In that case, you may want to limit the number of announcement each member can post per week or per month.

Another great use-case is a listing directory of some kind. For example, you may have a real-estate directory where you allow agents to add properties. You can limit the number of properties each agent can add per day or per month.

Now these are just some of the use-cases that we thought of. There are probably various other cases where you may want to limit a number of post each user can publish based on their user role.

How to Limit Posts by Users in WordPress

First thing you need to do is install and activate the Limit Posts plugin. Upon activation, you need to visit Settings » Limit Posts page and click on the add new limit button to start adding post limits.

Add new limit

This will bring up the new limit posts rule popup where you can select a user role or an individual user on your site and limit the number posts they can publish or submit in a given time period.

Limit posts rule

Don’t forget to click on the save changes button to store your limits.

You can also edit or remove any post limits by visiting the same page. Simply click on the edit button to change a limit and then click on save changes button to update settings.

Save, edit, or update post limits

That’s all. Now when a user tries to create more posts than the set limit, they will receive a notification like this.

Post limits warning

You can set multiple post limits using different settings. For example, you can set one setting for author and the other for editors. You can also add new user roles in WordPress and custom post limits for users with custom user roles.

We hope this article helped limit posts users can publish on your WordPress site. You may also want to check our list 21 plugins to efficiently manage a multi-author WordPress blog.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

To leave a comment please visit How to Add a Post Creation Limit for WordPress Users on WPBeginner.

No comments:

Post a Comment