refining related brochure query args
This commit is contained in:
parent
de17871391
commit
9c8201beee
|
|
@ -97,11 +97,13 @@ if (!function_exists('build_share_urls')) {
|
|||
$queryArgs = array(
|
||||
'post_type' => 'brochures',
|
||||
'posts_per_page' => 1,
|
||||
'status' => 'publish',
|
||||
'tax_query' => array(
|
||||
array(
|
||||
'taxonomy' => 'thematiques',
|
||||
'field' => 'term_id',
|
||||
'terms' => $currentThematique->term_id
|
||||
'terms' => $currentThematique->term_id,
|
||||
'include_children' => false,
|
||||
)
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user