term_id , $term->taxonomy); if(!empty($anchestor)){ $new_term = get_term( $anchestor[0], $term->taxonomy ); $more = ''.upper_case_s(remove_greek_tonnes(esc_html($new_term->name))).' | '; ?>
Tent
 
posts . '.post_status DESC, ' . $wpdb->posts . '.post_title ASC'; query_posts($query_string.'&post_status=publish,private&meta_key=tent-member&meta_value=1&post_status=publish,private&post_type=directory&paged=' . $paged); if ($wp_query->have_posts()) { $i = 0; while($wp_query->have_posts()) { $wp_query->the_post(); get_template_part('directory_item'); $i++; if ($i != $wp_query->post_count) { echo '
'; } } } wp_pagenavi(); wp_reset_query(); ?>