• Resolved cassihl

    (@cassihl)


    I have embedded the shortcode wa_restricted on my “member’s only” page to hide content from non-members. In addition to the log in button, is there a way to add a link or another button for people to register if they don’t have an account? I do have a Registration page where I have embedded the registration form. Here is an example of what I’ve attempted:

    [wa_restricted roles="Member $150 Level, Member $200 Level, Member $250 Level, Member $300 Level, Member $400 Level, Member $500 Level, Member $600 Level, Member $700 Level, Member $88 Level, Member: $100 Level" login_label="Log in" message='This page is for members only. Log in to view restricted content. If you would like to create an account, <a href="/create-account/">click here</a>.']
    Welcome to the Members Only Section...
    [/wa_restricted]

    But adding a link into the message doesn’t work… Is there anything else I can do?

    Thanks!

    https://wordpress.org/plugins/wild-apricot-login/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Wild Apricot

    (@wild-apricot)

    Thank you for your question.
    Unfortunately it’s not possible in the current plugin version.
    We’ll add ability to use html-markup inside shortcode message attribute in the next plugin version.

    Thread Starter cassihl

    (@cassihl)

    Thanks for the response. I’ll find another way to do this.

    Plugin Author Wild Apricot

    (@wild-apricot)

    We updated our plugin and add this to the new version (1.0.9). Now you can use html-markup in the ‘message’ attribute of wa_restricted shortcode.
    Note: Please, make sure that your html-markup is valid.

    Thread Starter cassihl

    (@cassihl)

    That’s great! Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Register link in shortcode’ is closed to new replies.