How to sort posts by date and by category ?
-
Hello there !
I just installed your amazing plugin. Thanks for your work.
I’m encountering an issue when I display posts by category :-/
I’ve chosen to show 5 related posts by category.
But, posts are sorted by date (newer -> older) and it’s always the same sequence regardless of the page where we are.
Example: I got 18 posts in the category A.
On the newer post (n°18), related posts are the 17 16 15 14 and 13.
BUT on the oldest post (n°1), related posts are the 18 17 16 15 and 14.How can I do to display another order for related post ?
Example: on the post n°6, display 5, 4, 3, 2, 1 /
on the post n°10, display 9, 8, 7, 6, 5.
Etc.Thanks a lot.
Sam, webmaster of JeRetiens.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘How to sort posts by date and by category ?’ is closed to new replies.