Jump to content

Replacing titles with "previous" and "next" in blog pagination

Go to solution Solved by Ziggy,

Recommended Posts

Posted

Yes, this is possible, can you share your website URL? Thanks!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

  • Solution
Posted

Try using this Custom CSS:

.item-pagination-link--prev {
  .item-pagination-title {
    display:none;
  }
  .pagination-title-wrapper:after {
    content:'Previous';
  }
}
.item-pagination-link--next {
  .item-pagination-title {
    display:none;
  }
  .pagination-title-wrapper:after {
    content:'Next';
  }
}

 

I guess you are going to fix the auto-generated titles and URLs that are created when you duplicate a blog, but in case you're not aware of that issue, I thought I would point that out to be helpful.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted
Just now, andrewwww said:

They're a real mess right now!

I understand, I've been there, but 5x (copy) on the end of one blog did make me chuckle! 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

  • 4 months later...
Posted
On 7/11/2023 at 3:18 PM, ManolisV said:

Hi there,

I want the same fix for my main blog and using this code does affect the pagination but the "Previous" and "next" does not show. Can you help me @tuanphan?

https://fennel-opossum-bdzy.squarespace.com/
password: hope!1A


 

Add this to Design > Custom CSS

/* blog prev next */
h2.item-pagination-title {
    display: none;
}
.item-pagination-prev-next {
    display: block !important;
}

 

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!)

  • 1 year later...
Posted

 👨‍🔧👨‍💻 Squarespace plugins

🙋‍♂️ Squarespace Custom Web Development & Design Services

📅 Todoist alternative | Increase your Productivity 

📹 Squarespace Tutorials for free - YouTube📹 

💯🚀 I have worked on over 300 Squarespace sites with custom code for over 9 years

🙋‍♂️ Let's connect on LinkedIn

 

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.