Support

Account

Home › Forums › General Issues › Using post object in a loop of post › Reply To: Using post object in a loop of post

  • Try changing:

    endforeach; wp_reset_postdata();

    to:

    endforeach; $post_article->reset_postdata();

    … and let me know.