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 trialIlonka Hofmann
4,916 Pointswhich template tag let's you echo out the title of a post or page
I've watched the videos twice and still can't find the answer!
3 Answers
Rich Bagley
25,869 PointsHi,
The answer is 'the_title'.
You can see this in the Template Tags video at the 3:36 mark.
It's also listed in the Codex if you'd like to read any more on it.
Hope that helps :)
-Rich
Ilonka Hofmann
4,916 Pointsthank you!
Rich Bagley
25,869 PointsNo problem! Don't forget to mark it as Best Answer if you're sorted :)
-Rich
Shilpi Bose
11,655 PointsTQ