DesignerLeo Posted August 7 Share Posted August 7 (edited) Hello, I have encountered a problem with blog navigation. The blog has older posts and newer posts links - to view older and newer posts which aren't displayed on the current page. They work great, except when you go two pages into the oldest blogs (on my site it is as far as you can get date-wise) and then try to use the "newer posts" links to return to the first blog listing page - It now appears empty. Also the url is weird it keeps trying to offset, instead of returning to the original url. https://www.polivantage.com/developmentlog Try navigating to the oldest posts and then back to the newest, you will see the page with no blog list at all. I would really like to know why this is happening and if there is a fix for this, apart from using JS to manually reset the link of the "newer posts" to navigate to the right url. I would like to avoid this because as I add more blog posts, the offset and the link will change. Thanks in advance, L. EDIT: I now see that when I am at the last blog list page, it doesn't return me to the previous page, but to the first one, and still keeps the link to go further to newer posts which are of course none. This results in an empty page. Why does it skip a page when going to newer posts? Edited August 7 by DesignerLeo narrowed down the problem HoaLT 1 Link to comment
HoaLT Posted August 8 Share Posted August 8 18 hours ago, DesignerLeo said: Hello, I have encountered a problem with blog navigation. The blog has older posts and newer posts links - to view older and newer posts which aren't displayed on the current page. They work great, except when you go two pages into the oldest blogs (on my site it is as far as you can get date-wise) and then try to use the "newer posts" links to return to the first blog listing page - It now appears empty. Also the url is weird it keeps trying to offset, instead of returning to the original url. https://www.polivantage.com/developmentlog Try navigating to the oldest posts and then back to the newest, you will see the page with no blog list at all. I would really like to know why this is happening and if there is a fix for this, apart from using JS to manually reset the link of the "newer posts" to navigate to the right url. I would like to avoid this because as I add more blog posts, the offset and the link will change. Thanks in advance, L. EDIT: I now see that when I am at the last blog list page, it doesn't return me to the previous page, but to the first one, and still keeps the link to go further to newer posts which are of course none. This results in an empty page. Why does it skip a page when going to newer posts? Can you take a screenshot/video for this issue so we can get it? Press 👍 or mark my comment as solution if you find my sharing useful 🆒 Squarespace pinchzoom lightbox plugin (affiliate link) 👁🗨 360 degree photo viewer (affiliate link) Link to comment
DesignerLeo Posted August 9 Author Share Posted August 9 (edited) Thank you for looking into this with me! The problem isn't solved, however I have opted for a different approach and no longer am bothered by it. Here are some screenshots, because I still think it has to be addressed. This is the first page in my blog! if I click newer posts, this happens: That is because it was already page 1 and there are no newer posts. Yet the link is there. Also, If I navigate to older posts like so: And then click newer posts, it returns me to the first page, instead of taking me back step by step: As I said I no longer have need for solving this issue, but it still is weird, I hope it can be resolved somehow. Edited August 9 by DesignerLeo I appreciate your input :) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment