Jump to content

Adding meta tags specific for each blog post (per-post code injection)

Recommended Posts

Hi, I just have a general inquiry about the code injection feature. My site is not live yet but I need each of my blog posts to contain different set of underlying HTML meta tags. Therefore, I require per-post custom header code injection and not generic code injection across all posts. Is there a way to inject specific code for an individual blog post?

Thanks!

Link to comment
  • Replies 4
  • Views 642
  • Created
  • Last Reply

Top Posters In This Topic

8 hours ago, Chatrbox said:

Hi, I just have a general inquiry about the code injection feature. My site is not live yet but I need each of my blog posts to contain different set of underlying HTML meta tags. Therefore, I require per-post custom header code injection and not generic code injection across all posts. Is there a way to inject specific code for an individual blog post?

Thanks!

I think we can take advantage of post tagging to add their own code injection, I did for a client to add custom description for each product

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
12 hours ago, bangank36 said:

I think we can take advantage of post tagging to add their own code injection, I did for a client to add custom description for each product

So to be clear, I'd like to define something like this for each individual blog post:

<meta property="my_custom_property" content="some_post_specific_value" />

Is this possible?

Link to comment
  • 11 months later...

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.