{"id":373012,"date":"2023-04-12T04:43:24","date_gmt":"2023-04-12T04:43:24","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=373012"},"modified":"2025-02-18T07:23:32","modified_gmt":"2025-02-18T07:23:32","slug":"how-to-create-block-based-theme-in-wordpress","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/","title":{"rendered":"How to create block based theme in wordpress"},"content":{"rendered":"\n<p>In a WordPress block theme, our website design is made with blocks. This design includes both content and non-content areas, such as header, footer and sidebar. <\/p>\n\n\n\n<p>Therefore, using a block theme lets us to edit our site\u2019s appearance without any code intrection.<\/p>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h2 class=\"wp-block-heading index-title\">What is a wordpress block theme?<\/h2>\n<\/div><\/div>\n\n\n\n<p>As explained in the&nbsp;<a href=\"https:\/\/developer.wordpress.org\/block-editor\/how-to-guides\/themes\/block-theme-overview\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">WordPress docs<\/a>:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><a href=\"https:\/\/webkul.com\/wordpress-theme-development-services\/\">WordPress theme development<\/a> with block themes uses templates made entirely of blocks, enhancing the post content of various post types (pages, posts, \u2026), the block editor can also be used to edit all areas of the site: headers, footers, sidebars, etc.<\/p>\n<\/blockquote>\n\n\n\n<p>These are a part of WordPress Full Site Editing (FSE). This concept was brought into the core software with WordPress 5.9.<\/p>\n\n\n\n<p>With FSE, we can access a new Site Editor that allow us to build block layouts and edit them as we need. Additionally, we can use global styles to make whole site design changes to our theme and website appearance.<\/p>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">File structure of wordpress block theme<\/h3>\n<\/div><\/div>\n\n\n\n<p>File structure of block themes are different from classic themes <a href=\"https:\/\/developer.wordpress.org\/themes\/basics\/template-hierarchy\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">WordPress Template Hierarchy<\/a>. with this we are used to. In classic themes(PHP Based) page elements are generating with php and javascript, where in Block themes , WordPress Core provide markup and basic styling .<\/p>\n\n\n\n<p>Block theme structure are very simple with just a few&nbsp;<a href=\"https:\/\/developer.wordpress.org\/block-editor\/how-to-guides\/themes\/create-block-theme\/#required-files-and-file-structure\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">required files<\/a>&nbsp;:&nbsp; <code>index.php<\/code>,&nbsp;<code>style.css<\/code>&nbsp;and&nbsp;<code>template\/index.html<\/code>. <\/p>\n\n\n\n<p>A typical block theme file structure, pulled from the&nbsp;<a href=\"https:\/\/developer.wordpress.org\/block-editor\/how-to-guides\/themes\/block-theme-overview\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">WordPress Editor Handbook<\/a>:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">#! basic block-theme structure\ntheme\n|__ style.css\n|__ functions.php\n|__ index.php\n|__ theme.json\n|__ templates\n    |__ index.html\n    |__ single.html\n    |__ archive.html\n    |__ ...\n|__ parts\n    |__ header.html\n    |__ footer.html\n    |__ sidebar.html\n    |__ ...<\/pre>\n\n\n\n<p>style.css: Contain all styles or stylesheet as classic themes<\/p>\n\n\n\n<p>functions.php: Contain theme setup and additional functions or enqueue styles<\/p>\n\n\n\n<p>index.php: This is an empty file to switch default files in case of activating block theme without block editor<\/p>\n\n\n\n<p>theme.json: Optional configuration file to set default styles and enable\/disable features<\/p>\n\n\n\n<p>templates: Its contain template files, these files follow same tempalate hierarchy as classic themes<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>index.html: Primary template to show page or post like index.php in classic themes<\/li>\n\n\n\n<li>single.html: Template to show single page or post like single.php<\/li>\n\n\n\n<li>archive.html: To show list of posts<\/li>\n<\/ul>\n\n\n\n<p>parts: Common collection of blocks used in block templates<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>header.html: Global Header block<\/li>\n\n\n\n<li>footer.html: Global Footer block<\/li>\n\n\n\n<li>sidebar.html: Sidebar Block<\/li>\n<\/ul>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Let&#8217;s start building theme<\/h3>\n<\/div><\/div>\n\n\n\n<p>First of all we need to install a plugin named &#8220;<strong><a href=\"https:\/\/wordpress.org\/plugins\/create-block-theme\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Create Block Theme<\/a><\/strong>&#8221; plugin to create block theme. This plugin is provided by wordpress.org to create block theme, it allow to export theme, clone theme, create child theme of a block theme, override theme, and create style variations.<\/p>\n\n\n\n<p>After installing and activating Create block theme plugin there two option available in dashboard&gt;Appearance<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"551\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-setup-1200x551.png\" alt=\"block-theme-setup\" class=\"wp-image-373015\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-setup-1200x551.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-setup-300x138.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-setup-250x115.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-setup-768x353.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-setup.png 1479w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Now we have to go Create Block Theme option <strong>dashboard&gt;Appearance&gt;create block theme<\/strong> and select create blank theme<\/p>\n\n\n\n<p>Enter Theme name, description, author and theme URI, tags and screenshots<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"583\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/create-block-theme-1200x583.png\" alt=\"create-block-theme\" class=\"wp-image-373016\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/create-block-theme-1200x583.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/create-block-theme-300x146.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/create-block-theme-250x121.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/create-block-theme-768x373.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/create-block-theme-1536x746.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/create-block-theme.png 1813w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Click generate button after filling all details.<\/p>\n\n\n\n<p>Now our theme has been created, go to appearance&gt;themes and check there a new theme has been added<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"572\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/theme-create-1200x572.png\" alt=\"theme-create\" class=\"wp-image-373017\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/theme-create-1200x572.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/theme-create-300x143.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/theme-create-250x119.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/theme-create-768x366.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/theme-create-1536x733.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/theme-create.png 1826w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Now click on Editor in appearance and you can see components list in left sidebar and block style in right sidebar<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/theme-editor-1200x675.png\" alt=\"theme-editor\" class=\"wp-image-373018\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/theme-editor-1200x675.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/theme-editor-300x169.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/theme-editor-250x141.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/theme-editor-768x432.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/theme-editor-1536x864.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/theme-editor.png 1920w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>We can add or edit components in our theme templates<\/p>\n\n\n\n<p>From the top dropdown go to Browse all Templates<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"528\" height=\"415\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/browse-templates.png\" alt=\"browse-templates\" class=\"wp-image-373019\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/browse-templates.png 528w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/browse-templates-300x236.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/browse-templates-250x196.png 250w\" sizes=\"(max-width: 528px) 100vw, 528px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Add new template from &#8220;Add New&#8221; button in top right and select a template. In my case I select Front Page template for showing on home page<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"550\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/create-template-1200x550.png\" alt=\"create-template\" class=\"wp-image-373020\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/create-template-1200x550.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/create-template-300x137.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/create-template-250x115.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/create-template-768x352.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/create-template-1536x704.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/create-template.png 1829w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Now we have to design our theme header footer and layout<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/design-theme-1200x675.png\" alt=\"design-theme\" class=\"wp-image-373021\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/design-theme-1200x675.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/design-theme-300x169.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/design-theme-250x141.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/design-theme-768x432.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/design-theme-1536x864.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/design-theme.png 1920w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>After creating template and header footer just click on save button in top right and save the template<\/p>\n\n\n\n<p>After saving the template go to preview and refresh page and see the new design has been show of you homepage from Front page template<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-1200x675.png\" alt=\"block-theme\" class=\"wp-image-373022\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-1200x675.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-300x169.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-250x141.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-768x432.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-1536x864.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme.png 1920w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Thank You!<\/p>\n\n\n\n<p>If you need custom&nbsp;<a href=\"https:\/\/webkul.com\/wordpress-theme-development-services\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress Development services<\/a>&nbsp;then feel free to&nbsp;<a href=\"https:\/\/webkul.com\/contacts\" target=\"_blank\" rel=\"noreferrer noopener\">reach us<\/a> and also explore our exclusive range of WordPress <a href=\"https:\/\/store.webkul.com\/woocommerce-plugins.html\">WooCommerce Extensions<\/a>.<\/p>\n\n\n\n<p>!!Have a Great Day Ahead!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a WordPress block theme, our website design is made with blocks. This design includes both content and non-content areas, such as header, footer and sidebar. Therefore, using a block theme lets us to edit our site\u2019s appearance without any code intrection. As explained in the&nbsp;WordPress docs: WordPress theme development with block themes uses templates <a href=\"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":487,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1177,1,1260],"tags":[1258,13679,1501],"class_list":["post-373012","post","type-post","status-publish","format-standard","hentry","category-theme","category-uncategorized","category-wordpress","tag-wordpress","tag-wordpress-development-services","tag-wordpress-plugin"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to create block based theme in wordpress - Webkul Blog<\/title>\n<meta name=\"description\" content=\"Our website design is made with blocks. This design includes both content and non-content areas, such as header, footer and sidebar.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to create block based theme in wordpress - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Our website design is made with blocks. This design includes both content and non-content areas, such as header, footer and sidebar.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-12T04:43:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-18T07:23:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-setup-1200x551.png\" \/>\n<meta name=\"author\" content=\"Aakash Mittal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Aakash Mittal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/\"},\"author\":{\"name\":\"Aakash Mittal\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/f6a335f7cfdd48b9e07eb92aad9e71e4\"},\"headline\":\"How to create block based theme in wordpress\",\"datePublished\":\"2023-04-12T04:43:24+00:00\",\"dateModified\":\"2025-02-18T07:23:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/\"},\"wordCount\":652,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-setup-1200x551.png\",\"keywords\":[\"wordpress\",\"wordpress development services\",\"wordpress plugin\"],\"articleSection\":{\"0\":\"Theme\",\"2\":\"WordPress\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/\",\"name\":\"How to create block based theme in wordpress - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-setup-1200x551.png\",\"datePublished\":\"2023-04-12T04:43:24+00:00\",\"dateModified\":\"2025-02-18T07:23:32+00:00\",\"description\":\"Our website design is made with blocks. This design includes both content and non-content areas, such as header, footer and sidebar.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-setup.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-setup.png\",\"width\":1479,\"height\":679,\"caption\":\"block-theme-setup\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to create block based theme in wordpress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/f6a335f7cfdd48b9e07eb92aad9e71e4\",\"name\":\"Aakash Mittal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/85104b09fa2e8218a2c6f1ed16783c3771661ee6d95beb34c125057d35a3202c?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/85104b09fa2e8218a2c6f1ed16783c3771661ee6d95beb34c125057d35a3202c?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Aakash Mittal\"},\"description\":\"Aakash Mittal is an expert in TailWind, Gulp, Webpack, and Grunt, with a strong proficiency in WooCommerce GenAI Services and WooCommerce API Development Services. He crafts seamless, high-performing solutions that drive innovation and efficiency, ensuring exceptional results for every project.\",\"url\":\"https:\/\/webkul.com\/blog\/author\/aakashmittal-wp578\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to create block based theme in wordpress - Webkul Blog","description":"Our website design is made with blocks. This design includes both content and non-content areas, such as header, footer and sidebar.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to create block based theme in wordpress - Webkul Blog","og_description":"Our website design is made with blocks. This design includes both content and non-content areas, such as header, footer and sidebar.","og_url":"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2023-04-12T04:43:24+00:00","article_modified_time":"2025-02-18T07:23:32+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-setup-1200x551.png","type":"","width":"","height":""}],"author":"Aakash Mittal","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Aakash Mittal","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/"},"author":{"name":"Aakash Mittal","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/f6a335f7cfdd48b9e07eb92aad9e71e4"},"headline":"How to create block based theme in wordpress","datePublished":"2023-04-12T04:43:24+00:00","dateModified":"2025-02-18T07:23:32+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/"},"wordCount":652,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-setup-1200x551.png","keywords":["wordpress","wordpress development services","wordpress plugin"],"articleSection":{"0":"Theme","2":"WordPress"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/","url":"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/","name":"How to create block based theme in wordpress - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-setup-1200x551.png","datePublished":"2023-04-12T04:43:24+00:00","dateModified":"2025-02-18T07:23:32+00:00","description":"Our website design is made with blocks. This design includes both content and non-content areas, such as header, footer and sidebar.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-setup.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/block-theme-setup.png","width":1479,"height":679,"caption":"block-theme-setup"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-create-block-based-theme-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to create block based theme in wordpress"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/f6a335f7cfdd48b9e07eb92aad9e71e4","name":"Aakash Mittal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/85104b09fa2e8218a2c6f1ed16783c3771661ee6d95beb34c125057d35a3202c?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/85104b09fa2e8218a2c6f1ed16783c3771661ee6d95beb34c125057d35a3202c?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Aakash Mittal"},"description":"Aakash Mittal is an expert in TailWind, Gulp, Webpack, and Grunt, with a strong proficiency in WooCommerce GenAI Services and WooCommerce API Development Services. He crafts seamless, high-performing solutions that drive innovation and efficiency, ensuring exceptional results for every project.","url":"https:\/\/webkul.com\/blog\/author\/aakashmittal-wp578\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/373012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/487"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=373012"}],"version-history":[{"count":13,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/373012\/revisions"}],"predecessor-version":[{"id":483392,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/373012\/revisions\/483392"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=373012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=373012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=373012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}