Guest Posted November 2, 2021 Share Posted November 2, 2021 Hi, I am trying to add both anchor and category to a link. Is there a way to do that? I'm unable to share the website link, sorry. Thanks and hope to hear from you soon. Van Link to comment
SquareRefresh Posted November 2, 2021 Share Posted November 2, 2021 Hey @vannguyen try this /collectionName?category=categoryName SquareRefresh, premium plugins & templates that have an elevated feel. Plugins: Have your site stand out. Templates: Our templates are designed with versatility in mind.Get Freebies: Sometimes things in life are free. Browser our hand selected free plugins. Link to comment
paul2009 Posted November 2, 2021 Share Posted November 2, 2021 1 hour ago, vannguyen said: I am trying to add both anchor and category to a link. Is there a way to do that? I'm unable to share the website link. Best practice is to add the anchor (the "fragment identifier") after the category query string. Depending on the structure, you may be able to use a static URL instead of a query string but without seeing the site it's difficult to be more specific. 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. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Guest Posted November 3, 2021 Share Posted November 3, 2021 On 11/2/2021 at 8:57 PM, paul2009 said: Best practice is to add the anchor (the "fragment identifier") after the category query string. Depending on the structure, you may be able to use a static URL instead of a query string but without seeing the site it's difficult to be more specific. Hi Paul, thanks for your help. What would be the query string for the category? I tried ?category=English (ie. my category is English) but it didn't work. Thanks, Van Link to comment
Guest Posted November 3, 2021 Share Posted November 3, 2021 On 11/2/2021 at 7:44 PM, SquareRefresh said: Hey @vannguyen try this /collectionName?category=categoryName Hi, I tried that query but it didn't work... Also I need to add an anchor as well but couldn't figure out how to make it work. Van Link to comment
paul2009 Posted November 3, 2021 Share Posted November 3, 2021 13 minutes ago, vannguyen said: What would be the query string for the category? Please provide a working link to the collection page so we can check. 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. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment