Jump to content

How to Format Blog Post Dates in 7.1

Recommended Posts

Site URL: https://www.floranella.com/recipes/lemon-balm-popsicles

I would like the date to appear above the title on each of my individual blog posts.

Right now, when I enable the date to be visible, it appears above the title in the following format: "Aug 13"

I would like it to appear this way: "August 13, 2019"

I searched the forums for a fix for this and found someone who had created code we could insert in the advanced settings, but when I go to the Code Injection page, it only allows me to paste the code into boxes titled "Header," "Footer," "Lock Page" or "Order Confirmation Page," none of which seem to affect the blog posts at all. I did paste the code into the header box to see what would happen and it did not produce any change.

I am not very tech savvy. If any of you know how to make this change and could walk me through how to do it, I would be so grateful!

 

[Updated to Add: I have figured out how to get the year to show by inserting code into the footer section (I have attached an image of the code I used and an image of the resulting change), but I have not figured out how to get the full month to display instead of just the first three letters.]

squarespace.png

ss2.png

ss1.png

Edited by ErinSt
Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 2/24/2022 at 2:32 AM, ErinSt said:

Site URL: https://www.floranella.com/recipes/lemon-balm-popsicles

I would like the date to appear above the title on each of my individual blog posts.

Right now, when I enable the date to be visible, it appears above the title in the following format: "Aug 13"

I would like it to appear this way: "August 13, 2019"

I searched the forums for a fix for this and found someone who had created code we could insert in the advanced settings, but when I go to the Code Injection page, it only allows me to paste the code into boxes titled "Header," "Footer," "Lock Page" or "Order Confirmation Page," none of which seem to affect the blog posts at all. I did paste the code into the header box to see what would happen and it did not produce any change.

I am not very tech savvy. If any of you know how to make this change and could walk me through how to do it, I would be so grateful!

 

[Updated to Add: I have figured out how to get the year to show by inserting code into the footer section (I have attached an image of the code I used and an image of the resulting change), but I have not figured out how to get the full month to display instead of just the first three letters.]

squarespace.png

ss2.png

ss1.png

For the date format, you can try the following guide:

Let me know if it works properly

Edited by bangank36

Greeting, it's 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, Keyword Highlighter
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
  • 4 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.