{"id":1335,"date":"2015-08-28T16:22:52","date_gmt":"2015-08-28T20:22:52","guid":{"rendered":"https:\/\/2015.tampa.wordcamp.org\/?post_type=wcb_session&#038;p=1335"},"modified":"2015-10-03T08:31:50","modified_gmt":"2015-10-03T12:31:50","slug":"getting-what-you-need-with-wp_query","status":"publish","type":"wcb_session","link":"https:\/\/tampa.wordcamp.org\/2015\/session\/getting-what-you-need-with-wp_query\/","title":{"rendered":"Getting What You Need With WP_Query"},"content":{"rendered":"<p>This talk will review getting information from the WordPress tables using the WP_Query class. We&#8217;ll discuss the various options for getting different types of data, properly escaping input and output, resetting the loop, and possibly storing the results in transients.<\/p>\n<p><a href=\"http:\/\/www.slideshare.net\/topher1kenobe\/working-with-wpquery-in-wordpress\">View Presentation Slides on Slideshare<\/a><\/p>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=UU7TdtLzPrA&amp;feature=youtu.be&amp;t=8s\">Complex queries as opposed to transients<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This talk will review getting information from the WordPress tables using the WP_Query class. We&#8217;ll discuss the various options for getting different types of data, properly escaping input and output, resetting the loop, and possibly storing the results in transients. &hellip; <a href=\"https:\/\/tampa.wordcamp.org\/2015\/session\/getting-what-you-need-with-wp_query\/\">Continue reading <span class=\"assistive-text\">Getting What You Need With WP_Query<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":6250429,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1443380400,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"http:\/\/www.slideshare.net\/topher1kenobe\/working-with-wpquery-in-wordpress","_wcpt_session_video":"","_wcpt_speaker_id":[1208],"footnotes":""},"session_track":[8341],"session_category":[],"class_list":["post-1335","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-design-development"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5JKhT-lx","session_date_time":{"date":"September 27, 2015","time":"3:00 pm"},"session_speakers":[{"id":"1208","slug":"topher-derosia","name":"Topher DeRosia","link":"https:\/\/tampa.wordcamp.org\/2015\/speaker\/topher-derosia\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/tampa.wordcamp.org\/2015\/wp-json\/wp\/v2\/sessions\/1335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tampa.wordcamp.org\/2015\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/tampa.wordcamp.org\/2015\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":4,"href":"https:\/\/tampa.wordcamp.org\/2015\/wp-json\/wp\/v2\/sessions\/1335\/revisions"}],"predecessor-version":[{"id":2017,"href":"https:\/\/tampa.wordcamp.org\/2015\/wp-json\/wp\/v2\/sessions\/1335\/revisions\/2017"}],"speakers":[{"embeddable":true,"href":"https:\/\/tampa.wordcamp.org\/2015\/wp-json\/wp\/v2\/speakers\/1208"}],"author":[{"embeddable":true,"href":"https:\/\/tampa.wordcamp.org\/2015\/wp-json\/wporg\/v1\/users\/topher1kenobe"}],"wp:attachment":[{"href":"https:\/\/tampa.wordcamp.org\/2015\/wp-json\/wp\/v2\/media?parent=1335"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/tampa.wordcamp.org\/2015\/wp-json\/wp\/v2\/session_track?post=1335"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/tampa.wordcamp.org\/2015\/wp-json\/wp\/v2\/session_category?post=1335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}