So Many Queries
-
I notice your plugin generates 12 queries on my homepage and I’m not even using any snippets there.
8 of the queries are duplicates:
SELECT wp_posts.ID, wp_posts.post_content, p2.meta_value as priority
FROM wp_posts
INNER JOIN wp_postmeta p1
ON (wp_posts.ID = p1.post_id)
INNER JOIN wp_postmeta p2
ON (wp_posts.ID = p2.post_id)
WHERE (( p1.meta_key = ‘wbcr_inp_snippet_scope’
AND p1.meta_value = ‘auto’)
AND p2.meta_key = ‘wbcr_inp_snippet_priority’ )
AND wp_posts.post_type = ‘wbcr-snippets’
AND (wp_posts.post_status = ‘publish’)
ORDER BY CAST(priority AS UNSIGNED) ASCIs there some way to eliminate many of these queries?
Thanks!
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.