post creation limits

Post Creation Limits V2

This updated has been long overdue but fear not, its here!
Post creation limits plugin has got a major update which includes a new limit rules system, rewritten in OOP, major multisite support update, a new UI and an auto migration form old options system.

  

Screenshots:

Limit rules admin panel Add New limit Rule
Custom Limit block Image

  

What does it do?

This Plugin allows you limit the number of post, pages or custom types a user can create in your site.
  

How does it work?

Say you have a multiple author blog and you want to limit the number of posts each author can post.
Another example would be using multisite install of WordPress and you want to allow each sub site to have only 4 pages (or more if that user pays you) then this plugin is just for that.

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.

  

Features:

  • Limit number of any post type creation.
  • Select Post Status to count. (NEW)
  • Limit number of any post type creation by user Role. (NEW)
  • Limit number of any post type creation by user ID. (NEW)
  • New Limit Rule System (faster and stable).
  • Custom blocked message For each Rule. (NEW)
  • MultiSite Support. (Fixed and works better then before)
  • ADD NEW Links are removed when limit is reached (NEW)
  • 0 Now means ZERO so Its actually blocks the user from creating at all

  

Download:

Download the latest Version from WordPress.org

Simple Installation steps:

  1. Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation.
  2. Then activate the Plugin from Plugins page.
  3. Done!

  

Usage:

Simply set your limitation rules in the plugin's admin panel under settings-> post creation limits.

Multisite Usage:

On multisite install of WordPress the plugin will limit the creation of all posts in main and sub sites based on the settings saved in the main site dashboard but you can have a site specific limit rules by entering each site's dashboard and creating it's own rules.

this is it, enjoy and any feedback is welcome, also make sure to submit bug if you find any.

  

Change Log:

  • 2.1
    • Fixed Multisite support.
    • Added site specific (in a multisite) settings option.
    • custom limit block message. select post status to count.
  • 2.0
    • Hide add new when limit is reached.
    • Auto migration from old limits to new rule system.
    • 0(Zero) no longer means unlimited so its actually a sure block.
  • 1.9
    • Admin UI remake. New Rule System.
  • 1.8
    • added block by user id.
  • 1.7
    • Re Coded in OOP.
  • 1.6
    • none public update
  • 1.5
    • none public update
  • 1.4
    • none public update
  • 1.3
    • none public update
  • 1.2
    • none public update
  • 1.1
    • Quick bug fix
  • 1.0 Major update
    • added custom blocked message feature.
    • new limit by role feature.
    • Added multisite support.
  • 0.6
    • Changed post Count function to speed it up.
  • 0.5
    • added custom post type support and recoded most of it.
  • 0.4
    • added options panel.
  • 0.3
    • quick bug fix.
  • 0.2
    • admin is now never limited.
  • 0.1
    • initial release

Ohad Raz

WordPress Consultant, a WordPress Developer and a WordPress Freelancer With over 10 years experience in architecting web sites and applications. WordPress Development moderator and somethimes Plugin Developer.