You need to use the type parameter for custom field. Try this once
<?php
$currentshowid = get_the_ID();
$today = date('Y-m-d');
$args = array(
'meta_key' => 'show_id',
'meta_value' => $currentshowid,
'orderby' => 'meta_value_num',
'order' => ASC,
'meta_query' =>array(
'relation' => 'AND',
array(
'key' => 'date_end',
'value' => $today,
'compare' => '>=',
'type' => 'date'
),
),
);
Related Posts:
- How can you query posts by advance custom field when the value is a serialized array? [closed]
- Filtering multiple custom fields with WP REST API 2
- WP REST API: Order posts by meta value (acf)?
- meta_query with array as value
- Check for the existence of custom field
- pre_get_posts filter using numeric meta_query comparison (from dates)
- Using meta_query and custom fields within pre_get_posts to return posts within a numerical range
- Comparing arrays with meta_query in pre_get_posts
- ACF repeater field with meta_query
- Can an array be used as a meta_query value?
- sort by date in Advanced Custom Field
- Get specific repeater row (via advanced custom fields) based on Meta Query with Wildcards [closed]
- Using pre_get_posts for meta value of LIKE comparison on ACF repeater sub field
- Display post in order of ACF checkbox?
- How to write PHP array to render JSON-LD Markup for Job Postings, with ACF
- Changing a specific value inside a complex repeater/flexible content field (ACF)
- Filter posts by advanced custom field
- Get posts with multiple meta values
- Trying to select 1 item from an array
- ACF checkbox array is returning numbers, not labels [closed]
- Query by radio button ACF
- WP get_posts meta_query using ACF repeater field
- get_posts filter meta_query using ACF Checkbox
- Multiple orderby date arguments
- Display posts every specific day
- How to use germ_terms() with meta_query for ACF Taxonomy field?
- Help using an array in ‘exclude’ key of another array
- Convert number to date format within an array
- Time sort with meta_key using UNIX timestamp failing due to date differences
- Array_splice index problem in ACF Flexible Content
- How to import CSV into Custom Post Type custom fields?
- ACF – get fields from group
- Front end form to create a custom post with preview
- update_post_meta and update_field ony working when saving the post
- Can I query custom meta data through WP_Query
- How to get “Additional CSS Class” for ACF Gutenberg block
- Advanced Custom Fields select field : How to echo the label, not the value? [closed]
- Matching Serialized Arrays with meta_query
- ACF: get_field() returning false [closed]
- ACF Relationship Field Search Filtering [closed]
- Filtering a WP_Query meta_query by numeric values isn’t working
- Generate a excerpt from an ACF-wysiwyg-field
- Adding custom fields to the header.php
- How to query serialized array by comparing greater than (>=)?
- How to get_terms() only of terms matching an ACF meta value?
- Pods cms and “advanced custom fields” plugin
- How to check a single number value against an array of meta_key values?
- ACF datepicker meta_query Compare Dates in m/d/Y g:i a – Not in Ymd Format
- Adding a body class with ACF
- Returning all radio button options when using Advanced Custom Fields
- wordpress REST-API upload image to ACF
- How to update single value in multi dimensional Post Meta?
- meta_query key value from array
- Meta Query “IN” doesn’t work with ACF checkbox filter
- Query between dates using Date Picker fields
- Order and group posts by acf by month and year
- Get the label from ACF checkbox [closed]
- Advanced custom field – gallery – display one random image
- How to update a custom post title from a front-end form using ACF fields?
- WP Meta Query for some meta (array) values
- Showing an ACF field in admin posts dashboard
- Google Places API With ACF [closed]
- Vimeo thumbnails [closed]
- ACF + contact form 7
- Is there a way to export Advanced Custom Fields data?
- How to add a custom field to quick edit
- ACF Repeater Field, need IF statement for if sub field has content
- Can not create fields in ACF with code
- Gutenberg First Block on Page Conditional?
- Set default date in datepicker of an advanced custom field
- Advanced Custom Fields plugin : displaying a YouTube video
- Advanced Custom Fields – Check if multiple get_fields exist?
- ACF – Custom fields have dissappeared [closed]
- Error in Validate Field with ACF plugin in WordPress
- How to order by just the Time Field in Advanced Custom Fields
- Using Gutenberg parse_blocks Function With ACF Custom Blocks?
- Query pages for use of a flexible content layout
- WordPress Gutenberg, update post content programmatically
- ACF get field label in custom code
- How to add custom fields in rss feed
- List of posts by day of the week
- How to customize a divs background dynamically using Advanced Custom Fields Plugin?
- disable (read only) a field if within a custom post type name
- How to update custom taxonomy meta using ACF update_field() function or any other wordpress function
- Replace post’s “the_content” with ACF value
- ACF Custom Field WP_Query, but need to get all posts, if field doesn’t exist
- ACF if / else checkbox [closed]
- PHP echo stripping formatting in Advanced Custom Fields [closed]
- Thumbnails generated from PDF in the “Media” section – how to show them in theme template?
- Post Object field orderby (Advanced Custom Field)
- How to count ACF Flexible Content Rows?
- ACF Plugin – Random Gallery Image with wp_get_attachment_image()
- How to change the page title from functions.php
- Sorting custom admin column by value
- Acf Pro repeater field returns null [closed]
- Query between dates using date picker filter breaks in WordPress 4.2.1
- How to upload multiple images on frontend to ACF gallery using update_field
- If two first numbers exist in wp_meta_query value
- Add user custom fields and make editable on frontend
- Insert Commas into ACF number field