Use get_the_date()
if you want to change the date format.
get_the_date( 'S F Y', $post );
The 2nd argument is optional and only needed outside the loop.
Related Posts:
- Nested meta_query with multiple relation keys
- Query Multiple Post types each with own meta query
- WordPress Custom Query to show posts from last x years
- Perform query with meta_value date
- Meta Query with date and time on the same Day before given time
- How do I create my own nested meta_query using posts_where / posts_join?
- How to query ‘posts_per_page’ to display a different blog posts index template?
- Use meta_query to display events by date in custom field
- How to show recent and upcoming birthdays using meta_query
- Meta Query for specific months
- Order a query result by a numeric meta key even if it does not exist, but put the posts with meta key first
- WP_Query meta_query >= date
- WP_Query last five posts, simply ordered by meta_value
- Fetch Record based on meta key dates
- How to display multiple custom fields with the same meta_key in an ascending order?
- how to make members list directory through wordpress post custom meta key.
- How to provide meta_key array to wp_query?
- Why doesn’t my WP Meta Query return any results?
- WP_Query Class custom field parameters
- How do i create a custom post query when the meta value is an array?
- ElasticPress is (aparently) messing with my search filters
- Query for current post
- Custom query to retrieve oldest post and retrieve others with date interval
- Comparing Meta Field date in WPQuery using Meta_Query?
- Problem with my loops
- Orderby query does not work for custom fields even with meta query
- Custom WP_query and integrating into theme file
- query post based on comparison
- Query Posts by date range with fixed beginning and end
- WP Query – Show custom posts only if user contain some user meta
- WP_Query orderby date not working
- compare meta_query in get_posts arguments
- Display products from specific category in shop page
- WP_Query() show posts that end later than today
- Changing the meta_query of the main query based on custom query_vars and using pre_get_posts
- Query Posts in a Predefined Order
- Order by meta_value_num DESC and meta_value ASC on WP 4.0
- Query by meta_key and order by meta_value_num return orderby date
- How to use filter hook posts_join for querying taxonomy terms in posts_where?
- WordPress altering my custom query, How to fix it?
- Order by meta_key in custom post type doesn’t affect the query
- How to create/modfiy WP_Query to search in post title OR custom field?
- WP query exclude post within the last month / only show over 1 month old
- WordPress query for most recent posts from multiple categories
- Too many posts cause slow load when paginating
- Multiple meta queries but arrange by specific meta value order
- Order Posts by meta value AND published date
- Query post with meta_query where date is not in future
- What format does the meta_query TIME type require?
- pre_get_posts order by not working
- Comparing dates in custom field
- WP_Query filter and order by meta ordering by wrong joined table
- WP_Query “OR”: Find posts by ID, Name or Post Title?
- What is the random string I am seeing when I use get_query_var?
- WP_Query condition affects posts_per_page count
- meta_query in WP_Query value is not accepting array
- Slow page loads due to WordPress Core Query
- Changing sort order for presentation by Jetpack infinite scroll
- get posts by meta_key from inside key of post meta
- Help optimizing slow WP_Query with meta_query
- meta_value_num not ordering all items
- Meta Queries – should nesting work after WP 4.1?
- Filter and Order by Multiple Custom Meta Values
- Meta Query relation “AND” then set array accordingly
- Is there a better way to pull in custom content without querying posts?
- Query with meta_query and tax_query together not working properly
- Is it possible to query a custom field where the value is between two fields?
- Filter posts by comparing custom meta value against postdate
- meta_query fails to compare on values containing apostrophes
- Check if searched number is within the post meta value
- Filtering posts by archive showing all years
- Creating attachments archive in tags and categories
- add_query_arg to compare and display events from a certain date
- WP Query / Meta Query [duplicate]
- Added Date Filter To Popular Posts Query
- Meta query stopped working
- Query multiple post types, but different order for each
- How to add date_query to meta_query array
- Order by the first array within a meta_query
- Combine query in WP_User_Query()
- Multiple nested meta queries
- How can I modify the query by adding to the existing query?
- WordPress Query custom ordering by temporary variable
- How to get only present and past posts with post_date
- How to create better WP_Query to look for date time which is anywhere between two meta values?
- Custom query for custom post type not getting correct post ID
- Multiple meta_query not working
- compare for multiple meta values for same key in wp_query
- datetime picker, timestamps and meta queries
- WP_Query with meta_query won’t orderby
- Merge two queries and remove duplicate
- Extending WP Query: Custom geolocation meta values work, but tax_query breaks
- Using custom field as ‘orderby’ value causing post grouping by publish date
- Looking for a way to exclude frontpage and nav menu from query filter
- WordPress pagination returns the same posts
- Get posts by meta value except one post [closed]
- WP_Query by meta key not returning any posts
- How to get all post_id and meta_value using meta_key in wp_postmeta table
- How do I subquery with custom meta fields?
- Show number of posts AND number on current page (cannot make it work)