Query posts via Taxonomy field - ACF Support

PHOTO EMBED

Thu Nov 12 2020 22:59:58 GMT+0000 (Coordinated Universal Time)

Saved by @richard #php

get_posts(array(
    'post_type' => 'quotes',
    'tax_query' => array(
        // get_the_terms() stuff.
    ),
    'order' => 'ASC',
    'posts_per_page' => 5,
    'orderby' => 'rand')
);
?>
content_copyCOPY

https://support.advancedcustomfields.com/forums/topic/query-posts-via-taxonomy-field/