WordPress.org

Ready to get started?Download WordPress

Forums

WP-Polls
Possible for Editor to manage polls? (5 posts)

  1. bridgetwes
    Member
    Posted 2 years ago #

    Hi,

    I might be missing something right in front of my face, but is it possible for Editors to be able to manage polls? I'd like to give my client access to manage the polls without adding all the extra stuff Admins can do. When I log in as an Editor, the Polls menu does not display.

    Thanks!
    Bridget

    http://wordpress.org/extend/plugins/wp-polls/

  2. bridgetwes
    Member
    Posted 2 years ago #

    I figured out how to allow Editors to manage Polls. Add the following to your functions.php file.

    function add_poll_capability_to_editor() {
        $role_object = get_role( 'editor' );
        $role_object->add_cap('manage_polls');
    }
    add_action( 'admin_init', 'add_poll_capability_to_editor');
  3. stefan.kruger
    Member
    Posted 2 years ago #

    Thanks a lot, this is the droid code I was searching for ! \o/

  4. pajaro
    Member
    Posted 2 years ago #

    Hi Bridgetwes and Stefan.Kruger,

    You can load the "capability manager" plugin. There is a check box for "manage polls". Set this and other check boxes for managing user capabilities and roles.

    Hope this helps...

  5. Wesam Alalem
    Member
    Posted 1 year ago #

    Thank you @bridgetwes, that's what I was looking for.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags