Step 1: Install Memberstack Extended (MSX) script
Add the following code to the <BODY> section in your global site scripts.
<script type="module" src="https://memberstack.github.io/memberstack-x/dist/memberstack-x.es.js"></script>
Step 2: Add this Data Attribute to Links or Buttons
Add the following data attribute to any anchor link or button element. Replace the value inside quotes with the custom field ID that you want to source URL values from.
data-ms-x:link="your_custom_field_with_link_value"
For example, if you have a custom field with the ID: facebook-profile
:
data-ms-x:link="facebook-profile"
Comments
2 comments
Just a heads up that the code provided is slightly different than that in the video. I believe it should be:
This feature is awesome though!
Xavier Updated! Thank you 🙏
Please sign in to leave a comment.