Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End My First WordPress Theme – PHP and function output problems Reply To: My First WordPress Theme – PHP and function output problems

#197043
Alen
Participant

but the lack of a date in subsequent posts after the first post in a post type is still a problem. Any tips?

@adjmedia

Try using wp_reset_query() at the end of each output section. Note that in your code above you have echo wp_reset_query(); you don’t need echo here, this function sort of “rewinds” stuff back, and it’s probably the reason your dates don’t work. In some cases your widgets will break as well.