Little problem in Post order
-
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.
- The topic ‘Little problem in Post order’ is closed to new replies.