tbtestimonial() needs to reset query after use.
-
Calling tbtestimonial() before the post content is output causes the testimonial content to be output instead of the post content.
After the closing of the
while( $q->have_posts() )
loop in that function it should callwp_reset_query()
to repopulate the main page query.
- The topic ‘tbtestimonial() needs to reset query after use.’ is closed to new replies.