Support

Account

Home Forums General Issues Issue with meta_query and ACF Reply To: Issue with meta_query and ACF

  • Hi @cutout

    Thanks for the info.

    If the field type is an image, then your meta_query will NOT work. Your meta_query is comparing the value to 1. No image uploaded to WP will ever have a post_id of 1, so this will not work.

    You need to consult the WP_Query args and find the meta_query COMPARE for ‘EXISTS’

    That should work

    Thanks
    E