WordPress.org

Ready to get started?Download WordPress

Forums

Articles in different order (3 posts)

  1. marvindereuver
    Member
    Posted 2 years ago #

    Hi,

    I have a question. I have a new installed theme from 'Woo themes' with the name 'canvas'. Only after installation on the page shows that the items are displayed in reverse order. My first article, that i wrote a couple of years ago, is displayed at the top and my last written (end 2011) at the bottom of page 46.

    Furthermore activation of one of the free themes gives no problems. They appear in the correct order and there's nothing wrong.

    Could someone help me?
    It's about the website:
    http://www.marvindereuver.nl/

    I hope somebody can help me.

  2. Digital Raindrops
    Member
    Posted 2 years ago #

    Is there anything in the theme options for home page sort?

    If not you will need to create a child theme, they have one that is downloadable, copy the home page which would be index.php, home.php of front-page.php to the child, and add a query to reverse the sort order.

    Just before the loop add:
    <?php query_posts($query_string . "&order=DESC"); ?>

    HTH

    David

  3. marvindereuver
    Member
    Posted 2 years ago #

    @Digital Raindrops

    Thanks, I'm going to try this and will come back to you..

Topic Closed

This topic has been closed to new replies.

About this Topic