The type
argument in your meta query is wrong. It spells NUMERICAL
but the correct value is NUMERIC
.
$meta_query = array(
array(
'key' => 'bpm',
'value' => array($bpm_start, $bpm_finish),
'type' => 'NUMERIC',
'compare' => 'BETWEEN'
)
);
Related Posts:
- pre_get_posts filter using numeric meta_query comparison (from dates)
- Comparing arrays with meta_query in pre_get_posts
- Filtering multiple custom fields with WP REST API 2
- WP REST API: Order posts by meta value (acf)?
- Meta Query “IN” doesn’t work with ACF checkbox filter
- Check for the existence of custom field
- 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
- pre_get_posts hook not targeting search results page query
- 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?
- Pre get posts sort by meta key returns no results if meta key does not exist
- Array sorting by custom field date
- Time sort with meta_key using UNIX timestamp failing due to date differences
- ACF – get fields from group
- How to get “Additional CSS Class” for ACF Gutenberg block
- Using meta_query on pre_get_posts to exclude a particular meta_key value
- Changing the meta_query of the main query based on custom query_vars and using pre_get_posts
- ACF: get_field() returning false [closed]
- How to get_terms() only of terms matching an ACF meta value?
- Query between dates using Date Picker fields
- Advanced custom field – gallery – display one random image
- Showing an ACF field in admin posts dashboard
- Google Places API With ACF [closed]
- ACF Repeater Field, need IF statement for if sub field has content
- Can not create fields in ACF with code
- Query pages for use of a flexible content layout
- Can an array be used as a meta_query value?
- disable (read only) a field if within a custom post type name
- ACF if / else checkbox [closed]
- WP Rest endpoint with custom post type and ACF Fields
- ACF Advanced Custom Fields | Help me grab the fields on my WooCommerce homepage [closed]
- Update post meta value as date difference between two fields
- My get_terms not working for custom fields
- How to share repeated fields across multiple pages?
- Remove headings option from Wysiwyg editor from ACF in a certain custom post type
- Get Current Post ID in functions php, meta query filter
- Stuck in Order by more then one
- How to break a date from ACF?
- Remove YoastSEO meta description from output/source [closed]
- Advanced Custom Fields changes get stuck in cache
- WordPress Date with ACF
- Query based on custom fields start and end date
- html element to separate php variable strings – ACF datepicker
- Get image data from advanced custom field [closed]
- Check for image with same filename but different extension
- Advanced Custom Fields if else issue
- How to get both image attachment ID and url
- Search and replace not working for ACF Images
- how make file upload field through custom field
- Advanced Custom Fields oembed only outputs YouTube URL
- Importing ACF code in other page templates
- ACF Content with WPML not saving [closed]
- How do I ensure the social icons appear on all pages? [closed]
- Order get_terms by multiple meta_values
- Strip comma from last element in concatenated JSON string
- Can I use pre_get_posts to add up values from two different meta_keys?
- Unpublish Authors With not Fulfilled Fields
- Check for duplicate custom field value before running wp_insert_post
- Adding new parent item to admin bar
- Display category multi-select with Advanced Custom Felds
- Advanced Custom Field Textarea not Showing (ListingPro Theme)
- meta_query Array
- Woocommerce products search with custom fields
- Fill up advanced custom field of a custom post type via API REST POST
- Two problems that are likely related to AJAX
- ACF – Eliminate unnecessary data and print
- Get values from an advanced custom field
- Edit (advanced) customs fields on page template
- ACF Posts in Theme Options only returning when logged in? Bug?
- ACF – Adding PHP into Slick Slider Breaks the Slider
- Comparing two dates (ACF and current time)
- Display Specific Posts at Start of Loop
- Advanced Custom Fields Gallery and Flex Slider [reformuled]
- Convert number to date format within an array
- ACF not updating value correctly
- ACF Repeater and Sort
- Exclude Posts Using Meta Query and User Meta
- Pin to Top Functionality using orderby custom field then event date
- WordPress loop based on url sting
- Looking for a way to exclude frontpage and nav menu from query filter
- Advanced Custom Fields repeter field expiration
- Getting “Invalid argument supplied for foreach()” Warning
- WordPress/Timber/Twig – Trying to output checkbox values [closed]
- How to use WordPress to embed a SoundCloud download link?
- upgrading ACF (advanced custom fields) on an old site [closed]
- Generate the post title from ACF fields
- show only first element from a type with acf
- How do I subquery with custom meta fields?
- ACF – if field has value within Field Group conditional statement [closed]