Starting the loop from a specific post?
When I’m in a single post using my single.php template I have a link back to the index.php. If you click it it will take you to the start of the loop and most recent post. I’m wondering if there’s a way to link it back to index.php but start the loop from the post you were just visiting?
my main site using index.php
example of my single.php template
so the link in the top left that goes back to the index… If I could have that link be something dynamic so that when you appear back out on index it would start you from the single post you just left.
- The topic ‘Starting the loop from a specific post?’ is closed to new replies.