I've recently discovered Custom Taxonomies in WordPress. (Check out the full guide here - http://justintadlock.com/archives/2009/05/06/custom-taxonomies-in-wordpress-28 )
The possibilities are really quite exciting but I really need to be able to make conditional tags for it to be *really* useful.
So can anyone help me with creating custom conditional tags?
For example before I would use
if has_tags('Tom Cruise') to check if if the post was tagged with 'Tom Cruise' but if I had a custom taxonomy for 'People' then the custom conditional would need to be something like
if has_people('Tom Cruise').
I think I edit wp-includes/category-template.php to create the custom conditional tags but that's as far as I've got.
If anyone has any guidance it would be hugely appreciated.