WordPress.org

Ready to get started?Download WordPress

Forums

Organize Series
Only Administration can post from series (2 posts)

  1. dewdropz
    Member
    Posted 1 year ago #

    i want only Administration can post this series category. this widget http://www.projuktichowa.com/wp-content/uploads/2013/05/2013-05-30_014950.jpg hide from all author admin post panel. how i can do it?

    http://wordpress.org/extend/plugins/organize-series/

  2. Iftekhar
    Member
    Posted 3 months ago #

    At first open 'orgSeries-admin.php' file. Then replace 'orgseries_add_meta_box' function with the following code:

    function orgseries_add_meta_box() {
        global $orgseries;
        $posttypes = apply_filters('orgseries_posttype_support', array('post') );
        foreach ( $posttypes as $posttype ) {
            if(current_user_can( 'delete_plugins' )) {
                add_meta_box('seriesdiv', __('Series', 'organize-series'), 'series_edit_meta_box', $posttype, 'side');
                remove_meta_box('tagsdiv-series', $posttype, 'side'); //removes series meta box added by WordPress Taxonomy api.
            } else {
                remove_meta_box('seriesdiv', $posttype, 'side');
                remove_meta_box('tagsdiv-series', $posttype, 'side');
            }
        }
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic