Welcome to the Treehouse Community
Looking to learn something new?
Why use a function for meta data if i could use meta data markup in the head section which shows up as well ? Thanks
Nathan Newell7,634 Points
I would imagine that the main reason for this would allow you to create conditional statements with ease.
With WordPress, and with the particular plugin he used in his example (Yoast), it allows users to input and change the title tags and meta tags from within the designer interface. I assume it's a feature designed so that you don't have to manipulate the backend (i.e. if you're not a technical person).