<br><br><div class="gmail_quote">On Thu, Jan 13, 2011 at 12:29 PM, Chip Bennett <span dir="ltr">&lt;<a href="mailto:chip@chipbennett.net">chip@chipbennett.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi Codexers!<div><br></div><div>I would like to update the <a href="http://codex.wordpress.org/Function_Reference/is_tax" target="_blank">is_tax()</a> function reference page, to list all of the core-registered taxonomies (category, post_tag, nav_menu, link_category, post_format), with examples of how to call/use each one. Is there a particular Section to which I should add this information, or a particular format I should use?</div>


<div><br></div><div>Thanks in advance,</div><div><br></div><font color="#888888"><div>Chip</div></font></blockquote><div><br></div><div>Keep in mind that is_tax() is useless for link categories and navigation menus, as they don&#39;t have archive pages. It&#39;s also useless for categories and tags, because is_tax() is exclusively custom taxonomies, and returns false for these.</div>

<div><br></div><div>It *does* work for post formats, but it looks like we should be adding a wrapper function there for a conditional tag for post format pages. I&#39;ll take a look on adding one. Otherwise though, is_tax() is only useful for custom, non-core taxonomies.</div>

<div><br></div><div>Cheers,</div><div>Andrew</div></div>