WordPress.org

Ready to get started?Download WordPress

Forums

MaxButtons: WordPress Button Generator
[resolved] Available to other editors?? (7 posts)

  1. kwd
    Member
    Posted 1 year ago #

    How can I add other users so they can make buttons? Right now only admin can do this. I need it to show up in other users dashboard. There is a purple button in the editor, however, they will need to create the buttons.

    Thanks

    http://wordpress.org/extend/plugins/maxbuttons/

  2. maxfoundry
    Member
    Plugin Author

    Posted 1 year ago #

    We also answered this on the Pro forums, but will do so here as well. To let non-admin users create buttons, you'd have to make a code change. If you're not comfortable with that, then we'll have to build some sort of roles/permissions functionality in a future release.

  3. kwd
    Member
    Posted 1 year ago #

    Thanks for replying. Yes, I am comfortable with code changes, just don't know what to change. If you can tell me what and where to change code I would be much grateful. I also responded in the pro forum.
    Thanks again

  4. maxfoundry
    Member
    Plugin Author

    Posted 1 year ago #

    I answered in the Pro forum, so here it is for the free version as well (which is slightly different from the Pro version):

    In the maxbuttons plugin folder is a file named maxbuttons.php. Line 118 is where the capability is defined and looks like this:

    $capability = 'manage_options';

    To open let anyone create buttons, change that line to this:

    $capability = 'read';

    For further capabilities reference, see the Roles and Capabilities page on the codex.

  5. kwd
    Member
    Posted 1 year ago #

    Perfect! Thank you.

  6. maxfoundry
    Member
    Plugin Author

    Posted 1 year ago #

    Great, glad to hear it.

  7. kwd
    Member
    Posted 1 year ago #

    RESOLVED!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic