• Resolved Yzord

    (@yzord)


    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.

    Example:

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

    Ofcourse i want it like:

    Lesson 1
    Lesson 2
    Lesson 3
    lesson 4
    Etc.etc…

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey Yzord,

    I can understand that you don’t want to work backwards haha ??

    This plugin should sort you out: https://www.ads-software.com/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! ??

    Thread Starter Yzord

    (@yzord)

    Thanks, you are the man!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Little problem in Post order’ is closed to new replies.