tag.php acting weird with custom post types
-
Hi,
I have a tag.php template, and currently it does not work when you click a tag with an article that is associated with a custom post type. I’m really confused, because its a site-wide tag….there’s no upfront reason it shouldn’t work.
But the tag.php template just displays no article.
The funny thing is that this:
<?php single_tag_title( ); ?>
…works fine.Do I have to “get the current tag” and pass that into a custom query or something? Do I have to use an archive template instead? Am I just missing something really obvious that I can’t find in the codex?
I’m really new to custom post templates and so far, easy to set up: confusing to retrieve stuff from.
So…help please? 🙁
Thanks.
- The topic ‘tag.php acting weird with custom post types’ is closed to new replies.