Jump to content

Changing blog post pagination in Squarespace from Previous/Next

Recommended Posts

Site URL: https://www.isabelhagen.com/episode-list/6b

Hello,

Looking to change the "Previous/Next" navigation to "Newer/Older", in that order. Using York theme. No CSS I am finding works 😞 Most CSS has not made any effect. However, trying this

Quote

.BlogItem-pagination-link--prev
{display: none;}
.BlogItem-pagination-link--next
{display: none;}

eliminated the links altogether, but couldn't figure out the right tweak to just change the text. Having the title of the blog post (in this case podcast title) is still desired.

Thank you!!!!

Link to comment
  • Replies 5
  • Views 941
  • Created
  • Last Reply
  • 3 months later...

Anyone up for changing the blog pagination for template Forte? :-)

URL: https://biosis.dk/feed

Instead of "Older" I would like it to say "Continue".
Here's what I have under Code Injections > Header:

<!-- Blog Pagination -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
 $(document).ready(function() {
 var text = $('.pagination').html();
 text = text.replace('Prev', 'Continue');
 text = text.replace('Continue', 'Newer');
 $('.pagination').html(text);
});
</script>

Thanks :-)

Link to comment
On 2/2/2021 at 6:41 PM, nonconfinia said:

Anyone up for changing the blog pagination for template Forte? :-)

URL: https://biosis.dk/feed

Instead of "Older" I would like it to say "Continue".
Here's what I have under Code Injections > Header:


<!-- Blog Pagination -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
 $(document).ready(function() {
 var text = $('.pagination').html();
 text = text.replace('Prev', 'Continue');
 text = text.replace('Continue', 'Newer');
 $('.pagination').html(text);
});
</script>

Thanks :-)

I think You can replace Prev with Older?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.


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