Replace the header account link with the members' first name.
- 0.2.0
-
7.1
-
7.0
- Not Applicable
- Squarespace plan that supports JavaScript.
-
Add code from file header account link text replace with first name.html to Website > Pages > Custom Code > Code Injection > FOOTER. Refer to Add code to code injection for details.
-
Read the code for any instructions within.
The code adds a twc-haltrwfn CSS class name to each account link in the Page for use in your custom CSS.
The code does not change Squarespace's default behaviour of having the Account link text appear, even though you have been automatically signed out of the member account and need to click the link to sign in again.
You can see a demo of this effect here.
Please consider making a donation.
-
2025-01-15
- get the first name, when available, from memory instead of a call to URL
- bumped version to 0.2.0
-
2025-01-13
- initial version