Term specific featured post on taxonomy archive pages

The way to go would be to create an archive template for your taxonomy. Then you can catch the term requested with a function like get_queried_object(). So now you can do a custom WP_Query querying for both your term and your meta ‘featured’ Hope that makes sense http://codex.wordpress.org/Class_Reference/WP_Query http://codex.wordpress.org/Template_Hierarchy#Custom_Taxonomies_display

Get list of CPT posts in *current* post’s taxonomy term

You can get the Packages of the current Proposal using wp_get_object_terms() and then pass some/all of those into a WP_Query. $terms = wp_get_object_terms( $post_id, ‘packages’, array( ‘fields’ => ‘ids’ ) ); $args = array( ‘post_type’ => ‘proposals’, ‘tax_query’ => array( array( ‘taxonomy’ => ‘packages’, ‘terms’ => $terms ) ), ); $related = new WP_Query( $args … Read more

Custom Post Status & Taxonomies

Did you try adding a count callback? // Register Custom Taxonomy function custom_taxonomy() { $labels = array( ‘name’ => _x( ‘Taxonomies’, ‘Taxonomy General Name’, ‘text_domain’ ), ‘singular_name’ => _x( ‘Taxonomy’, ‘Taxonomy Singular Name’, ‘text_domain’ ), ‘menu_name’ => __( ‘Taxonomy’, ‘text_domain’ ), ‘all_items’ => __( ‘All Items’, ‘text_domain’ ), ‘parent_item’ => __( ‘Parent Item’, ‘text_domain’ ), … Read more

How to pass taxonomy terms to WP_Query along with $args?

You can do like following $thiscat = $wp_query->get_queried_object();//put this code $args = array( ‘post_type’ => ‘sports’, ‘tax_query’ => array( array( ‘taxonomy’ => ‘sports_category’, ‘field’ => ‘slug’, ‘terms’ => $thiscat->slug // Pass this to slug ), ), ); $myquery = new WP_Query($args); then you can able to fetch post titles tagged under football and basketball separately … Read more