I needed a solution to limit the creation of a custom post type to one by each user for a client of mine and I couldn’t find one so I wrote this small plugin just for that, and extended it a bit to limit any kind of registered post type.
What does it do?
This plugin helps you to limit the number of posts/pages/custom post types each user can create on your site. say you have a multiple author blog and you want to limit the number of posts each author can post.
very simple and light wieght plugin that runs only when user tries to crate a new post of any kind (post,page,attachment,or any custom post type) and check if he has reached his limit.
Download the latest Version from WordPress.org
- Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation.
- Then activate the Plugin from Plugins page.
- Go to Plugins option panel named “Post Creation Limits” under options.
- Setup your limits Per each post type.