Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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


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).