WordPress.org

Forums

WP Job Manager
[resolved] Capabilities (5 posts)

  1. coyotito
    Member
    Posted 1 year ago #

    Adding only one role e.g. "employer" in resume visibility works fine but when trying to add more than one role e.g. "employer, administrator" it doesn't work. I tried with with and without space after comma but can't get the results.
    How do I do this? For Example when I want resumes to be visible to employer and administrator?
    I checked this: http://codex.wordpress.org/Roles_and_Capabilities but couldn't solve it.

    https://wordpress.org/plugins/wp-job-manager/

  2. Mike Jolley
    Member
    Plugin Author

    Posted 1 year ago #

    I'd suggest using a custom capability. Create one and add it to the roles you want using https://wordpress.org/plugins/user-role-editor/, then use this one capability in the setting.

  3. yerbol05
    Member
    Posted 1 year ago #

    So, while being Admin i cant view the resumes on the frontend? Only employers can?
    Even if I add new Role, for example admin-employer, I cant give this role to everyone. So, it means the plugin that you suggest is not helping us.

  4. Mike Jolley
    Member
    Plugin Author

    Posted 1 year ago #

    @yerbol05 CAPABILITIES are not the same as roles- caps can be given to any role. Read the codex doc.

  5. yerbol05
    Member
    Posted 1 year ago #

    Ok, thanks! I added new capability to both employers and editor (admin by default) and this capability to settings of plugin.
    Now it works!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Job Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.