Live search by custom tag

‘post_type’ => ‘custom_type’ is a reference to your post type. You need to change custom_type to the actual post type that you created / registered. So, if your post type was my_cool_dregs then the line would be: ‘post_type’ => ‘my_cool_dregs’ The same holds true with ‘taxonomy’=>’custom_tags’ You need use the actual taxonomy name that you … Read more

Taxonomie cpt with acf

You would want to use the value of the ACF Taxonomy Field as an additional argument of your WP_Query. So in ‘single-formation.php’ replace your WP_Query with something like this: $term_ids = get_field(‘taxonomy_field_name’); // make sure the return value of your ACF Taxonomy field is set to “Term ID” $args = array( ‘post_type’ => ‘formation’, ‘tax_query’ … Read more