{"id":104549,"date":"2014-07-03T07:24:34","date_gmt":"2014-07-03T11:24:34","guid":{"rendered":"http:\/\/2014.nyc.wordcamp.org\/?post_type=wcb_session&#038;p=104549"},"modified":"2014-07-08T09:04:51","modified_gmt":"2014-07-08T13:04:51","slug":"so-you-know-wp_query-now-what","status":"publish","type":"wcb_session","link":"https:\/\/nyc.wordcamp.org\/2014\/session\/so-you-know-wp_query-now-what\/","title":{"rendered":"So You Know WP_Query. Now What?"},"content":{"rendered":"<p>In the recent past, the WordPress developer community has been enlightened as to the dangers of <code>query_posts()<\/code> and embraced <code>new WP_Query()<\/code>. Now, let&#8217;s take a deeper dive into <code>WP_Query<\/code> and its helpers, <code>WP_Tax_Query<\/code>, <code>WP_Meta_Query<\/code>, and <code>WP_Date_Query<\/code>. From arguments to SQL to hooks, we\u2019ll take a look at how to get just the posts you want.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the recent past, the WordPress developer community has been enlightened as to the dangers of query_posts() and embraced new WP_Query(). Now, let&#8217;s take a deeper dive into WP_Query and its helpers, WP_Tax_Query, WP_Meta_Query, and WP_Date_Query. From arguments to SQL to hooks, we\u2019ll take a look at how to get just the posts you want.<\/p>\n","protected":false},"author":4198497,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1407084300,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[104487],"footnotes":""},"session_track":[325633],"session_category":[],"class_list":["post-104549","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-queens"],"jetpack_shortlink":"https:\/\/wp.me\/p4tOrc-rch","jetpack_sharing_enabled":true,"session_date_time":{"date":"August 3, 2014","time":"12:45 pm"},"session_speakers":[{"id":"104487","slug":"helen-hou-sandi","name":"Helen Hou-Sand\u00ed","link":"https:\/\/nyc.wordcamp.org\/2014\/speaker\/helen-hou-sandi\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/nyc.wordcamp.org\/2014\/wp-json\/wp\/v2\/sessions\/104549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nyc.wordcamp.org\/2014\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/nyc.wordcamp.org\/2014\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":4,"href":"https:\/\/nyc.wordcamp.org\/2014\/wp-json\/wp\/v2\/sessions\/104549\/revisions"}],"predecessor-version":[{"id":104963,"href":"https:\/\/nyc.wordcamp.org\/2014\/wp-json\/wp\/v2\/sessions\/104549\/revisions\/104963"}],"speakers":[{"embeddable":true,"href":"https:\/\/nyc.wordcamp.org\/2014\/wp-json\/wp\/v2\/speakers\/104487"}],"author":[{"embeddable":true,"href":"https:\/\/nyc.wordcamp.org\/2014\/wp-json\/wporg\/v1\/users\/helen"}],"wp:attachment":[{"href":"https:\/\/nyc.wordcamp.org\/2014\/wp-json\/wp\/v2\/media?parent=104549"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/nyc.wordcamp.org\/2014\/wp-json\/wp\/v2\/session_track?post=104549"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/nyc.wordcamp.org\/2014\/wp-json\/wp\/v2\/session_category?post=104549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}