XianNewman Posted January 21, 2021 Posted January 21, 2021 Site URL: https://sosschool.squarespace.com/ Is it possible (through custom code) to target only a specific category for blog post pagination? By default pagination links to the next/previous post regardless of category. Rise Digital | Google Workspace Partners We make companies more productive, with Google Workspace.Let's connect on LinkedIn
nilscreates Posted December 1, 2023 Posted December 1, 2023 Hi @XianNewman did you ever find a solution for this? would love to do the same, preferably without code injection...
tuanphan Posted December 3, 2023 Posted December 3, 2023 You mean target Pagination on Category Page or on Blog Posts belong Category? On 12/1/2023 at 3:36 PM, nilscreates said: Hi did you ever find a solution for this? would love to do the same, preferably without code injection... 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!)
creedon Posted December 3, 2023 Posted December 3, 2023 On 12/1/2023 at 12:36 AM, nilscreates said: preferably without code injection... If you don't see pagination controls in the UI then they aren't there, SS decides what you get. The only possible way would be with custom code and I'm unaware of any method via API ( official or unofficial ) that allows this kind of control. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
nilscreates Posted December 4, 2023 Posted December 4, 2023 On 12/3/2023 at 4:33 PM, tuanphan said: You mean target Pagination on Category Page or on Blog Posts belong Category? When you click on a category you are taken to a filtered version of the blog landing page that only surfaces those posts in that category. As the user goes into a blog post from this filtered page I would like that filter to stay active for the blog pagination, i.e. if the user clicks on the arrow they go the next post within that same category, as opposed to the next one in the unfiltered 'master' list. Essentially an easy way for the user to stay within the category they are interested in.
ChrisN Posted February 7 Posted February 7 Curious if you ever found a solution to this? I'm hoping to do the same thing (have the Next/Previous buttons go to the Next/Previous post in the same category).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment