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 WordPress Theme Development Adding a Blog to a WordPress Theme Adding a Blog to a WordPress Theme Quiz

Martina Carrington
Martina Carrington
15,754 Points

function instead of the_date() on blog post pages.

i use the get_the_date and i keep getting error

3 Answers

Colin Marshall
Colin Marshall
32,861 Points

Your answer is sort of correct, but the question is looking for a different function. Here's a hint, check the special note section of the codex page for the_date:

https://codex.wordpress.org/Function_Reference/the_date

the_time()