WordPress.org

Ready to get started?Download WordPress

Forums

Relevanssi - A Better Search
[resolved] Change role for setting up (5 posts)

  1. nowton
    Member
    Posted 1 year ago #

    Is it possible to have an editor edit the Relevanssi settings? We currently use the Members plugin to have granular control over user privileges. Thanks in advance,

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

  2. Mikko Saari
    Member
    Plugin Author

    Posted 1 year ago #

    Give the editor "manage_options" capabilities, because that's what Relevanssi requires.

  3. nowton
    Member
    Posted 1 year ago #

    Thanks for the prompt response; that however opens up a myriad of other options in the backend - which I'd rather hide. Any other possibility?

  4. Mikko Saari
    Member
    Plugin Author

    Posted 1 year ago #

    You can modify the capability in relevanssi_menu() which is in lib/common.php. I already have a filter to adjust the capability for the User searches dashboard page, I'll add a filter for the Relevanssi settings in the next version.

  5. nowton
    Member
    Posted 1 year ago #

    Close ;-) the function is in init.php, not common.php. Nevertheless, I managed to sort it like this. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic