display one post out of each custom category (aka “term of custom taxonomy”)
You can use tax_query to query your posts based on the taxonomy. But be advised, if you have a lot of categories, then this is gonna take a lot of resources, unless you use a cache plugin. $terms = get_terms(array(‘taxonomy’ => ‘album’, ‘exclude’ => 4)); foreach ($terms as $term){ $args = array( ‘post_type’ => ‘simple_image’, … Read more