What is the difference between terms and tags?

I am working on a problem to get the most recently used tags within the last 30 days.

My current thought process is not working, so I am trying to come up with an alternative method.

I came across get_term and get_terms, thinking they may be a way to an actual functioning solution to my problem.

However, searching for “What is the difference between terms and tags in WordPress” is too general and I cannot find an answer.

What is the difference between tags and terms? It what situations would get_term or get_terms be used?

Thanks.

2 s
2

Simple yet tough question, taxonomies are just groups of categories, while terms are just single categories within these groups.*

So, for example, if you create a new post and choose category for it – the category itself is a term, and opening YourWordpressURL/wp-admin/edit-tags.php?taxonomy=category you’re going to see all the categories (taxonomy).

Terms and Tags are similar at first glance, they just work differently:

Categories versus Tags – What’s the Difference and Which One?

http://www.usabilitypost.com/2008/10/17/categories-vs-tags/

*this is possibly sometimes not true, as terms don’t have to be categories, but I hate word “terms”, it just confuses me, categories fits better

Leave a Comment