• Resolved sophiepasquiert

    (@sophiepasquiert)


    Hello,

    I try to add on my woocommerce endpoint a button that redirect to the private user page.

    However, if add the following code < a href=”[client-portal]” class=”any-class”>[client-portal] </a> the link direct me automatically to the private-page without clicking on the button. I want an action from the user, I want that the user can click on the link to be redirected instead of being automatically redirected. I hope it make sense, because on my endoint there is some content to read before to be redirected to the “private -page”.

    If i add the code < a href=”[client-portal]” class=”any-class”>Click </a> well then it does not work, I have the error : https://voyance-sophie.com/private-page/test1/&#8221;); </script>

    Is there a way, I can do https://voyance-sophie.com/private-page/”username&#8221;

    Regards

    Sophie

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support alexandrubodea

    (@alexandrubodea)

    Hi @sophiepasquiert,

    Instead of adding the [client-portal] shortcode inside the href attribute, try adding the URL of the page inside of which you have the Client Portal shortcode added (?[client-portal] ). For example something like the following example:?< a href=”https://yourdomain.com/clientportalpage” class=”any-class”>click here</a>

    Best regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode for the private-page’ is closed to new replies.