custom taxonomy not get post but category get to post
How do you write wp_query get post taxonomy?
‘taxonomy’ => ‘khu-vuc’,
‘field’ => ‘id’,
‘terms’ => array($post->ID),
$my_query = new WP_Query( $args_my_query );
code in file search.php

Read more here: wp_query get post custom taxonomy in search.php


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: