“The Loop” lies to us all, don’t let it trick you. An intervention with the loop is past due. Lets walk through mastering its evil ways together. What is the best way to loop? Should you use get_posts, WP_Query or query_posts? Why does pagination break? How do you loop at all and what is the loop? How can you optimize the loop and decrease load time? Get the most out of the loop! In this talk we will master the backbone of WordPress. Together and answer these important and overlooked questions in turn.
Schedule:
http://2013.birmingham.wordcamp.org/session/busting-the-loop-lies/
Links:
http://wordpress.tv/2013/03/15/andrew-nacin-wp_query-wordpress-in-depth/
http://wordpress.stackexchange.com/questions/1753/when-should-you-use-wp-query-vs-query-posts-vs-get-posts
http://codex.wordpress.org/Function_Reference/WP_Query
http://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts