WordPress.org

Support

Support » How-To and Troubleshooting » a question about WP_query

a question about WP_query

  • i used wp_query class to get posts from a lot of different categories. after that, i checked and my web need 187 queries to database. it’s terrible. i found out wp_query class need 5 query to database when it runs. is it right?
    what function i recommend to use when i want to get posts from a lot of different categories?

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘a question about WP_query’ is closed to new replies.