Update packagr_wordpress.php

move wp_reset_postdata() out of the loop