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

  1. lwrkrol
    Posted 3 years 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?


  2. BandonRandon
    Posted 2 years 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
    Posted 2 years 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

  • Glue Labs Page/Post Creation Limits
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic