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 PHP for WordPress PHP Basics for WordPress PHP Basics for WordPress Quiz

Mike Ferrari
Mike Ferrari
3,239 Points

What template tag is appropriate here, and is there more than one answer?

I have had many wrong answers here and cannot figure the correct response. I have looked through https://codex.wordpress.org/Template_Tags with no luck. And is there more than one answer? Please advise.

2 Answers

Daniel Gauthier
Daniel Gauthier
15,000 Points

Hey Mike,

The correct answer for the question:

Write out the template tag that let's you echo out the title of a post or page: _________()

is:

the_title

Note that the brackets are already appended to the end of the answer for you, so you don't include them.

Good luck with the course!

Mike Ferrari
Mike Ferrari
3,239 Points

Great Daniel, thanks a ton!