The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Little problem in Post order (3 posts)

  1. Yzord
    Posted 5 years ago #

    I am busy with an online E course and every post is a piece of the course.

    So ofcourse i start with lesson 1. So i wrote a whole package for lesson one and saved it. After that i started with lesson 2. Saved it, but when i see a list of all the lessions it starts with the latest made session.


    Lesson 10
    Lesson 9
    Lesson 8
    Lesson 7
    Etc. etc.

    Ofcourse i want it like:

    Lesson 1
    Lesson 2
    Lesson 3
    lesson 4

    If i leave it this way, that means i have to start writing with lesson 15. I dont want that. is there any way to sort the lesson on number no matter when i wrote the articles?

    i have found the following:

    In your index.php, add this before the WP loop

    <?php query_posts($query_string . '&orderby=rand') ?>

    But i dont know what the loop is, and also my index.php is very small.

    hope you understand me.

  2. Sennza Pty Ltd
    Posted 5 years ago #

    Hey Yzord,

    I can understand that you don't want to work backwards haha :)

    This plugin should sort you out: http://wordpress.org/extend/plugins/post-types-order/ it'll let you drag and drop your post order around once it's activated.

    Your other plugin free option is to go through each post and change the date and time that they were published so that lesson 1 is the most recent, lesson 2 was posted at a time before that etc all the way down to lesson 15.

    Good luck! :)

  3. Yzord
    Posted 5 years ago #

    Thanks, you are the man!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.