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

Konrad Pilch
Konrad Pilch
2,435 Points

WP_Query time

Hi, So i have WP_Query Articles, and when i post them, the date needs to be shown on the day posted.

Now, i have thi code

<?php the_time('F m, Y'); ?>

And it shows 8 August for some reason, not to mention i created the WP yesterday.

What should i do or? the_time doesn't work on WP_Query and it's need it's own or soemthign?

1 Answer

Konrad Pilch
Konrad Pilch
2,435 Points

<?php the_time('F j, Y'); ?>

Konrad Pilch
Konrad Pilch
2,435 Points

It's soved now.. how do i delete this? Seems TTH has removed a lot of options,