Ready to get started?Download WordPress


Reversing Posts (2 posts)

  1. trancendence
    Posted 11 months ago #

    First time using WordPress, and I thought something like this should be a matter of a tick box.. Apparently not..

    I'm trying to host an educational video based website
    Videos hosted through VideoPress, Self hosted WordPress on my own VPS. The problem I have is getting the posts in reverse order so 1,2,3 not 3,2,1.

    Since the videos go from easiest to hardest with new additions being harder it makes sense to have posts in reverse for noobs that come on to my site.

    I'm currently using the Tonic Theme by Bavotasan.

    I don't know the exact PHP file to edit to change this..
    Other posts seem to be related to older versions of WordPress.



  2. gerald@WPcustoms
    Posted 11 months ago #

    this is related to wp_query - The loop should be in page.php or content.php depends on your theme and if it uses page templates.

    you need to pass 'ORDER' => 'ASC',to the query


You must log in to post.

About this Topic