Try using post_date
:
'orderby' => 'post_date'
check if you have sticky posts
too, sticky posts will always on top of your result.
Related Posts:
- How do I change the gallery that is inserted in the post?
- Convert a complex webpage into WP theme
- How to show single post page as home page
- Blog page not working
- Highlight static blog page link in header
- Block editors annoying warnings
- How do I allow certain users to make a certain type of post?
- wordpress taxonomy results
- Get posts after calculating meta key
- Is there a block to print post link standalone in a block theme?
- Get current menu_order
- what types of order can I pass to get_posts() via orderby?
- How do I reorder (pop and push) items from WP_Query?
- How to put last edited entry on top of the blog-post list?
- Sort post by attributes ‘order’
- Query posts from current year
- How do I sort (order) the results from `get_children()`?
- Reverse chronology of post listing
- how to display full post with pagination on home page
- Post X of Y in single.php / sidebar.php
- Order Posts by Alphabetical for Each Letter
- Problem ordering posts with numbers for titles numerically E.g. 1, 10, 100
- Posts Page Featured Image [closed]
- How to get new post URL?
- Order post by year DESC and month ASC
- Display custom post types by date field
- Change Order of Admin Posts Depending on Meta
- Changing next and previous post link text
- Display posts from #6 to #20 on archive page
- Understanding and using metaboxes in posts
- Animated gif for a thumbs
- Admin Notices don’t display on the admin screen for certain post
- I am unable to publish/update post
- The problem with WordPress Importer
- Custom WordPress Theme: Publish Date and Display Date for posts right beside each other
- WP_Query orderby not working with meta_value_num and menu_order
- Why aren’t my posts/pages showing up in my WordPress Theme?
- Exclude category from
- get_the_excerpt() is not working as expected – returns wrong text
- Disable sticky option for specific categories
- Order posts alphabetically: how to set order=asc in mysql query?
- Remove Content after
- Shortcodes on my website stops working after theme update [closed]
- While loop articles – if statement order
- Why am I getting a different filename? And how does WordPress load singular.php for both Page & Post? (Fresh WordPress installation)
- WordPress website loads more posts than expected
- Make a vertical dynamic list of posts in alphabetically order and in columns [closed]
- Admin – no Featured image choice in create new/page|post
- How to change the layout of posts when viewing all posts by tag [closed]
- how to hide empty fields of post category description?
- How to create a page that shows the last 10 posts?
- $_GET parametters not working in an specific template
- get_previous_post() while accounting for sticky posts
- Display Featured Posts Grid on Static Page (Gazette)
- how to handle the loop using filling bootstrap grid structure?
- Change default post style to columns
- Posts and order
- How to add a post class on every post. (on homepage)
- Order posts by date
- WordPress Architecture as a CMS – Posts & Pages
- Change modified date to current date when title updated automatically
- Display a specific category in a focused area of my site
- Edit post & page option does not display on latest wordpress
- created post displaying differently on front end
- Aligning images in the wp editor not working. How do i get this to work in custom theme?
- How to pull latest posts from a specific category
- Problem paginating a subquery on a post
- How to add a custom class attribute into code wrapper? [duplicate]
- query posts with selected post ids first
- Moved a website and excerpts don’t work for old posts
- How to get value of a selected option from select tag and use it in WP_query to filter posts?
- How to delete/customize imported demo content from a theme or add my own?
- WP_Query sort by meta_value_num or date
- Integrate video and iframe in a post type gallery
- How to put the WordPress blog into theme
- Allow reader to reorder posts for themselves (oldest first)
- Displaying a specific sub-category’s posts from wp_query
- Can the_post_navigation() be outside of the loop?
- Random order of the 5 most popular posts
- Posts only showing on /localhost/wordpress/ and not on other pages
- Post are not showing up
- How to make post button to a random post
- Blog styling in SASS
- erase post excerpt limitation [×]
- Where is object, property or label in the database that controls the order of the posts being displayed?
- How to show the posts list into a static page? Problems to use the loop into a static page
- Save/retrieve form data best practises for theme development
- Latest Posts not in the right order
- Last three posts not being put in order by date. How to fix this?
- Get most recent posts by category that aren’t first overall [duplicate]
- Order by ‘s’ using WP_Query()
- How to show only the date, the title and a little “summary” of my WordPress post in my custom theme?
- Permalink remain the same on each page
- Password protection doesn’t prompt for password on pages
- How do I make it so that WordPress displays the post as a heading, followed by a written excerpt?
- Wp_query WooCommerce products
- How to remove a date from wordpress post
- wordpress pinboard theme [closed]
- No matching template found when using single.php
- How to sort posts alphabetically based on a specific parent category