WordPress.org

Ready to get started?Download WordPress

Forums

Glue Labs Page/Post Creation Limits
custom post type (3 posts)

  1. lwrkrol
    Member
    Posted 1 year ago #

    "this plugin helps you to limit the number of posts/pages/custom post types each user can create on your site"

    You mention custom post types, installed the plugin but can not find the support for this. Not available yet ? So when?

    http://wordpress.org/extend/plugins/limit-post-creation/

  2. Brooke Dukes
    Member
    Posted 1 year ago #

    This isn't tested but you should be able to find
    if($page_type=='page'){ in the core file and then copy the block and replace page with custom_post_type

    For example replace if($page_type=='page'){ with if($page_type=='custom_post_type'){ then the rest of the block.

  3. Giuly09
    Member
    Posted 1 year ago #

    And in the option page (misc/opt_page.php) you have to add this code:

    <td><input name="post_role_limits[<?php echo $role ?>][custom_post_type]" type="text" value="<?php echo $options['post_role_limits'][$role]['custom_post_type'] ?>" class="samll-text" /></td>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic