<?php if (!strstr($_SERVER[’HTTP_USER_AGENT’], ’W3C_Validator’)) { ?>
<MTEntryTrackbackData>
<?php } ?>
Same idea as your ’index-no-tb.php’, but with only one file.
]]>Don’t have PHP, and thinking about PapaScott’s separate template idea? Don’t. I started down that path, too, until I realized that testing template changes would involve having to keep both templates in sync: make a change in your main template, see if it works like you expect, make the same change in your validation template, see if it’s valid, back and forth… far better to stick with the comments.
]]>Guess for now I’ll stick with the comment kludge.
]]>if ( !strstr() && !strstr() ) {
I just copied that from above and deleted the stuff inside the !strstr()s.
]]>