<?php $args = array('post_type' => 'trek','tour','expedition','activity','peak',
'tax_query' => array(
array(
'taxonomy' => 'destination',
'field' => 'term_id',
'terms' => 11,
),
),
'posts_per_page' => -1, 'orderby'=>'title','order'=>'ASC'); ?>
<?php
$query = new WP_Query($args);
if($query->have_posts()):
while ($query->have_posts()):
$query->the_post();
?>
No comments:
Post a Comment