I found this plugin Bainternet Posts Creation Limits witch let you add how meny post a user, role or group can create. The plugin description says:
Main Feature:
- 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. - Shortcode to limit front end post creation (NEW).
It looks like you have a function that matches your question: Limit number of any post type creation by user Role.
Related Posts:
- How to mark every 3rd post
- Count posts within a custom post type and specific taxonomy and terms?
- How to Display a List of Users Who Have Made at Least 1 Post?
- How to Display Network Post Count?
- How to cache a shortcode functions output?
- Count posts in category including child categories
- Count singular post views automatically
- Set font size automatically according to number of words in post
- Network wide post count (WP Multisite)
- Redirect based on user post count
- Alternate custom content in the loop
- Show that current post is number X out of X
- Show the author’s count of total amount of posts assign to a custom taxonomy term
- Double count view in archive.php
- Count to how many categories a post belongs to
- Count total number across post types
- Count search results in heading
- How to hide first gallery for every post?
- Counter of posts ever posted – even deleted ones
- Display Published Posts Count for Certain Time Period
- How can I get global $post to work for CPT and update user?
- Display Notification Bar on Header on Certain Post Count
- Show posts count for Categories and Tags in wp_nav_menu
- How to add category post count in main navigation menu [closed]
- Count number of posts of current month
- Howto show comment count by post in post?
- Counter is skipping post when I still want it visible [closed]
- Count several post tags
- Get post number both in the loop and in the post
- How do I insert a after every 5 posts in a WordPress Loop that infinitely loads posts?
- Count the number of a post types associated with another post type
- Echo the number of posts being displayed
- Display amount of pending posts in back/front end
- Count user posts and store the number for later use
- why the posts queried from sql is more than those showed on the page?
- Count the total views of all user posts published
- Author post count in category
- Set post title font size automatically according to number of words in post title
- Show post count in custom taxonomy page
- Count singular post views automatically
- How to count posts in tags within time limit
- Display Custom Post Category Count & WordPress Category Count Using Shortcode
- Counting Posts by Category
- Display number of post published every day
- Retrieve posts inside foundation tabs and tab-content split by 3 per row
- Alternative content between posts no repetition
- count_posts to a standalone link
- How to control Post view count incresing in sidebar widget posts too?
- How to mark every 3rd post
- Add a minimum word count to Excerpt (and how to force Excerpt as a rule for WyPiekacz)
- ho can I get the number of the current post instead of the post id?
- post_count not working
- Adding Count Post in Page
- Count words for all posts by all authors
- Word count for all posts of all authors
- Display post count on archive page in reverse order
- Turn a URL into an Attachment / Post ID
- How to get the number of posts in a selected category?
- Attach pdf file to custom post type
- Post Size Limit
- Looping through posts per category gives same posts for each category
- how to hide specific post from google search
- Accessing $post variable from template part
- Programmatically inserting page breaks
- get_terms parent for current product only
- How can I extract the URL of a link from a post?
- Save list from a custom meta box?
- Link button is not working while editing a post in Firefox [closed]
- How to get future ID for post which haven’t been created yet?
- Post Type Label Name
- How to pull blogposts using shortcodes
- Limit Gutenberg blocks available to users to choose from
- Display a post by ID attribute with shortcode
- Retain select value in select box
- how to get posts ids inside pre_get_posts filter?
- How to allow logged in users to post anonymously
- Custom Post Type – Category Rewrite – Remove Rewrite from Sitemap
- Custom Posts Query and meta_query Sort Order
- limit to months rather than by number of posts
- Simultaneous admin updates causes custom fields to not update
- Is there any way to tell when wp_postmeta has been updated?
- Add div before the first paragraph the_content [closed]
- Different number of posts per row in grid layout
- Is there a way of posting or inserting content directly to the database (without entering the wp-admin)?
- Get other posts sharing the same meta values
- why my urdu text is not aligned properly when written in wordpress blog post?
- shortcode // get posts by ids
- get posts, run a custom query, and join the results
- How to publish a post if condition is met?
- Blogposting Schema & Structured Data without plugin
- Post relationships/nesting
- Displaying dynamic content (blog posts/portfolio) on a static homepage and keep the blog post styles
- How can I display a specific number of post in a category via a url
- How to display term in archive page?
- Keep post format class with isotope filter
- How to arrange different post categories in template
- How to add audio media in a post?
- WordPress strips some attributes for author posts
- get value from post to sidebar
- How to have 2 posting pages on a blog