Jump to content

Blog page pagination links?

Recommended Posts

Site URL: http://fredfilms.com/shows

I have this script on my blog page:

  document.querySelectorAll('.BlogList-pagination-link-label').forEach(function(paginationLink) {
      if (paginationLink.textContent == "Newer") {
          paginationLink.textContent = "Previous page"; // Customize "Newer" text here
      } else {
          paginationLink.textContent = "Next page"; // Customize "Older" text here

It has successfully replaced the pagination link titles when I view the site through the squarespace editor, but now that the site is live and I'm viewing it on other browsers and not logged in to the admin it is still showing as Older/Newer

Any ideas how I can fix this so it works on the live site?

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

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.