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

tylerwiley
20,196 PointsThe () function will display the title of a blog post or page within the Loop.
I have been looking for the answer of this question forever and can't find it. I am completely lost. Can anyone let me know what the answer is? It would be greatly appreciated.
3 Answers

Kevin Korte
28,149 PointsThe answer to your question is in "the_title" of your own question. And here

Colin Marshall
32,861 PointsDid you try checking out the section in the WordPress Codex concerning The Loop?

tylerwiley
20,196 PointsThat I did. I still can't seem to come across the answer.

Colin Marshall
32,861 PointsAs Kevin mentioned, it is the_title() that you were looking for. It is the first function on the page I linked to you.

ryan hamilton
935 PointsI tried the_title and it still didn't work. Don't recall that being in this lesson. Part of the problem with these quizzes is the difficulty in choosing the right syntax. Sometimes the author of the quiz puts a semicolon there for you and on the next question if you add a semicolon it is deemed incorrect.
I realize syntax is extremely important in coding, but syntax in relation to the context of how the question is being asked is very tricky. I spend most of the time trying to enter the correct version of the right answer.

Colin Marshall
32,861 Pointsryan hamilton could you please link me to this specific quiz/challenge this question appears in? I want to take another look at it before I give you a response but the original post is not linked to the specific quiz this question appears in. Thanks!!!

Timothy Rogers
Courses Plus Student 8,703 PointsAmen to Colin Marshall!!!
tylerwiley
20,196 Pointstylerwiley
20,196 PointsWhy thank you kind sir. Your work here is greatly appreciated.