To clarify, under what conditions do you want the special menu to appear? Do you want the menu to appear if a single post is being displayed that has the specified tag?
Thanks for your reply!
I have categories but also use tags to display posts. So I use archive for example
<?php if (is_tag('mycustomtag')) : ?>
I have a menu in my sidebar which should be displayed normally only change if archive or single or category has a specific tag. Then there should be a different menu (or sidebar if that is possible)
I’m sorry, but I’m still a bit unclear. Why isn’t <?php if ( is_tag ( 'mycustomtag' ) ) : ?>
sufficient for what you’re trying to accomplish?