• I have a WP_Query for a few posts echoing some images attached to them from a category. I reset the post data and it still seems to be affecting the main loop on the same page on my live site. Developing locally its not affected. I have read the codex and believe I have followed best practice for reseting the post data, but I could have made a mistake!

    complete code of my index.php page here https://pastebin.com/Qw4Hnmj4

    Thank you

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘wp_reset_postdata not working’ is closed to new replies.