WordPress.org

Ready to get started?Download WordPress

Forums

Private Content
Private shortcode for custom roles (4 posts)

  1. Candelier
    Member
    Posted 1 year ago #

    Hi there,
    Many thanks for the plugin, it works great! I have created some custom WordPress roles (with User Role Editor plugin). Is it possible to make the shortcodes work for those as well?

    http://wordpress.org/extend/plugins/private-content/

  2. aldolat
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    in this moment it's impossible, because this would require to guess all the roles everyone can imagine. So the plugin uses the standard WordPress roles.

    Anyway, I'll take a look if there's a chance to add this feature.

    Cheers.

  3. Alan Porcella
    Member
    Posted 1 year ago #

    Works beautifully, but are you planning on adding in the option of it displaying a message that content exists that can only be seen by logging in or registering? The other option would be to put in a string like [private role="public-only"]Text for public viewing only[/public] nest to the private string so that a message that tells them there is content to be read by registering or logging in will disappear when they login, and the actual message will appear?

  4. aldolat
    Member
    Plugin Author

    Posted 1 year ago #

    @Alan
    For this purpose you can use a plugin like Members.

    P.S. Sorry for the delay, but sometimes the forum doesn't send any notification for new posts.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.