WordPress.org

Support

Support » Plugins and Hacks » Glue Labs Page/Post Creation Limits » [Plugin: Glue Labs Page/Post Creation Limits] custom post type

[Plugin: Glue Labs Page/Post Creation Limits] custom post type

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Glue Labs Page/Post Creation Limits] custom post type’ is closed to new replies.
Skip to toolbar