• Resolved felipegb94

    (@felipegb94)


    Dear Profile Builder Staff,

    I want to have a link inside my wppb-restrict message. Something like:

    [wppb-restrict user_roles=”test_user” message=”Link to content“].

    When I try the above the message does not get displayed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • dariusraia

    (@dariusraia)

    Hello @felipegb94,

    Thank you for reaching out to us.

    This is a bug from our side. The hmtl link command is currently not recognized in the shortcode.

    I have forwarded this to our dev team where they shall find a fix for it in the next version of Profile Builder.

    Kind regards,

    dariusraia

    (@dariusraia)

    Hello @felipegb94,

    Please excuse my previous message, this is not a bug.

    The link works, but the shortcode must be added to the page via a shortcode block. If you add the shortcode block, everything will work as expected and you should be able to see the link as well.

    Example:

    [wppb-restrict user_roles=”subscriber” message=’You must be logged in to view this content‘]
    Aenean quis arcu eleifend, tincidunt ligula quis, laoreet lectus.
    [/wppb-restrict]

    I have added this via the Gutenberg shortcode block, and the link is visible to all the users that have a restricted account.

    Again, please excuse my previous message, it was my misunderstanding.

    Try it as explained here and let me know if it works this time.

    Kind regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add link in restrict content message’ is closed to new replies.