Link back to specific pagination position of post
-
Hi
I am working on a site displaying a paginated archive, showing 9 post titles at each page. When clicking on the title, the visitor reaches the single entry. Now, at the bottom of this entry i want a “back to all entries” button, which I want to be linked to the specific pagination position of the entry – i.e. instead of just leading to the first page of the archives, I want to send the correct &paged= parameter to go back to the exact page. if the post was on page 3, i want to go there specifically, not just the first archives page.
This could be accomplished by just a link back to the referring page (like a javascript “back”-button), but since visitor might end up on the specific post in different ways, i want to keep this link hard coded.
So: How can i feature a link on each one of my posts linking back to a paginated archives page, linking back to the correct page on which the current entry is featured?
- The topic ‘Link back to specific pagination position of post’ is closed to new replies.