Where would you be without plugins?
If you need to change the order of which posts are displayed on your home page or any archive pages, you have 2 options.
- Learn how to write custom PHP code using WP_Query or pre_get_posts
- Install a good plugin
Let’s check out a couple of plugins which do the trick nice and easy.
You’ll also find some code snippet examples at the end of the post if you prefer coding.
Post Types Order
This plugin also works for custom posts types and enables you to drag and drop posts to display in any order you like manually. You can also use the auto sort feature.
Firstly configure the settings.
Then go to Posts > Re -Order and drag your posts into the order you wish them to display on your blog page or home page archives.
Category Order and Taxonomy Terms Order
Configure the settings:
Use PHP Code To Alter Order of CPT Archive Posts
You can use this custom function with any of the order and orderby parameters.