Home › Forums › Back End › My First WordPress Theme – PHP and function output problems › Reply To: My First WordPress Theme – PHP and function output problems
March 1, 2015 at 5:17 am
#197043
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.