• Resolved Masud

    (@masudcu)


    Hi!

    I gave a hyperlink to the message option of ‘usp_member deny’ shortcode. But it doesn’t show to the output.

    for example: [usp_member deny=”Please, read our policy before registration.”][/usp_member]

    this shortcode is not supported. help me please.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Starr

    (@specialk)

    It’s not currently possible. But you could maybe workaround like so:

    [usp_visitor]
    Please read our <a href="#">Policy</a> before registration.
    [/usp_visitor]
    
    [usp_member]
    Whatever you want to display to logged-in users.
    [/usp_member]

    I’ve added this to the to-do list for the next update. So it will be possible to include links and other markup in the deny attribute (and others).

    Thanks for the feedback, @masudcu.

    • This reply was modified 4 years, 8 months ago by Jeff Starr. Reason: formatting
    Thread Starter Masud

    (@masudcu)

    Waiting for next update. Thanks for your feedback.

    Plugin Author Jeff Starr

    (@specialk)

    Just to follow up with this. You can add a link inside of the deny attribute like so:

    [usp_member deny="This is a {a href='https://example.com'}link{/a}"]

    For this to work:

    • Replace angle brackets in the link with curly brackets
    • Use single quotes for the attribute values

    This works for the attributes for any of these shortcodes:

    [usp_access]
    [usp_visitor]
    [usp_member]
    • This reply was modified 4 years, 7 months ago by Jeff Starr.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTML code doesn’t support in shortcode message’ is closed to new replies.