{"id":9799,"date":"2024-04-08T11:50:05","date_gmt":"2024-04-08T09:50:05","guid":{"rendered":"https:\/\/europe.wordcamp.org\/2024\/?post_type=wcb_session&#038;p=9799"},"modified":"2024-07-10T22:04:11","modified_gmt":"2024-07-10T20:04:11","slug":"building-custom-post-types-with-blocks","status":"publish","type":"wcb_session","link":"https:\/\/europe.wordcamp.org\/2024\/session\/building-custom-post-types-with-blocks\/","title":{"rendered":"Building custom post types with blocks"},"content":{"rendered":"\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-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\/2iJmfrBQ3vY?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-GB&#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 editor is often perceived as a tool that can only be used to build simple small business websites. However, it has evolved over the last 5 years into a powerful tool for building more complex WordPress websites that utilise post types, taxonomies and meta fields. <\/p>\n\n\n\n<p>In this session, we will take a look at how to create bespoke WordPress websites that make use of custom post types directly in the site editor. <\/p>\n\n\n\n<p>We will explore how to build templates with blocks and examine different ways to extend the editor, including the use of block filters, block formats, custom block styles, block patterns, inner blocks, block locking, interactivity API, building our own blocks, and more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The block editor is often perceived as a tool that can only be used to build simple small business websites. However, it has evolved over the last 5 years into a powerful tool for building more complex WordPress websites that utilise post types, taxonomies and meta fields. In this session, we will take a look [&hellip;]<\/p>\n","protected":false},"author":14992222,"featured_media":12144,"template":"wp-custom-template-session-single-cupid","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_wcpt_session_time":1718442900,"_wcpt_session_duration":2700,"_wcpt_session_type":"session","_wcpt_session_slides":"https:\/\/drive.google.com\/file\/d\/1cbEl-hG7XJixQ9IPnamorhRQOA-C4zeu\/view?usp=sharing","_wcpt_session_video":"","_wcpt_speaker_id":[9480],"footnotes":""},"session_track":[54],"session_category":[57],"class_list":["post-9799","wcb_session","type-wcb_session","status-publish","has-post-thumbnail","hentry","wcb_track-track-2-hall-1","wcb_session_category-development"],"jetpack_shortlink":"https:\/\/wp.me\/peP1kR-2y3","jetpack_sharing_enabled":true,"session_date_time":{"date":"June 15, 2024","time":"11:15"},"session_speakers":[{"id":"9480","slug":"magdalena-paciorek","name":"Magdalena Paciorek","link":"https:\/\/europe.wordcamp.org\/2024\/speaker\/magdalena-paciorek\/"}],"session_cats_rendered":"Development","_links":{"self":[{"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/9799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":3,"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/9799\/revisions"}],"predecessor-version":[{"id":16212,"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/sessions\/9799\/revisions\/16212"}],"speakers":[{"embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/speakers\/9480"}],"author":[{"embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wporg\/v1\/users\/magdalenapaciorek"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/media\/12144"}],"wp:attachment":[{"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/media?parent=9799"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/session_track?post=9799"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2024\/wp-json\/wp\/v2\/session_category?post=9799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}