In the header of my website, I want to add a “My profile” link where the current logged in user is redirected to his profile.
I have a custom field on Memberstack which is the webflow slug (url)
In webflow, I know how to get this slug in a html text : “data-ms-member=slug-webflow” will show mysite.webflow.io/user/slug for example
but I want to put this text in a <a href=""> so the link can be dynamic
@ChrisDrit I tried it first but it doesn’t work: the text link shows the slug but the link is “#”
@Josh-Lopez it does work I adapted a little the code (I needed to concatenate two strings) and I put the script code in the page settings before the </body>. One thing to remember is to put the script code after the a href because it doesn’t work if it’s before.