Make taxonomy query dynamic
You can use custom field. For example, you could name it taxonomy, and then in your template, use get_post_meta() to retrieve the taxonomy: $post_id = get_the_ID(); // the ID of the current post $taxonomy = get_post_meta( $post_id, ‘taxonomy’, true ); And change the ‘taxonomy’ => ‘catmaison’ in your code to: ‘taxonomy’ => $taxonomy Example: $terms … Read more