Displaying custom taxonomy menu in custom post type archive

Displaying two different menus base on the archive is no problem using is_post_type_archive() What you are looking for is essentially the link to an term archive that only contains posts of a certain post type. Something like /index.php?term=US&post_type=pub. As far as I’m aware of WordPress doesn’t offer this natively. You will have to create your … Read more

Post type Echo code is repeating on homepage

just use the code below <?php if ( ! is_home() ) { if ( get_post_type() == ‘pretty-little-liars’ ) { echo ‘<div id=”headerimg”><img src=”http://tv-cafe.com/wp-content/uploads/2012/08/liars.png”></div>’; } if ( get_post_type() == ‘revenge’ ) { echo ‘<div id=”headerimg”><img src=”http://tv-cafe.com/wp-content/uploads/2012/08/revenge.png”></div>’; } }