Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Display Excerpt on Events Page


Recommended Posts

Hi all-

How do I display an event's "Excerpt" on its event page without having to type it in twice--once in the "Settings" and again on the individual pages?

Basically I want this excerpt info:

image.png.efb89228459406a2ee717c59c4ecaeb1.png

To display on here, the Individual Event page:

image.png.7af9799a2cb1f9e46f0251f8f379119d.png

I've tried a work around by using JavaScript to pull the OG:Description metadata, but that imposes a character limit that I would like to get rid of.

Anyone know the code to have the excerpt (or thumbnail or any of the data entered in "Settings") populate on the page itself? It seems like it should be easy since it is a built in functionality when events or blog posts are used in summary blocks, but I just can't find it anywhere.

Thanks!

 

image.png

Link to comment
7 hours ago, CallicoonTheater said:

Hi all-

How do I display an event's "Excerpt" on its event page without having to type it in twice--once in the "Settings" and again on the individual pages?

Basically I want this excerpt info:

image.png.efb89228459406a2ee717c59c4ecaeb1.png

To display on here, the Individual Event page:

image.png.7af9799a2cb1f9e46f0251f8f379119d.png

I've tried a work around by using JavaScript to pull the OG:Description metadata, but that imposes a character limit that I would like to get rid of.

Anyone know the code to have the excerpt (or thumbnail or any of the data entered in "Settings") populate on the page itself? It seems like it should be easy since it is a built in functionality when events or blog posts are used in summary blocks, but I just can't find it anywhere.

Thanks!

 

image.png

You can use ajax to fetch the event content by append ?pretty-json to its url, then you can get the excerpt there

View JSON Data — Squarespace Developers

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Portfolio hover Replace Link Style
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...