wa7245 Posted April 28, 2022 Posted April 28, 2022 Hi all, we feature our latest newsletter on our front page of our website, and we were wondering if there was a way to automatically update the button link to go to the most recent newsletter as opposed to having to go in and manually change the link to this months newsletter?
tuanphan Posted May 1, 2022 Posted May 1, 2022 Not possible. You try posting this to some groups on FB: Squarespace Customization Resource Group, Squarespace Community,.. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
paul2009 Posted May 1, 2022 Posted May 1, 2022 On 4/28/2022 at 8:21 PM, wa7245 said: we were wondering if there was a way to automatically update the button link to go to the most recent newsletter as opposed to having to go in and manually change the link to this months newsletter? It will depend on the newsletter format and how it is accessed. However, JavaScript could be written to update a link each time a page is loaded. For example, if the newsletter was always named "newsletter-" plus the month and year, then if today is 1st May 2022 the link could be set to "/s/newsletter-may2022.pdf". If you provide a working link to the page, forum users can take a look. tuanphan 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment