I am not sure without running which query precisely this results in, but I don’t think it is intended format for such query.
If you take a look at Date Parameters documentation, there is a special case of after
and before
when you want to find posts in some direction from specific point.
Related Posts:
- WP_Query() show posts that end later than today
- How to sort CPT by custom meta value (date), and return posts month by month
- Date query for a custom meta field
- Query current and future events, ordered by begin date
- WP_Query most viewed posts, in multiple Post Types, last 30 days, excluding a specific taxonomy term
- Using WP meta query to show custom post types by a start and finish date
- Display post count for a specific month
- Create a list of months based posts
- Order Wp Query by earliest of 3 dates meta query
- WP_Query() displaying past post / event
- Query all posts where a meta key does not exist
- Set post date before 1970
- Exclude a category from WP_Query
- Single loop for wp_query and wp_user_query
- WP_Query orderby custom field then post_date in one query
- query multiple taxonomies
- Custom Post Type, WP_Query and ‘orderby’
- Include post id[s] into WP_Query()
- Syntax to get the Nth item in a list of custom post types?
- Grab 5 latest posts from custom post type ‘announcements’
- Pagination Doesn’t Work
- Numeric pagination custom post type
- Sort the main query in subcategories/terms?
- How to show posts from multiple post types in a single loop? And display them separately on the same template
- Get post info inside modal window?
- Want to filter only parent post in admin area
- Pagination Issue: Custom Post Type In Index
- Having trouble with custom date field for CPT query (WordPress)
- Quickest way to get last or oldest post date – WP Query
- Display posts if a custom field value is equal to another custom field value
- Separate Posts and Custom Post Type in Custom Taxonomy archive template
- Lists Posts from CPT that match the Title of the Page
- query_posts with a custom post type, a meta_query and sorting by post date?
- Filtering by Post Meta Custom Fields – Performance
- Unable to get paginate_links working with a custom query [duplicate]
- Returning a list of custom post types excluding those without a specific meta_value
- query private custom post type
- Randomize Posts. Skip the first post in ascending order
- Pagination for Custom Taxonomy Page [duplicate]
- Custom loop with multiple taxonomy queries
- Isotope Filtering with Bootstrap Tabs – Custom Post Type Query Loop in each Tab (Have to click twice to filter)
- Custom taxonomy rewrite give pagination 404
- WP_Query order by custom field, then randomly order some of results
- creat filter with wp_query
- How to do WP_Query with two meta fields with orderby clause
- Get Posts by multiple custom fields is not working
- Custom query at top of archive search page, arguments are overridden
- How to have this permalink structure: post_type/postname/custom_inner_page
- Sort entries by date mixing two post types
- Use the same date-based permalink structure for all post types
- custom post type search by reference id
- Custom Taxonomy Not Showing in Front-End When Outputting a Custom Post Type with WP_Query()
- Print current post category during WP_Query
- Multiple Custom Post Type queries, how to DRY it up
- WPDB for post count on post
- post_per_page ignored in WP_Query
- WP_Query parameter conflict
- Retrieving meta-box from a custom-post-type
- Cannot get custom post
- Custom post type and standard post not displaying or working
- Display custom post type for specific user
- Get all post from a post type
- A faster way to query custom post types with multiple conditions?
- Custom Post Type Archive Pagination
- List all Custom Post Type posts excluding certain Taxnomy term
- WP_Query: Posts within category OR custom post type
- Custom post type pagination error
- WP query_posts group by meta field related
- WP Query from two Custom Post type fields as statement
- custom post type and a “sticky” position taxonomy
- Query to Exclude Child Pages from Custom Post Type Archive
- WP_query has incorrect wp_posts.post_name = ‘asc’ when I have custom post type called ‘order’
- Randomizing WordPress Custom Post Type Sorting Through Them Without Page Refresh
- Order posts alphabetically with numbers but some of the posts has numbers in the title
- How to output custom post type title on custom page with category next to it?
- How to sort by multiple values in a nested WP_Query
- Staggering featured post using ‘sticky’
- Ajax load more inside custom post type taxonomy
- Create a custom wp_query from a specific custom post type with specific taxonomy
- SQL LIKE in WP_Query
- How can you use a page for a custom post type?
- Query breaking with ‘posts_per_page’ => -1
- WP Query with multiple post types ordered by custom meta date then published date
- CPT Efficient way to display posts from different categories with custom query
- How To Loop Through list with Custom Post Types
- Use Tags to Query Associated Multiple Posts and Get The Average Of Custom Field Values
- Custom Post Type + Category archive
- Values inside a custom field to determine which category posts to display
- WP_Query get posts where post_name is empty
- How do I sort post listing by child post count?
- Pop up showing same content on all posts display.
- Querying meta values within an array
- Count of posts with meta_key filled in?
- Filter Custom post type by another Custom post type
- Archive page – problem with pagination
- Are custom posts included when getting a categories’ posts?
- Query order by meta value force specific tag first
- Quering array of post types & pagination. Articles are repeating sometimes on different pages
- How can I show posts with the same tag?
- Load posts via AJAX without draft status