{"id":4835,"date":"2019-07-04T17:38:19","date_gmt":"2019-07-04T07:38:19","guid":{"rendered":"https:\/\/2019.brisbane.wordcamp.org\/?post_type=wcb_session&#038;p=4835"},"modified":"2019-08-31T15:11:14","modified_gmt":"2019-08-31T05:11:14","slug":"advanced-custom-blocks-creating-customised-editing-experiences-in-a-gutenberg-world-using-advanced-custom-fields-and-the-skills-you-have-now","status":"publish","type":"wcb_session","link":"https:\/\/brisbane.wordcamp.org\/2019\/session\/advanced-custom-blocks-creating-customised-editing-experiences-in-a-gutenberg-world-using-advanced-custom-fields-and-the-skills-you-have-now\/","title":{"rendered":"Advanced Custom Blocks &#8211; creating customised editing experiences in a Gutenberg world using Advanced Custom Fields and the skills you have NOW."},"content":{"rendered":"\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/W-D_HXAXtrs?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-AU&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span>\n<\/div><\/figure>\n\n\n\n<p>The block revolution is undoubtedly here, but not everyone has been able to embrace it yet. If you&#8217;ve never used ReactJS before it may seem intimidating, or at the very least time consuming to go all-in on the new editor and create custom blocks for every situation you come across.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u23f0 Maybe you have a tight deadline for a project but you just can&#8217;t seem to find the right existing block to do the job? <\/li><li> \ud83d\udc74\ud83c\udffb Perhaps you have some legacy sites from &#8216;before&#8217; where you built out custom meta data with ACF? <\/li><li> \ud83c\udfd7 Maybe you (like myself) have been creating completely custom sites using ACF Flexible Content and are worried at the idea of the classic interface going away? <\/li><\/ul>\n\n\n\n<p>Gather round comrades and fear not, this talk is for you.<\/p>\n\n\n\n<p>All are welcome in the Block revolution, and thanks to Advanced Custom Fields&#8217; &#8220;ACF Blocks&#8221; feature we can quickly and easily get our own custom blocks running in the new editor, with a few lines of code and some basic templating.<\/p>\n\n\n\n<p>Beyond the basics, we&#8217;ll look at using the idea of a block or component on the server side, and discuss some patterns for writing and organising our code to take maximum advantage of this new paradigm using modern PHP.<\/p>\n\n\n\n<p>Whatever your reasons for not being able to &#8216;learn javascript deeply&#8217; yet are, it doesn&#8217;t mean that this bright new future of block-based editing isn&#8217;t for you. <\/p>\n\n\n\n<p>This talk gets progressively more technical &#8211; there should be something for all levels of experience including some minimal-code solutions, however later sections assume familiarity with WordPress concepts like Plugins, Themes and core WordPress APIs along with modern PHP practices and tooling.<\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-wordcamp-brisbane-2019\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/2019.brisbane.wordcamp.org\/speaker\/alex-bishop\/\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The block revolution is undoubtedly here, but not everyone has been able to embrace it yet. If you&#8217;ve never used ReactJS before it may seem intimidating, or at the very least time consuming to go all-in on the new editor &hellip; <a href=\"https:\/\/brisbane.wordcamp.org\/2019\/session\/advanced-custom-blocks-creating-customised-editing-experiences-in-a-gutenberg-world-using-advanced-custom-fields-and-the-skills-you-have-now\/\">Continue reading <span class=\"assistive-text\">Advanced Custom Blocks &#8211; creating customised editing experiences in a Gutenberg world using Advanced Custom Fields and the skills you have NOW.<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":15353576,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1566622500,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[691],"footnotes":""},"session_track":[1287474],"session_category":[1287482,1287476],"class_list":["post-4835","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-smaller-room-room-401","wcb_session_category-development-advanced","wcb_session_category-development-beginner"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paNZQR-1fZ","jetpack_likes_enabled":true,"session_date_time":{"date":"August 24, 2019","time":"2:55 PM"},"session_speakers":[{"id":"691","slug":"alex-bishop","name":"Alex Bishop","link":"https:\/\/brisbane.wordcamp.org\/2019\/speaker\/alex-bishop\/"}],"session_cats_rendered":"Development - Advanced, Development - Beginner","_links":{"self":[{"href":"https:\/\/brisbane.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/4835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brisbane.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/brisbane.wordcamp.org\/2019\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":3,"href":"https:\/\/brisbane.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/4835\/revisions"}],"predecessor-version":[{"id":6009,"href":"https:\/\/brisbane.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/4835\/revisions\/6009"}],"speakers":[{"embeddable":true,"href":"https:\/\/brisbane.wordcamp.org\/2019\/wp-json\/wp\/v2\/speakers\/691"}],"author":[{"embeddable":true,"href":"https:\/\/brisbane.wordcamp.org\/2019\/wp-json\/wporg\/v1\/users\/alexjamesbishop"}],"wp:attachment":[{"href":"https:\/\/brisbane.wordcamp.org\/2019\/wp-json\/wp\/v2\/media?parent=4835"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/brisbane.wordcamp.org\/2019\/wp-json\/wp\/v2\/session_track?post=4835"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/brisbane.wordcamp.org\/2019\/wp-json\/wp\/v2\/session_category?post=4835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}