alym Posted April 8, 2021 Share Posted April 8, 2021 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
Beyondspace Posted April 11, 2021 Share Posted April 11, 2021 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 - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.