I think you have used wrong comparison operators in meta query .It should be >= for ‘event_start_date’ and <= for ‘event_end_date’ .
Related Posts:
- Filtering a WP_Query meta_query by numeric values isn’t working
- WP_Query orderby custom field then post_date in one query
- Comparing timestamps in meta query doesn’t work
- Display two post types ordered by two custom fields
- Display posts if a custom field value is equal to another custom field value
- Filtering by Post Meta Custom Fields – Performance
- Custom Post type and Custom Field WP_Query
- WP_Query: include custom post type only with specific meta value
- Returning a list of custom post types excluding those without a specific meta_value
- Two near-identical custom field types – one works, the other doesn’t . What can cause this?
- wp_query check if integer exists in custom field’s array
- WP_Query order by custom field, then randomly order some of results
- Query custom post type with ACF Date
- Stuck in Order by more then one
- Meta Query Not Returning Output Despite Having Matching Values
- Order Custom Post Type by Custom Field Value
- Possible to filter custom post type with multiple meta data?
- Getting a custom post’s custom field based on another custom post’s custom field select
- Group by custom field value (start and end times)
- Using WP meta query to show custom post types by a start and finish date
- Create if else for post types in WP_Query ‘post__in’ values
- Filter posts by their related field’s custom field
- meta query multiple values for the same key
- Sort custom post archives by a meta value from a different custom post type?
- Custom post types – meta_query: search lesson which starts sooner
- Meta_Query refuses to return results
- Query events post type after current date and timezone
- Selecting posts older than the current Unix epoch timestamp
- Querying meta values within an array
- Custom Post Type + Custom Meta Query Not Showing 2012 Posts
- Display ACF object field data using Elementor Custom Query
- WP_Query not using relation key as expected and not producing any results
- Meta query with ACF relationship field
- Using meta_query, how can i filter by a custom field and order by another one?
- How can I generate a RSS feed based on a custom WP_Query?
- Querying custom post type with 2 custom fields (date-range)
- Filter a custom field based on selection of another custom field (ACF) [closed]
- ACF Relationships in Custom Post Type Permalink
- Search Custom Post Type with all meta attached?
- WordPress Search documentation: how to improve search query using taxonomy terms, custom meta fields?
- Using Query Posts With Multiple Post Types And A Taxonomy
- Query by 2 values of a repeater ACF field
- Can’t sort order of wp_query with 2 meta keys
- Get post info inside modal window?
- How loop through posts based on custom fields
- Having trouble with custom date field for CPT query (WordPress)
- Sort by two dates. Default entry date and custom field if present
- Get Custom Field Values by Another Custom Field in WordPress
- Conditional to modify query results
- Get all Posts If has same custom field values in Posts
- Custom Post Types not showing, custom WP_Query
- WP_Query orderby modified to include custom meta changes
- Retrieve value of a category’s custom field
- A method for ordering mixed dates in search result loop (theory only, no actual code)
- Meta Query Filtering not working on Custom Meta Box using Radio Buttons
- How to render a custom post type template with custom fields using shortcode
- Query Custom Post Type Taxonomy term with multiple parameters
- Custom fields (wp_post_meta) vs Custom Table for large amount of data
- Admin Custom Meta Box – Pull Last 5 Posts from Custom Post Type
- How to Output which matched meta_keys were found from custom_type_posts?
- Integrate Custom Post Type Events into Calendar
- How to let users choose where to search for posts?
- Display post from a date range from custom field
- post_per_page ignored in WP_Query
- List of users that clicked a ‘Join’ button at single post
- Custome fields not displayed
- How do I get_the_postID() for a custom post that uses ACF repeater field?
- Display custom post type for specific user
- Custom post types, disable fields
- Query Posts, order by meta value
- Two queries – one with checkbox ticked, one without – comparing meta_query
- Excerpt length: get first paragraph
- WP query_posts group by meta field related
- ACF: How to query for a given value count of an array like field? (e.g.: How many rows has a `flexible_content` field?)
- WP Query from two Custom Post type fields as statement
- Using OR relation in meta_query to check for a value before sorting by another
- Filter result of Custom Post Type using meta_query with ACF
- Orderby if between two meta fields
- How can I fetch all the dates from custom fields from various different custom post types and show / list them at one place in ascending order?
- ACF meta_key and meta_value break loop
- WP_Query, ACF field and array
- filter using custom fields
- post type => ‘any’ not applied my custom queries
- How to get the posts that my following users are liked?
- Sort loop by custom field from different post type
- Meta_query by date for Events archive
- How do I display specific custom posts, and how do I edit a post’s singular page?
- Fixed custom fields depending on posttype/category
- Calling specific page with wp query
- WP_Query get posts where post_name is empty
- Trying to combine multiple WordPress queries
- Query recent posts by author
- Filter Custom post type by another Custom post type
- Retrieve a post with its ACF repeater fields in wordpress
- Check for custom field value in different post type than current one and do something
- Is it possible to specify a time interval (from, to) in ACF with date picker, or other custom field?
- Order Wp Query by earliest of 3 dates meta query
- WordPress custom field sorting, weird behavior: the latest post is at the end
- Sort CPT by taxonomy AND THEN by custom field
- WP Query filtering by custom category not showing all relevant posts