Use get_the_date()
instead, here’s note from the_date()
codex page regarding the issue:
When there are multiple posts on a page published under the SAME DAY,
the_date() only displays the date for the first post (that is, the
first instance of the_date()). To repeat the date for posts published
under the same day, you should use the Template Tag the_time() or
get_the_date() (since 3.0) with a date-specific format string.
Related Posts:
- Resetting post data to previous loop in nested loops
- Pagination returns 404 after page 20
- Make loop display posts by alphabetical order
- WP_Query: query posts by ids from array?
- get custom post type by tag
- How to get order of posts?
- pre_get_posts with get_posts
- Executing Queries in tag.php
- Query Custom Meta Value with Increment
- Group posts by custom field
- Trying to list out child pages with WP_Query
- Transient pagination not working properly
- get_posts() seemingly ignoring post_type
- Woocommerce custom loop to show all the products [closed]
- How to bring specific post to front of wordpress loop?
- How to show the posts of some category first, and then all other
- Why execute the_post()?
- Pagination stops at page 6
- Paginated HTML Sitemap
- Why does the_content not work like others for a set post id?
- WP_Query Order by Specific Post ID First
- How to limit total number of posts in wp query loop?
- Using one WP_Query object within the loop of another WP_Query object
- Pagination is broken and I need help fixing it
- How to display 7 most recent days of posts?
- How to vary post loop results layout and resume?
- Create A Loop With A Variable Number of Posts For Each Bootstrap Row?
- Get a post from other loop each n-posts in the main loop
- Loop returning only 1 result
- WordPress Loop and $post
- Show post number in widget loop
- posts_per_page not working for first page of pagination
- Excluding pages in WP_query using ACF
- reset to main loop doesnt work
- Some doubts about how the main query and the custom query works in this custom theme?
- Search form not working with custom query?
- Post loop for all taxonomy terms
- Stuck in the query loop
- Only display post if published in last 24 hours?
- Is_single() conditional tag returns null in query
- How do I rewrite this loop as a new WP_Query style-loop?
- How to provide meta_key array to wp_query?
- Trying to retrieve random post, getting a page
- Posts in loop all show the same author when there are many authors
- Multiple Rows in a using wp_query
- If have posts a week old, display, else display a different loop
- Create a page template for “top rated posts” but show full content and not just a list
- Daily drip of posts – based on user ‘startData’ – ordered oldest to newest
- How to add tax_query to $args with concatenation
- Meta query compare for ID’s greater than specific ID
- How to split a post and intercalate elements from a loop
- PHP – Loop custom post type categories within jQuery Tabs
- How to create a widget like this?
- WP_Query with one category in args shows other categories
- Ordering posts by custom field and grouped by month
- relation OR instead of AND – Filtered term ID’s in loop
- Does query_posts have an effect on get_the_category?
- Second loop pagination changes URL, not content
- Compare “Main” post ID to ID inside wp_query loop
- Performance concerns: index.php vs taxonomy-$taxonomy.php
- Why does apply_filters behave different inside and outside a loop?
- Custom template for password protected page
- problem with the loop
- How can I do a orderby by the number of items? So basically list by starting with the array with the largest number of post
- Function the_posts_pagination() not compatible with WP_Query arguments
- Prevent Duplicate Post Counted by Query
- Show custom content when loop or wp query reaches specific time?
- Loop through array of pages
- How to show specify category template for both parent and child category
- Pagination inside the blog page not working
- Woocommerce featured products query no longer working
- Ajax buttons not working properly in WooCommerce when using wc_get_template_part
- Custom Query Pagination not working on static front page
- query all posts published by certain user id
- Problem with custom WP_Query and underlying pagination/posts_per_page
- View related categories in order of posts
- modifying the loop multiple times with arguments passed through ajax to wp_query
- WP_Query causing links to not work
- Retrieving category pages from subcategory returns empty sets
- WP_query for posts with same post type AND same post category
- Show posts in category
- Both WP_Query and get_posts returning 1 post
- Iterate through ID’s in loop
- Loop through multiple custom fields with increasing number
- Different number of posts showing in development vs production server
- An archive page without post format (just standard post)
- Custom post type archive organized by category
- wp_query display posts based on day
- Sorting Posts Based On Meta Value Using AJAX
- Converting an existing query_posts to WP_Query
- Pull Instagram images into an existing loop?
- Loop being strainge
- Multiple loop for “featured” items returns wrong posts
- Pagination in custom query not working [duplicate]
- Problem with WP_Query sort
- Get author meta data with no published posts in author.php?
- How to write a query-function as a query-shortcode?
- First post outside of loop, homepage only?
- Query All Posts: Either Display Most Recent or One with Particular ACF Value Chosen
- How to get rid of extra Untitled Article in html5 document outline when using new WP_Query?