On Thu, Jan 13, 2011 at 12:29 PM, Chip Bennett <[email protected]> wrote:
> Hi Codexers! > > I would like to update the > is_tax()<http://codex.wordpress.org/Function_Reference/is_tax>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? > > Thanks in advance, > > Chip > Keep in mind that is_tax() is useless for link categories and navigation menus, as they don't have archive pages. It's also useless for categories and tags, because is_tax() is exclusively custom taxonomies, and returns false for these. 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'll take a look on adding one. Otherwise though, is_tax() is only useful for custom, non-core taxonomies. Cheers, Andrew
_______________________________________________ wp-docs mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-docs
