<script>
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}})</script>
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?
Hi @Skwolven,
As mentioned in my reply to your other post, it may not be possible to ever get a code customisation working while Ajax loading is enabled.
Let me know if you've any questions.
Question
Skwolven 0
Site URL: http://fredfilms.com/shows
I have this script on my blog page:
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 post
Top Posters For This Question
2
1
Popular Days
Nov 12
3
Top Posters For This Question
Skwolven 2 posts
SpencerC 1 post
Popular Days
Nov 12 2020
3 posts
Popular Posts
SpencerC
Hi @Skwolven, As mentioned in my reply to your other post, it may not be possible to ever get a code customisation working while Ajax loading is enabled. Let me know if you've any questions.
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment