The PHP code in this post changes the order of posts which are displayed on all category archive pages.
Here’s the question i’m answering from the forums.
How do i make a category page display the posts assigned to that category random?
This is the page that I am referring to. I would like all of the posts to show in a random order. I also need to do this for each category with out them crossing over into one another. (the Food category should only randomize with the Food posts in that category.)
Is this possible?
Please copy ALL the code from the view raw link and paste it at the end of your child themes functions.php file using a text editor like Notepad++
Leave a Reply
You must be logged in to post a comment.