<?xml version="1.0"?>
<oembed><version>1.0</version><provider_name>Kinsta&#xAE;</provider_name><provider_url>https://kinsta.com</provider_url><author_name>Carlo Daniele</author_name><author_url>https://kinsta.com/blog/author/carlodaniele/</author_url><title>Building Efficient WordPress Queries with WP_Query</title><type>rich</type><width>600</width><height>338</height><html>&lt;blockquote class="wp-embedded-content" data-secret="MlFgKl92Tg"&gt;&lt;a href="https://kinsta.com/blog/wp-query/"&gt;Building Efficient WordPress Queries with WP_Query&lt;/a&gt;&lt;/blockquote&gt;&lt;iframe sandbox="allow-scripts" security="restricted" src="https://kinsta.com/blog/wp-query/embed/#?secret=MlFgKl92Tg" width="600" height="338" title="&#x201C;Building Efficient WordPress Queries with WP_Query&#x201D; &#x2014; Kinsta&#xAE;" data-secret="MlFgKl92Tg" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"&gt;&lt;/iframe&gt;&lt;script type="text/javascript"&gt;
/*! This file is auto-generated */
!function(c,d){"use strict";var e=!1,o=!1;if(d.querySelector)if(c.addEventListener)e=!0;if(c.wp=c.wp||{},c.wp.receiveEmbedMessage);else if(c.wp.receiveEmbedMessage=function(e){var t=e.data;if(!t);else if(!(t.secret||t.message||t.value));else if(/[^a-zA-Z0-9]/.test(t.secret));else{for(var r,s,a,i=d.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),n=d.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),o=new RegExp("^https?:$","i"),l=0;l&lt;n.length;l++)n[l].style.display="none";for(l=0;l&lt;i.length;l++)if(r=i[l],e.source!==r.contentWindow);else{if(r.removeAttribute("style"),"height"===t.message){if(1e3&lt;(s=parseInt(t.value,10)))s=1e3;else if(~~s&lt;200)s=200;r.height=s}if("link"===t.message)if(s=d.createElement("a"),a=d.createElement("a"),s.href=r.getAttribute("src"),a.href=t.value,!o.test(a.protocol));else if(a.host===s.host)if(d.activeElement===r)c.top.location.href=t.value}}},e)c.addEventListener("message",c.wp.receiveEmbedMessage,!1),d.addEventListener("DOMContentLoaded",t,!1),c.addEventListener("load",t,!1);function t(){if(o);else{o=!0;for(var e,t,r,s=-1!==navigator.appVersion.indexOf("MSIE 10"),a=!!navigator.userAgent.match(/Trident.*rv:11\./),i=d.querySelectorAll("iframe.wp-embedded-content"),n=0;n&lt;i.length;n++){if(!(r=(t=i[n]).getAttribute("data-secret")))r=Math.random().toString(36).substr(2,10),t.src+="#?secret="+r,t.setAttribute("data-secret",r);if(s||a)(e=t.cloneNode(!0)).removeAttribute("security"),t.parentNode.replaceChild(e,t);t.contentWindow.postMessage({message:"ready",secret:r},"*")}}}}(window,document);
&lt;/script&gt;
</html><thumbnail_url>https://kinsta.com/wp-content/uploads/2016/07/How-to-Build-Efficient-Queries-in-WordPress_notext.jpg</thumbnail_url><thumbnail_width>1600</thumbnail_width><thumbnail_height>998</thumbnail_height><description>When traffic and content are limited, we don't care about query speed. But when site content grows up to thousands of posts, we must consider the query execution time. In this post I will focus on those parameters provided by the WP_Query class specifically to optimize the SQL queries, reducing execution time and resource consumption.</description></oembed>
