{"id":1180,"date":"2018-08-13T10:50:47","date_gmt":"2018-08-13T17:50:47","guid":{"rendered":"https:\/\/2018.la.wordcamp.org\/?post_type=wcb_session&#038;p=1180"},"modified":"2018-10-02T16:55:46","modified_gmt":"2018-10-02T23:55:46","slug":"creating-dynamic-gutenberg-blocks","status":"publish","type":"wcb_session","link":"https:\/\/la.wordcamp.org\/2018\/session\/creating-dynamic-gutenberg-blocks\/","title":{"rendered":"Creating Dynamic Gutenberg Blocks"},"content":{"rendered":"<p>In this session, I&#8217;ll talk about what a dynamic Gutenberg block is, how it functions from a high level, and then what it takes to create one.<br \/>\nWe&#8217;ll cover:<br \/>\n&#8211; What a dynamic block is<br \/>\n&#8211; How a dynamic block functions<br \/>\n&#8211; How the editor interacts with the WordPress REST API to fetch data<br \/>\n&#8211; How a callback function loads the correct content on the front-end using PHP<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this session, I&#8217;ll talk about what a dynamic Gutenberg block is, how it functions from a high level, and then what it takes to create one. We&#8217;ll cover: &#8211; What a dynamic block is &#8211; How a dynamic block functions &#8211; How the editor interacts with the WordPress REST API to fetch data &#8211; &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/la.wordcamp.org\/2018\/session\/creating-dynamic-gutenberg-blocks\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Creating Dynamic Gutenberg Blocks&#8221;<\/span><\/a><\/p>\n","protected":false},"author":15047831,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1537648200,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"https:\/\/2018.la.wordcamp.org\/files\/2018\/08\/dynamic-gutenberg-blocks-slides.pdf","_wcpt_session_video":"","_wcpt_speaker_id":[1114],"footnotes":""},"session_track":[1244532],"session_category":[5041],"class_list":["post-1180","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-development-track","wcb_session_category-developer"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9umPP-j2","jetpack_likes_enabled":false,"session_date_time":{"date":"September 22, 2018","time":"1:30 pm"},"session_speakers":[{"id":"1114","slug":"raquel-smith","name":"Raquel Smith","link":"https:\/\/la.wordcamp.org\/2018\/speaker\/raquel-smith\/"}],"session_cats_rendered":"Developer","_links":{"self":[{"href":"https:\/\/la.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/1180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/la.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/la.wordcamp.org\/2018\/wp-json\/wp\/v2\/types\/wcb_session"}],"author":[{"embeddable":true,"href":"https:\/\/la.wordcamp.org\/2018\/wp-json\/wp\/v2\/users\/15047831"}],"version-history":[{"count":3,"href":"https:\/\/la.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/1180\/revisions"}],"predecessor-version":[{"id":1809,"href":"https:\/\/la.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/1180\/revisions\/1809"}],"speakers":[{"embeddable":true,"href":"https:\/\/la.wordcamp.org\/2018\/wp-json\/wp\/v2\/speakers\/1114"}],"wp:attachment":[{"href":"https:\/\/la.wordcamp.org\/2018\/wp-json\/wp\/v2\/media?parent=1180"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/la.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_track?post=1180"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/la.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_category?post=1180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}