Quantcast
Channel: funkysmell – My Monkey Do
Viewing all articles
Browse latest Browse all 17

Speed up WP_Query

$
0
0
In WordPress, when a query does not need paging and you only want a limited amount of results, like the last 5 posts, set the ‘no_rows_found’ parameter to true.  This prevents WordPress from doing additional work in counting the total matched rows,

Viewing all articles
Browse latest Browse all 17

Trending Articles