Jump to content

Automatically Copy Blog Text into Blog Excerpt?

Recommended Posts

Site URL: https://stephaniewolfpr.squarespace.com/config/

Hi! I'm wondering if it is possible to add code to our blog page so that all blog post text can automatically populate the Blog Except field.

Our blog posts only have 3 lines of text, so we've been copying and pasting that text into the blog excerpt box for each post. The problem is, we have more than 800 blog posts so doing this for every post would take ages. Before we get started on that project, I'm wondering if it could happen automatically with code. 

To view our page, the password is Prosezebra11

thank you!

Aly

Link to comment
  • Replies 1
  • Views 582
  • Created
  • Last Reply
On 4/9/2021 at 1:06 AM, alym said:

Site URL: https://stephaniewolfpr.squarespace.com/config/

Hi! I'm wondering if it is possible to add code to our blog page so that all blog post text can automatically populate the Blog Except field.

Our blog posts only have 3 lines of text, so we've been copying and pasting that text into the blog excerpt box for each post. The problem is, we have more than 800 blog posts so doing this for every post would take ages. Before we get started on that project, I'm wondering if it could happen automatically with code. 

To view our page, the password is Prosezebra11

thank you!

Aly

What is your use case of blog excerpt, is it on summary block?

The blog body content can be access via JSON like so View JSON Data — Squarespace Developers

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.