*Note: This feature has been deprecated. Instead, use our data attributes to show and hide content based on the membership seen here!

Use the data-ms-rewrite attribute to add, remove, or change the text of any element for active members. This way, your site copy can dynamically adjust to something more appropriate for members who are already logged-in.‍

Step 1 → Find an element on your site with some text you'd like to change or remove.

Step 2 → Add data-ms-rewrite="Your new text goes here" to the element. When a user logs in, they will see your new message in place of the original text.

Example: replace "Hey there!" with "Welcome back!"

<span data-ms-rewrite="Welcome back!">Hey there!</span>
Did this answer your question?