Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Aaron

    (@akeith2002)

    Also, in the same breath, is there or can there be a way to use the [restricted] shortcode without outputting a message? I would like to wrap a ‘log out’ menu item in a navigation and only show it when they are logged in but I do not want to display all of that “you must be logged in stuff”

    Plugin Author Rustaurius

    (@rustaurius)

    Hi Aaron,

    There’s not a way to add a “log in” message right now for the “restricted” tag, but we’ll be sure to add that to the next version.

    For your second point, we’ll add in a “no_message” attribute to the restricted tag, to enable the functionality you envision. Also we’re planning a function to check whether someone is logged in or not that can be used in theme templates, so that might work as well.

    Plugin Author Rustaurius

    (@rustaurius)

    This was included in version 1.0 onwards.

    How do I add the “no_message” attribute to the [restricted] shortcode?

    Plugin Author Rustaurius

    (@rustaurius)

    Hi,

    It should look like this:

    [restricted no_message=’Yes’]…content…[restricted]

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change Default Restricted Message’ is closed to new replies.