Forums

Reverse Blog post order (3 posts)

  1. hawt
    Member
    Posted 9 months ago #

    Our blog page shows the first post at the top of the page. How can I reverse the order so that the most recent post shows at the top of the page?

    See: http://haveartwilltravel.org/?page_id=73

    Thanks

  2. Digital Raindrops
    Member
    Posted 9 months ago #

    Your theme is located /wp-content/themes/twentyten/ you should really be using a child theme as the default themes can get overwritten on automatic WordPress upgrade or Twenty ten theme update.

    So you have a modified twenty ten theme, by default twenty ten would load the posts latest post first and oldest post last, so you must have a modified file, index.php or loop.php changing the sort order.

    You might have a home.php or front-page.php file, or a custom template set in Admin > Setting > Reading, so we will need more information on which file is the home page, and an upload to http://pastebin.com of the file contents.

    EDIT REWIND
    The posts are in the correct order, the first post is a sticky post, edit the post 1813 so it is not sticky, and it will become the last!

    <div id="post-1813"
    <div id="post-2486"
    <div id="post-2337"
    <div id="post-2292"
    <div id="post-2151"
    <div id="post-1994"

    Regards

    David

  3. hawt
    Member
    Posted 9 months ago #

    Thanks Digital Raindrops,

    I'll look into this and get back to you with any questions.

    Thanks again.

Reply

You must log in to post.

About this Topic