[wp-hackers] Term Meta - Trac'd already?

Chip Bennett chip at chipbennett.net
Wed Jul 13 19:59:04 UTC 2011

Just out of curiosity, what are you wanting to do, that you can't do with
some combination of:

1) category-{slug}.php/tag-{slug}.php, with is_category()/in_category(),
2) taxonomy-{taxonomy}-{term}.php, with is_tax()
3) , the CSS classes output by body_class()

Given your example use case, I think it can be accomplished easily using
nothing but the above-available tools.


On Wed, Jul 13, 2011 at 2:45 PM, Daniel Cameron <dan at sproutventure.com>wrote:

> >
> >
> > What's your use case?
> > ...
> >
> I'm not saying that there isn't a use case, I just don't know of one
> > off the top of my head, and would be interested in finding a good one.
> >
> We built a theme that styles the site differently based on where you're at
> on a site. Think of a travel site: where San Francisco has the bay bridge
> as
> the background for the term archive and the individual pages, then New York
> has the park.
> I couldn't think of any other way to do this since we want to use term's (
> location taxonomy ) instead of building something that essentially
> recreates
> the taxonomy functionality with term meta.
> Thanks for the time!
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list