WP Reset Query

tips-and-tricks

#1

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


#2

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


#3

thank you very much :slight_smile: