How to use germ_terms() with meta_query for ACF Taxonomy field?

Answer – the correct formulation is… ‘meta_query’ => array( array( ‘key’ => ‘Topic’, ‘value’ => “12057”, ‘compare’ => ‘LIKE’ ) ) In full: ` $args = array( ‘taxonomy’ => ‘event’, // ‘order’ => ‘ASC’, ‘hide_empty’ => false, ‘hierarchical’ => true, // ‘parent’ => 0, ‘meta_query’ => array( array( ‘key’ => ‘Topic’, ‘value’ => “12057”, ‘compare’ … Read more

List all ACF field values across every post on one page

You want to start here and here. Essentially you’re just looping through all your posts like normal and then adding some custom fields into it. Be sure to reference the Repeater Field documentation. This should work inside a loop. Notice you’ll need your post ID. <ul> <?php if( have_rows(‘YOURREPEATERFIELDNAMEHERE’, ‘POSTIDHERE’) ): while ( have_rows(‘YOURREPEATERFIELDNAMEHERE’, ‘POSTIDHERE’) … Read more

get_template_part() not working with Advanced Custom Fields plugin

as you use multiple $testimonials i suppose those are group values. then you need to use get_sub_field() in place of get_field() so it should look like $term = get_queried_object(); $testimonials = get_sub_field(‘testimonials’,$term); echo $testimonials[‘small_title’]; echo $testimonials[‘main_title’]; echo $testimonials[‘description’]; Please refer to ACF documentation when you use non classical fields. https://www.advancedcustomfields.com/resources/group/