How to display category wise posts on seprarate template

You can create a taxonomy-models_categories.php file in your theme to use as a general template for displaying the posts (‘models’ in your case) of any selected term (‘model category’ in your case). Now, if you wanted to display a different template for a specific term you could create a taxonomy-models_categories-termslug.php template, replacing ‘termslug’ with the … Read more

Hide Custom Taxonomy title if not associated with another Custom Taxomony

I found my answer from another site after hours of searching! – http://wpquestions.com/question/showChrono/id/10819 <?php // List posts by the terms for a custom taxonomy of any post type $post_type=”product”; $tax = ‘products’; $tax_args = array( ‘order’ => ‘DESC’, ‘parent’ => 0 ); // get all the first level terms only $tax_terms = get_terms( $tax, $tax_args … Read more