Display most recent post on index page (4 posts)

  1. masok88
    Posted 5 years ago #

    I'm currently putting together a blog type site and I'm wondering if it's possible to set it up so that when people visit the url the page automatically loads/redirects the user to the most recent post single entry page.

    The closest thing I've seen to what I'm going for is on.. http://gregorywood.co.uk/ where this url when followed loads up the most recent entry, in this case http://gregorywood.co.uk/journal/tales-of-san-francisco/. How straightforward is this?

  2. chinmoy29
    Posted 5 years ago #

  3. masok88
    Posted 5 years ago #

    Thanks, from what I gather what that guy is looking for is something different to what I'm looking for though.

    I'm almost looking for a redirect which points to the most recent post ie; view the post entry as it would appear on the single.php template. A redirect is one thing but is there a way to make it point to the most recent post?

  4. finnurtg
    Posted 4 years ago #

    Hey I'm looking for the same thing. How did you you do this, if I may ask?

Topic Closed

This topic has been closed to new replies.

About this Topic