Support

Account

Home Forums Backend Issues (wp-admin) Post Object not resetting with wp_reset_postdata() Reply To: Post Object not resetting with wp_reset_postdata()

  • Hi @truheart

    Can you confirm that the template above is loaded for a $post?
    Is this template a page.php, page template, or single.php?

    The fact that you use a post_id param of 90 to load the post value, makes me think that there is no global $post object to start with…

    Thanks
    E