{"id":597,"date":"2016-09-12T08:45:11","date_gmt":"2016-09-12T15:45:11","guid":{"rendered":"https:\/\/2016.sacramento.wordcamp.org\/?post_type=wcb_session&#038;p=597"},"modified":"2016-09-13T09:02:43","modified_gmt":"2016-09-13T16:02:43","slug":"the-loop-and-wp_query","status":"publish","type":"wcb_session","link":"https:\/\/sacramento.wordcamp.org\/2016\/session\/the-loop-and-wp_query\/","title":{"rendered":"The Loop And WP_Query()"},"content":{"rendered":"<p><strong>SPEAKER:<\/strong> <a href=\"https:\/\/2016.sacramento.wordcamp.org\/speaker\/michael-shores\/\">Michael Shores<\/a><br \/>\n<strong>TIME:<\/strong> 3:40 pm &#8212; 4:15 pm<br \/>\n<strong>ROOM:<\/strong> Calaveras<\/p>\n<p>This talk will cover how to use the WP_Query() method to write queries and loops for just about anything in WordPress, including queries like:<\/p>\n<ul>\n<li>Getting a list of posts by category<\/li>\n<li>Query by custom post type<\/li>\n<li>Query posts before or after a specific date<\/li>\n<li>Complex queries on custom field values<\/li>\n<li>Multiple queries and post lists on the same page<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>SPEAKER: Michael Shores TIME: 3:40 pm &#8212; 4:15 pm ROOM: Calaveras This talk will cover how to use the WP_Query() method to write queries and loops for just about anything in WordPress, including queries like: Getting a list of posts &hellip; <a href=\"https:\/\/sacramento.wordcamp.org\/2016\/session\/the-loop-and-wp_query\/\">Continue reading <span class=\"assistive-text\">The Loop And WP_Query()<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":15097942,"featured_media":0,"template":"","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_wcpt_session_time":1477176000,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[594],"footnotes":""},"session_track":[903565],"session_category":[],"class_list":["post-597","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-calaveras"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p78H08-9D","session_date_time":{"date":"October 22, 2016","time":"3:40 pm"},"session_speakers":[{"id":"594","slug":"michael-shores","name":"Michael Shores","link":"https:\/\/sacramento.wordcamp.org\/2016\/speaker\/michael-shores\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/sacramento.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/597","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sacramento.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/sacramento.wordcamp.org\/2016\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":3,"href":"https:\/\/sacramento.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/597\/revisions"}],"predecessor-version":[{"id":1690,"href":"https:\/\/sacramento.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/597\/revisions\/1690"}],"speakers":[{"embeddable":true,"href":"https:\/\/sacramento.wordcamp.org\/2016\/wp-json\/wp\/v2\/speakers\/594"}],"author":[{"embeddable":true,"href":"https:\/\/sacramento.wordcamp.org\/2016\/wp-json\/wporg\/v1\/users\/mrshores"}],"wp:attachment":[{"href":"https:\/\/sacramento.wordcamp.org\/2016\/wp-json\/wp\/v2\/media?parent=597"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/sacramento.wordcamp.org\/2016\/wp-json\/wp\/v2\/session_track?post=597"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/sacramento.wordcamp.org\/2016\/wp-json\/wp\/v2\/session_category?post=597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}