Welcome to the Treehouse Community
Looking to learn something new?
What is the difference b/w template tags and the rest of the WP PHP functions?
Maybe this is just semantics, but what is the difference b/w template tags and the rest of the WP PHP functions?
Sue Dough35,800 Points
Template tags are WP PHP functions. They just do something different. Every function is different.
Jeremy Castanza12,080 Points
You asked a good question. I'm just going to pull a definition from the Codex... "Template tags are used within your blog's Templates to display information dynamically or otherwise customize your blog, providing the tools to make it as individual and interesting as you are." My take on that is that template tags are really geared toward theme development. Where as other WP functions may not be (i.e. there are core functions to build admin area, access info from database, plugin functions, etc.).
Template Tags is only a WP PHP function (there are many more) for display dynamic information of other files, parts or functions of the blog. The Template Tags is a excellent solution for save time and order.