{"id":1357,"date":"2019-08-01T16:00:30","date_gmt":"2019-08-01T16:00:30","guid":{"rendered":"https:\/\/2019.omaha.wordcamp.org\/?post_type=wcb_session&#038;p=1357"},"modified":"2019-08-02T18:44:30","modified_gmt":"2019-08-02T18:44:30","slug":"rewrite-api-setting-custom-permalink-structures-for-custom-post-types","status":"publish","type":"wcb_session","link":"https:\/\/omaha.wordcamp.org\/2019\/session\/rewrite-api-setting-custom-permalink-structures-for-custom-post-types\/","title":{"rendered":"Rewrite API: Setting Custom Permalink Structures for Custom Post Types"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Sergio will be telling us all about the WordPress Rewrite API, (a topic we often don&#8217;t hear of). Specifically, he&#8217;ll show how to set a custom permalink structure for a custom post types. This will cover wp_query, query vars, permalinks, pre_get_posts hook, rewrite rules and tags.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sergio will be telling us all about the WordPress Rewrite API, (a topic we often don&#8217;t hear of). Specifically, he&#8217;ll show how to set a custom permalink structure for a custom post types. This will cover wp_query, query vars, permalinks, &hellip; <a href=\"https:\/\/omaha.wordcamp.org\/2019\/session\/rewrite-api-setting-custom-permalink-structures-for-custom-post-types\/\">Continue reading <span class=\"assistive-text\">Rewrite API: Setting Custom Permalink Structures for Custom Post Types<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":16556502,"featured_media":0,"template":"","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_wcpt_session_time":1566644400,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[1381],"footnotes":""},"session_track":[5041],"session_category":[],"class_list":["post-1357","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-developer"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paIveg-lT","session_date_time":{"date":"August 24, 2019","time":"11:00 am"},"session_speakers":[{"id":"1381","slug":"sergio-esquivel","name":"Sergio Esquivel","link":"https:\/\/omaha.wordcamp.org\/2019\/speaker\/sergio-esquivel\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/omaha.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/1357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/omaha.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/omaha.wordcamp.org\/2019\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":2,"href":"https:\/\/omaha.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/1357\/revisions"}],"predecessor-version":[{"id":1360,"href":"https:\/\/omaha.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/1357\/revisions\/1360"}],"speakers":[{"embeddable":true,"href":"https:\/\/omaha.wordcamp.org\/2019\/wp-json\/wp\/v2\/speakers\/1381"}],"author":[{"embeddable":true,"href":"https:\/\/omaha.wordcamp.org\/2019\/wp-json\/wporg\/v1\/users\/sergioes"}],"wp:attachment":[{"href":"https:\/\/omaha.wordcamp.org\/2019\/wp-json\/wp\/v2\/media?parent=1357"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/omaha.wordcamp.org\/2019\/wp-json\/wp\/v2\/session_track?post=1357"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/omaha.wordcamp.org\/2019\/wp-json\/wp\/v2\/session_category?post=1357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}