I am working on my site and I need a button in the header that only appears to members. When it is clicked it takes members to their own file share landing page based on their assigned role. Anyone have a solution to this?
Hi, @Jarrett_Bailey !!
I think it would be a good idea to write the code to determine whether the current site visitor is a member in the masterPage.js file. You’ll also need to add a simple process that displays the button if the user is a member, and hides it if they’re not. In the Wix Editor UI, make sure to set the button’s default state to hidden. For the code that checks membership status, you might consider using the following API as a base for development. 
2 Likes
Yes, this thread has the solution to the exact same query (involves a few lines of code):
1 Like