Taylor Baybutt
Member
Posted 1 year ago #
This problam is so simple but I can't seem to find any resources regarding it except for this thread http://wordpress.org/support/topic/340882
I want to show a tag archive regardless of whether there is one post or not. Does anyone have a solution for this?
Taylor Baybutt
Member
Posted 1 year ago #
Taylor Baybutt
Member
Posted 1 year ago #
Ok, I solved it by putting
<?php /* If this is a single post */ if( is_single() ) { ?>
at the top and
<?php /* If this is a tag archive */} elseif( is_taxonomy('author') ) { ?>
where my taxonomy page code starts
and then close it with a
<?php } ?>
switch "is_taxonomy('author')" with "is_tag()" if you're not using a custom taxonomy.