WP Reset Query



Does wp_reset_query(); function is not allowed on ThemeForest WP submission? thanks


I can’t see why you can’t use it when it’s used properly - https://codex.wordpress.org/Function_Reference/wp_reset_query

but you should be using wp_query and not query_posts so wp_reset_query won’t be used as you use wp_reset_postdata for wp_query


thank you very much :slight_smile: