You need to specify the return-format of the acf-field as ‘l’
& then modify your query as follows:
$todayName = date('l');
$schedules = new WP_Query([
'posts_per_page' => -1,
'post_type' => 'serie',
'meta_query' => [
'relation' => 'AND',
[
'key' => 'status',
'value' => '1',
'compare' => '=',
],
[
'key' => 'release_date' ,
'value' => '"'.todayName.'"',
'compare' => 'LIKE',
// You might try this too. If you can use this instead of `LIKE` please do, because it's more efficient
// 'value' => todayName,
// 'compare' => '=',
]
]
]);
Related Posts:
- Filtering multiple custom fields with WP REST API 2
- WP REST API: Order posts by meta value (acf)?
- 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
- 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?
- Filter posts by advanced custom field
- Get posts with multiple meta values
- How can you query posts by advance custom field when the value is a serialized array? [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
- How to use germ_terms() with meta_query for ACF Taxonomy field?
- Array sorting by custom field date
- Time sort with meta_key using UNIX timestamp failing due to date differences
- Front end form to create a custom post with preview
- Generate a excerpt from an ACF-wysiwyg-field
- Pods cms and “advanced custom fields” plugin
- Order and group posts by acf by month and year
- Vimeo thumbnails [closed]
- ACF + contact form 7
- WordPress Gutenberg, update post content programmatically
- Replace post’s “the_content” with ACF value
- PHP echo stripping formatting in Advanced Custom Fields [closed]
- 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
- WP_Query meta_query >= date
- Inconsistent behavior from number_format
- ACF custom block get_field() shows null on front-end? [closed]
- How to display genre of music content from one page to another page in wordpress
- How to decrease the number of queries with get_posts and ACF?
- How to make Advanced Forms (and/or ACF) encode input value?
- ACF: How to make get_field() ignore the main wp query?
- Filtering from advance custom field data
- WP_Query with meta_query dosen’t return results
- Prepared statements used incorrectly in ACF?
- Not displaying posts that are in the past. ACF date > date
- acf repeater was free in start [closed]
- Use ACF select field to add a class to div inside a flexible content layout [closed]
- Outputing Post Object title as a div class with ACF
- Add original validation rule to Advance Custom Fields
- ACF – Pick first or second value from comma separated values
- How to get ACF value inside Gutenberg Block from another page or template? I’m using Timber too
- ACF Maps admin error: “For development purposes only” even after supplying api key
- Frontend Form Checkbox Update ACF Field
- ACF and Gravity Form file upload frontend [closed]
- Trying to select 1 item from an array
- Query and display only by first letter of the get_field value
- Sorting get_terms, ACF is automatically removing duplicates
- Help using acf/save_post hook to connect to Untappd API and update_field [closed]
- Using WP meta query to show custom post types by a start and finish date
- Only Show an Advanced Custom Fields custom field on a specific template
- Advanced Custom Fields plugin : displaying a field while omitting the p tags
- getting image from ACF
- Need to search a custom field (ingredients, one long string per post), but want it to allow phrases/non-exact matches
- Equation input with preview in classic editor
- How to show related post having same relationship filed under single CPT?
- Update field for repeater not working
- How can i add service category here? [duplicate]
- Can’t get the frontend cache to be deleted manually
- How to do a WP_Query when a post has a relationship to anoter post via an ACF Post Object field, where the related post is in a certain category?
- Custom ACF block only outputs commented JSON to the DOM
- Populating ACF Image Fields from JSON file
- WordPress query: merge meta key (number) values and sort
- Field has disappeared on post page
- ACF Flexible Content with Bootstrap Carousel Repeater
- help with really simple csv importer
- WordPress API response filter by ACF value
- ACF Pro Date Picker not coming through on Loop
- advanced custom fields if field has value show main div [closed]
- wp_split_shared_term_batch messing up upgraded ACF 5 data
- How to display dropdown filters for posts
- Populate ACF repeater with current structure of pages
- Add a mailto button next to custom field download link
- How can I modify standard search query to include also ACF custom fields values?
- WordPress search form and search result through ACF field in custom taxonomy
- WP Meta Query – mixed AND / OR query doesn’t work
- display content in ascending order
- Add routes between multiple ACF google maps markers [closed]
- Hebrew WP 3.5: plugin activated, does not appear in sidebar [duplicate]
- How to share specific data contained in repeated fields across multiple pages
- Conditional Custom field with foreach
- ACF gives a syntaxError unexpected token
- Using ACF on Posts Page
- Advanced custom fields if else statement
- Use Advance Custom Fields to fill text widget [closed]
- Advanced custom fields and post types
- How to indicate a parent child category relationship when bulk importing
- Use value from meta key array for use in WP_Query
- Filtering custom post admin listing page elements based on acf user field
- Parsing value from Lottie JSON file
- How do I add an ACF shortcode to a non-ACF page?
- Convert acf/gutenberg markup to html