list all post who have mutual taxonomy as current taxonomy!

No custom programming answer: A plugin like https://facetwp.com/ will allow you to set up filters as you have described. Custom programming answer: You can create a shortcode that renders fields for the user to check and submit. Then, attach a javascript submit handler to the form so that when the user checks a box or … Read more

Custom Taxonomies Archive Page 404

I solved it with this workaround. I created a new page (“Movies” with the URL domain.cc/movies) and added this via shortcode: <?php $taxonomy = ‘artists’; $tax_terms = get_terms( $taxonomy, array( ‘post_type’ => ‘artwork’, ‘orderby’ => ‘name’, ‘order’ => ‘ASC’ ) ); ?> <?php foreach ($tax_terms as $tax_term) { ?><div class=”artistslist”> <a href=”https://wordpress.stackexchange.com/<?php echo $taxonomy;?>/<?php echo … Read more

ACF multi taxonomy on filterable gallery

Instead of getting all of the image IDs and then cycling through them and outputting each one, you would first collect them into a single array and then use array_unique() to remove the duplicates. if( $categories_du_projet ) : $image_array(); foreach( $categories_du_projet as $term ) : if( $image_du_projet ) : $image_array[] = $image_du_projet; endif; endforeach; $image_array … Read more

Show posts from two specific category in WP_Query

So you want to show only posts that have both employee and full-time categories. If that is the case than you can do the following. Because you haven’t posted the full query args I will only show the tax_query part ‘tax_query’ => array( ‘relation’ => ‘AND’, array( ‘taxonomy’ => ‘category’, ‘field’ => ‘slug’, ‘terms’ => … Read more