[wp-hackers] get_terms() & 'term_group'

Braydon Fuller ronin at braydon.com
Sat Jul 16 22:41:00 UTC 2011

Interesting, I wonder if this would have added benefits for SEO for 
aliased keywords...

On 07/16/2011 02:12 PM, Otto wrote:
> Term aliasing is one of those things that nobody really uses, but it's
> left there because there's some ideas floating around it that could be
> useful for somebody.
> Basically, the idea is to group terms together showing that they're
> related or similar or the same or something. For example, if I went to
> /tags/wordpress then maybe it'd be nice to get posts with the tag "WP"
> as well. If those two terms were in the same group, then I might be
> able to do something like that.
> Marking terms as aliases is there and works. How you can use that term
> grouping is not really in there at all. That's more advanced
> functionality that needs to be fleshed out and rethought before
> becoming core code.
> -Otto
> On Sat, Jul 16, 2011 at 2:22 PM, Jackson Whelan<jw at jacksonwhelan.com>  wrote:
>> On 7/16/11 1:17 PM, 24/7 wrote:
>>> I was just looking the Codex [1] article and found 'term_group' as valid
>>> value for 'order_by'. Now I question how&    where I would set a term_group.
>>> Any idea?
>>> Thanks.
>>> K.
>>> [1] http://codex.wordpress.org/Function_Reference/get_terms
>> Quoting Otto [1] :
>> "From the interface side of things, it's not used for anything at all.
>> However, internally, it's possible to create terms that are aliases of other
>> terms. These terms will then be in the same term group, showing that they're
>> really the same term.
>> There is no real use for it at this point. It's there for potential future
>> functionality and for plugins.
>> If you are a plugin programmer and know how WP works, then you can add an
>> alias_of parameter to the call to wp_insert_term(). The alias_of specifies
>> the slug of the term that the new term you're inserting will be an alias of
>> (and so which will share a term_group). Same parameter works on
>> wp_update_term() too."
>> [1] http://wordpress.org/support/topic/term-group-column
>> See also this archived thread on wp-hackers:
>> http://lists.automattic.com/pipermail/wp-hackers/2007-October/015734.html
>> Hope that helps.
>> - Jackson
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
> !DSPAM:4e21fed9289466603019809!

More information about the wp-hackers mailing list