
A plugin to allow administrators to limit the number of posts a user can publish or submit for review in a given time period.
This plugin allows you to limit the number of posts (any post type, including custom post types) that a user can publish or submit for review within a specified time period.
You can set up as many limits as you like, for different post types, different user roles, whatever you like. When a user tries to create a new post, the limits are checked, if the user has exceeded any of the limits, they wont be able to publish.
In your WordPress dashboard go to Plugins > Installed Plugins > click Activate just under Limit Posts.
In your WordPress dashboard go to Settings > Limit Posts. Here you’ll be able to set up limits.
NB When you add a new limit, edit a limit or delete a limit, you must click Save Changes. If you don’t click Save Changes, your changes will be lost.
Click on the View support forum button on the right.
A message will be displayed, informing the user that the limit has been reached. The publish section will not be displayed, so the user will not be able to attempt to publish a post.
To use the limit rules functionality on your own forms you’ll need to add a shortcode to your page:
[limit_posts] your form code [/limit_posts] The following parameters can be used with the shortcode:
type - this is the post type that the form is dealing with. Values for this can be any post type or custom post type, that you currently have. Default is post. action - this is the action which the form submit will take. Values for this can be publish (where submit will publish) and submit for review (where submit will submit for review). Default is publish Example:
‘[limit_posts type=”post” action=”publish”] your form code [/limit_posts]’
‘limit_posts_shortcode_ok’ – when a user can see the form.
‘limit_posts_shortcode_limit_exceeded’ – when the user limit is reached.
‘limit_posts_shortcode_not_logged_in’ – when user is not logged in.
Yes, simply create a rule as you normally would, but set the Category to ALL. So all users, whatever category they are in, will be checked against this rule.
Initial release
Minor bug fixes
Minor bug fixes.
Rules can now be created for individual users.
Publish or Submit for review can now be chosen for a rule.
Bug fix – undefined index publish_action limit-posts 205.
Bug fix – undefined index publish_action limit-posts 332.
Bug fix – Disable post css not always being enqueued correctly.
Bug fix – Post type not being shown correctly when editing a rule.
Sorted out some issues with the text domain, for translation purposes.
Add All user category so admins can limit total publications for a post type.