show 10 most recent custom post types excluding the one(s) from specific custom taxonomy

Firstly, your tax query is a little jumbled. The first nested array should actually be at the ‘root’ of your query_posts() argument, with tax_query as a key among them; array( ‘post_type’ => ‘review’, ‘post_status’ => ‘publish’, ‘posts_per_page’ => 10, ‘tax_query’ => array( ‘relation’ => ‘AND’, array( ‘taxonomy’ => ‘reviewcats’, ‘terms’ => array( ‘featured’ ), ‘field’ … Read more

get_the_term_list() wanting to loop through the returned values

I would use wp_get_object_terms which will return an array of object terms that you can manipulate. You also have a little more control with sorting the terms. <?php $terms = wp_get_object_terms($post->ID, ‘work’, array(‘orderby’ => ‘name’, ‘order’ => ‘ASC’)); if(is_array($terms)) : ?> <ul> <?php if(isset($terms[0])) : ?><li><a href=”https://wordpress.stackexchange.com/questions/22940/<?php echo get_term_link($terms[0]); ?>”>Find out more about <?php echo … Read more

Custom taxonomy labels won’t display

Try changing ‘labels’ to an array arg, and passing that. Also, check for syntax: $labels => array( ‘name’ => _x( ‘Seminar Types’, ‘taxonomy general name’ ), ‘singular_name’ => _x( ‘Seminar Type’, ‘taxonomy singular name’ ), ‘search_items’ => __( ‘Search Seminar Types’ ), ‘popular_items’ => __( ‘Popular Seminar Types’ ), ‘all_items’ => __( ‘All Seminar Types’ … Read more

Loop custom post type by taxonomy (Category)

Before the loop starts use query_posts. Available parameters are here. Something like this: global $wp_query; query_posts( array( ‘post_type’ => ‘mycustomname’, ‘tax_query’ => array( ‘relation’ => ‘AND’, array( ‘taxonomy’ => ‘mytaxonomyname’, ‘field’ => ‘slug’, ‘terms’ => array( ‘myterm1slug’, ‘myterm2slug’ ) ) ) ) );