Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress SEO for WordPress Enhancing the SEO of a WordPress Theme Meta Description Tags in WordPress

Why use a function for meta data if i could use meta data markup in the head section which shows up as well ? Thanks

<meta....>

2 Answers

Nathan Newell
Nathan Newell
7,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).