WP_Query – Order results by meta value
orderby should be meta_value_num, or meta_value, not the name of the key. See WP_Query orderby parameters.
orderby should be meta_value_num, or meta_value, not the name of the key. See WP_Query orderby parameters.
You can see in the docs that you get the values by get_field(), so do something like this: $values = get_field( ‘field_name’ ); if ( $values ) { echo ‘A value is set’; } else { echo ‘A value is not set’; } Change field_name to your wanted field.