WordPress.org

Ready to get started?Download WordPress

Forums

Pretty Link Lite
[resolved] Enable Pretty Links for other roles (5 posts)

  1. Alex
    Member
    Posted 8 months ago #

    Hi guys,

    I'm using Pretty links for a while now and I'll need to enable it for contributors on my blog. Does the plugin have a custom capability to enable ? or do I need to edit the plugin ?

    Thanks for your help :)
    Alex

    http://wordpress.org/plugins/pretty-link/

  2. cartpauj
    Member
    Plugin Author

    Posted 7 months ago #

  3. Scorpiono
    Member
    Posted 7 months ago #

    cartpauj, thanks for the great support.
    I did edit the role and made it "author" but now my administrator doesn't see pretty link while the author does so it's not a min-userrole requirement.

    Can I make it for anyone above author?
    I'd certainly switch to PRO once the site generates more revenue for the cloaking abilities but the lite could have this functionality.

    Thanks!

  4. cartpauj
    Member
    Plugin Author

    Posted 7 months ago #

    What you'd need to do is use a capability instead of a Role. So, something like 'publish_posts' might work. Basically you need to find a capability that authors and above would have, but that roles below that would not have. http://codex.wordpress.org/Roles_and_Capabilities#Author

  5. Scorpiono
    Member
    Posted 6 months ago #

    Thank you very much, that worked and I wanted to post this so that everybody can see and use! ;)

Reply

You must log in to post.

About this Plugin

About this Topic