• I’d like to add the capability of uploading pictures to the “contributor” role.

    basically i want them to be able to upload pics etc without being able to Publish, only submit for review.

    is there a php file i need to adjust? thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Check with this plugin to edit the user role in wordpress:

    http://wordpress.org/extend/plugins/role-scoper/

    Thanks,

    Shane G.

    Thread Starter chrisallen8888

    (@chrisallen8888)

    searched forever then posted this, and then i find a thread about this topic.

    seems as if “role-manager” plugin is the only way.

    but it must be affecting a php file somewhere in the install right? anyone know?

    thanks.

    You could try this:

    <?php
    function add_role_caps() {
        global $wp_roles;
        $role = get_role('contributor');
        $role->add_cap('upload_files');
    };
    add_action ('admin_head','add_role_caps');
    ?>

    Just add that to your “functions.php” file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change user role – add upload to “contributor”’ is closed to new replies.