WordPress.org

Ready to get started?Download WordPress

Forums

Starting the loop from a specific post? (1 post)

  1. catswilleatyou
    Member
    Posted 1 year ago #

    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
    http://catswilleatyou.com/database/

    example of my single.php template
    http://catswilleatyou.com/database/2013/02/06/discuss/

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic