Jump to content

Trying to add custom code to Articles page; can't access title/content

Recommended Posts

Posted

Site URL: https://prism-cello-5x8j.squarespace.com/

I'm attempting to add a feature to my Squarespace site where I can filter the article visibility by a user provided set of words, rather than through the in-built filtering feature. However, when I try to add a custom code block, it's unclear to me how to access the article titles through the HTML as they seem to be randomly generated IDs. Furthermore, I'm not sure if I would be able to access the article content through the custom code block as well. 

squarespace.JPG

  • Replies 1
  • Views 358
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.