{"id":742,"date":"2017-06-12T14:25:27","date_gmt":"2017-06-12T21:25:27","guid":{"rendered":"https:\/\/2017.sacramento.wordcamp.org\/?post_type=wcb_session&#038;p=742"},"modified":"2017-06-12T15:56:58","modified_gmt":"2017-06-12T22:56:58","slug":"custom-post-types-how-to-and-why","status":"publish","type":"wcb_session","link":"https:\/\/sacramento.wordcamp.org\/2017\/session\/custom-post-types-how-to-and-why\/","title":{"rendered":"Custom Post Types: How-To And Why"},"content":{"rendered":"<p>This session will cover different ways to setup custom post types, including by hand, with the wp-cli scaffold command and using WordPress plugins. See real-world client examples to illustrate specific ways custom post types can be used and the reasoning behind their use, such as why you&#8217;d use a custom post type instead of just a tag or a category. We&#8217;ll also cover WordPress templating for custom post types and adding custom fields.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This session will cover different ways to setup custom post types, including by hand, with the wp-cli scaffold command and using WordPress plugins. See real-world client examples to illustrate specific ways custom post types can be used and the reasoning behind their use, such as why you&#8217;d use a custom post type instead of just &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/sacramento.wordcamp.org\/2017\/session\/custom-post-types-how-to-and-why\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Custom Post Types: How-To And Why&#8221;<\/span><\/a><\/p>\n","protected":false},"author":14065658,"featured_media":0,"template":"","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_wcpt_session_time":1505683800,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[741],"footnotes":""},"session_track":[161614],"session_category":[],"class_list":["post-742","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-room-a"],"jetpack_sharing_enabled":true,"session_date_time":{"date":"September 17, 2017","time":"2:30 pm"},"session_speakers":[{"id":"741","slug":"jon-trujillo","name":"Jon Trujillo","link":"https:\/\/sacramento.wordcamp.org\/2017\/speaker\/jon-trujillo\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/sacramento.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sacramento.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/sacramento.wordcamp.org\/2017\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":4,"href":"https:\/\/sacramento.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/742\/revisions"}],"predecessor-version":[{"id":2168,"href":"https:\/\/sacramento.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/742\/revisions\/2168"}],"speakers":[{"embeddable":true,"href":"https:\/\/sacramento.wordcamp.org\/2017\/wp-json\/wp\/v2\/speakers\/741"}],"author":[{"embeddable":true,"href":"https:\/\/sacramento.wordcamp.org\/2017\/wp-json\/wporg\/v1\/users\/jon_trujillo"}],"wp:attachment":[{"href":"https:\/\/sacramento.wordcamp.org\/2017\/wp-json\/wp\/v2\/media?parent=742"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/sacramento.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_track?post=742"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/sacramento.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_category?post=742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}