digitalhydra
2/4/2016 - 5:45 PM

search by taxonomie

search by taxonomie

query_posts( array( 'post_type' => 'myportfoliotype', 'paged' => $paged, 'posts_per_page' => 80,
		'tax_query' => array(
			array(
				'taxonomy' => 'categories', //or tag or custom taxonomy
				'field' => 'id',
				'terms' => array('9', '13')
			)
		)
	 ));