• Resolved woeterman_94

    (@woeterman_94)


    Help! The tag is not working for me with custom roles.

    I created a role “vip” with the Members plugin, and the tags are not working
    [private role=”vip”]test text for vip[/private]
    [private role=”vip-only”]test text for vip[/private]

Viewing 1 replies (of 1 total)
  • Plugin Author Aldo Latino

    (@aldolat)

    Hello,
    the role option must contain one of the WordPress default roles, not a custom role, for example:

    [private role=”author”]Text for Authors[/private]

    or

    [private role="editor-only"]Text for Editors only[/private]

    Knowing this, you can assign (using an external plugin, like Members) any capability of the plugin “Private Content” to your custom role. For example, “VIP can read Author notes”.

    After this, VIP will be able to read notes from this shortcode:

    [private role="author-only" alt="You are not Author"]Text for Authors only[/private]

    but not from this:

    [private role="author" alt="You are not Author"]Text for Authors[/private]

    Let me know, please.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom tags not working? :(’ is closed to new replies.