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() show posts that end later than today
- Sorting a query by custom field date
- How can I generate a RSS feed based on a custom WP_Query?
- 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?
- How to sort CPT by custom meta value (date), and return posts month by month
- Using Query Posts With Multiple Post Types And A Taxonomy
- Query by 2 values of a repeater ACF field
- How loop through posts based on custom fields
- Having trouble with custom date field for CPT query (WordPress)
- Filter posts with meta_query NOT IN where value has multiple values
- 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
- Retrieve value of a category’s custom field
- How can I get the number of custom post type posts that have a specific attachment image set?
- Bulk Update Custom Fields for Custom Post Types
- 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
- Including metaboxes from custom post types in global search — continued
- Using advanced custom fields from one custom post type in another custom post type / using nested shortcodes
- 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?
- WebP Fallback for Inline Background Image in Style Attribute
- Redirect to another page using contact form 7? [closed]
- Why is my WP Query not returning first result’s post meta?
- DIsplaying URL of custom field in last post of certain taxonomy && post type
- How to get a custom type post data when it has a connection with another custom type post?
- 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
- WP_Query orderby not work with meta_key
- Having Issue on Ordering CPT by Custom Field In Custom WP Query
- How do I replace the post title with a custom field?
- Display custom post type for specific user
- Custom Post type loop with ACF not displaying properly
- Get A Custom Field From A Custom Taxonomy Of A Custom Post Type [closed]
- Query Posts, order by meta value
- Two queries – one with checkbox ticked, one without – comparing meta_query
- Custom Form / Search with Custom Post Type Data
- WP Query from two Custom Post type fields as statement
- Using ACF values in nested WP queries for CPT with date values in the past
- Display Custom Field or Custom Taxonomy in front page /post/product
- Orderby if between two meta fields
- How to access repeater field of a custom field?
- 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?
- WP_Query, ACF field and array
- filter using custom fields
- How to get the posts that my following users are liked?
- Sort loop by custom field from different post type
- Fixed custom fields depending on posttype/category
- Calling specific page with wp query
- Trying to combine multiple WordPress queries
- If i have custom post type with 5 custom fields do i have to create a new loop to reference each one?
- 404 on Pages for Custom Post Type & Query_Posts
- How to show animal lineage/pedigree in WordPress?
- WP_Query arguments: Loop through custom post type – get all entries except excluded meta_key?
- Show Posts in Vertical Tabs with Scrollbar
- 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
- WP Query + custom fields: How to query event posts from the current date backwards 6 months and organize it month by month?