{"id":5625634,"date":"2022-12-12T12:07:16","date_gmt":"2022-12-12T12:07:16","guid":{"rendered":"https:\/\/www.wpallimport.com\/?post_type=documentation&#038;p=5625634"},"modified":"2025-12-08T18:57:57","modified_gmt":"2025-12-08T18:57:57","slug":"how-to-import-gutenberg-blocks","status":"publish","type":"documentation","link":"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/","title":{"rendered":"How to Import Gutenberg Blocks"},"content":{"rendered":"\n<p>To import Gutenberg Blocks into WordPress using WP All Import, manually define the blocks in the import template. To do this, create a post using the blocks you'd like to import, then copy and paste them into the WP All Import content box on the <strong>Edit Import<\/strong> page. Replace the content with the data you'd like to import, then run your import.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"obtain-data\">Step 1: Obtain Gutenberg Data Example<\/h2>\n\n\n\n<p>Manually create a post that contains the Gutenberg blocks you want to import.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Example-Blocks.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"663\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Example-Blocks-1024x663.jpg\" alt=\"Import Gutenberg Blocks Example Blocks\" class=\"wp-image-5625645\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Example-Blocks-1024x663.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Example-Blocks-300x194.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Example-Blocks-768x497.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Example-Blocks-1536x994.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Example-Blocks-2048x1326.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Example-Blocks.jpg 2064w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"copy-html-data\">Step 2: Copy and Adjust HTML Block Data<\/h2>\n\n\n\n<p>View the HTML of the manually created post:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Get-Code.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Get-Code-1024x576.png\" alt=\"Import Gutenberg Blocks Get Code\" class=\"wp-image-5625641\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Get-Code-1024x576.png 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Get-Code-300x169.png 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Get-Code-768x432.png 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Get-Code-1536x864.png 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Get-Code.png 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>You can also select the blocks directly in Gutenberg, copy them, and then paste the blocks directly into WP All Import.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"use-adjusted-data\">Step 3: Use The Adjusted Data While Importing<\/h2>\n\n\n\n<p>Paste the data into the <strong>Content<\/strong> area of your import, then replace static text with the appropriate import elements:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Add-Import-Elements.png\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"697\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Add-Import-Elements-1024x697.png\" alt=\"Import Gutenberg Blocks Add Import Elements\" class=\"wp-image-5625642\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Add-Import-Elements-1024x697.png 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Add-Import-Elements-300x204.png 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Add-Import-Elements-768x523.png 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Add-Import-Elements.png 1046w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Make sure to use the <strong>Text<\/strong> tab and not the <strong>Visual<\/strong> tab to input these blocks.<\/p>\n\n\n\n<p>Here's an example that imports a {content[1]} element into a paragraph block:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!-- wp:paragraph --&gt;\n&lt;p&gt;{content&#91;1]}&lt;\/p&gt;\n&lt;!-- \/wp:paragraph --&gt;<\/code><\/pre>\n\n\n\n<p>Braces or opening brackets that are unrelated to the XPath for the WP All Import template will need to be escaped: \"\\{\", \"\\}\" and \"\\[\". To elaborate on that, here are a couple of example Gutenberg blocks that must be escaped:<\/p>\n\n\n\n<div class=\"wp-block-wpcodebox-snippet wpcodebox-snippet\" data-language=\"xpath\"><pre class=\"line-numbers\"><code class=\"language-xpath\">\n&lt;!-- wp:acf\/dropdown \\{\"name\":\"acf\/dropdown\",\"data\":\\{\"title\":\"Applicable Ashes of War\",\"_title\":\"field_64c420013d8c7\"\\},\"mode\":\"preview\"\\} --&gt;<\/code><\/pre><\/div>\n\n\n\n<div class=\"wp-block-wpcodebox-snippet wpcodebox-snippet\" data-language=\"xpath\"><pre class=\"line-numbers\"><code class=\"language-xpath\">\n&lt;!-- wp:heading \\{\"level\":4\\} --&gt;\n&lt;h4 class=\"wp-block-heading\"&gt;{headline[1]}&lt;\/h4&gt;\n&lt;!-- \/wp:heading --&gt;<\/code><\/pre><\/div>\n\n\n\n<p>Depending on the blocks you're planning on using, you may need to write custom code that uses our API to import them (<a href=\"https:\/\/www.wpallimport.com\/documentation\/action-reference\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.wpallimport.com\/documentation\/action-reference\/<\/a>).<\/p>\n\n\n\n<div class=\"docs-interstitial\">\n\n    <img decoding=\"async\" src=\"https:\/\/www.wpallimport.com\/wp-content\/plugins\/custom-acf-blocks\/blocks\/docs-interstitial\/img\/octopus-logo.svg\" class=\"docs-interstitial__logo\">    <h3>Import Any CSV, XML, or Excel to WordPress<\/h3>\n    <ul><li>Any theme or plugin<\/li><li>Images &amp; galleries<\/li><li>Custom fields<\/li><li>Categories &amp; tags<\/li><li>Woo, ACF, Meta Box, JetEngine<\/li><\/ul>\n    <div class=\"docs-interstitial__cta\">\n        <a class=\"docs-interstitial__btn\" href=\"#pricing\" target=\"_self\">View Pricing<\/a>\n            <\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"php-example\">Example: Parse Blocks with PHP<\/h2>\n\n\n\n<p>Let's say that you have multiple paragraphs in a single text block, and you want to parse them to include the required &lt;!-- wp:paragraph --&gt;  tags, but you don't want to modify this text block manually. Instead, you'd like to use PHP code. Here's how to do it:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"php-example-text\">Example Text:<\/h3>\n\n\n\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <\/p>\n\n\n\n<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. <\/p>\n\n\n\n<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"php-example-code\">Example Code:<\/h3>\n\n\n\n<div class=\"wp-block-wpcodebox-snippet wpcodebox-snippet\" data-language=\"php\"><pre class=\"line-numbers\"><code class=\"language-php\">function my_custom_block($string){\n\t$new = preg_split('\/\\n\\s*\\n\/', $string);\n\t$output = '';\n\tforeach ($new as $pg) {\n\t\t$output .= \"&#x3C;!-- wp:paragraph --&gt;\\n\";\n\t\t$output .= \"&#x3C;p&gt;{$pg}&#x3C;\/p&gt;\\n\";\n\t\t$output .= \"&#x3C;!-- \/wp:paragraph --&gt;\\n\";\n\t}\n\treturn $output;\n}<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"php-example-usage\">Usage Example:<\/h3>\n\n\n\n<p>The function is used like this:<\/p>\n\n\n\n<div class=\"wp-block-wpcodebox-snippet wpcodebox-snippet\" data-language=\"php\"><pre class=\"line-numbers\"><code class=\"language-php\">[my_custom_block({content[1]})]<\/code><\/pre><\/div>\n\n\n\n<p>See:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/Import-Gutenberg-Blocks-Example-Use-PHP.jpg\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"727\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/Import-Gutenberg-Blocks-Example-Use-PHP-1024x727.jpg\" alt=\"Import Gutenberg Blocks Example Use PHP\" class=\"wp-image-5819993\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/Import-Gutenberg-Blocks-Example-Use-PHP-1024x727.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/Import-Gutenberg-Blocks-Example-Use-PHP-300x213.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/Import-Gutenberg-Blocks-Example-Use-PHP-768x545.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/Import-Gutenberg-Blocks-Example-Use-PHP-1536x1090.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/Import-Gutenberg-Blocks-Example-Use-PHP-2048x1454.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/Import-Gutenberg-Blocks-Example-Use-PHP.jpg 2096w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Result:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/Import-Gutenberg-Blocks-Example-Imported-Blocks-with-PHP-scaled.jpg\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"670\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/Import-Gutenberg-Blocks-Example-Imported-Blocks-with-PHP-1024x670.jpg\" alt=\"Import Gutenberg Blocks Example Imported Blocks with PHP\" class=\"wp-image-5819994\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/Import-Gutenberg-Blocks-Example-Imported-Blocks-with-PHP-1024x670.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/Import-Gutenberg-Blocks-Example-Imported-Blocks-with-PHP-300x196.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/Import-Gutenberg-Blocks-Example-Imported-Blocks-with-PHP-768x502.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/Import-Gutenberg-Blocks-Example-Imported-Blocks-with-PHP-1536x1005.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/Import-Gutenberg-Blocks-Example-Imported-Blocks-with-PHP-2048x1339.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2023\/09\/Import-Gutenberg-Blocks-Example-Imported-Blocks-with-PHP-scaled.jpg 2560w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Related Docs<\/h2>\n\n\n\n\n\n<p>Learn more about using PHP custom code in your import process.<\/p>\n\n\n\n\n\n<p>Learn how to use WP All Import to import data into WordPress.<\/p>\n\n\n\n\n\n<p>API documentation for both WP All Import and WP All Export.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article explains, in simple steps, how to apply a workaround to import Gutenberg blocks and data that uses block patterns.<\/p>\n","protected":false},"author":96198,"featured_media":0,"parent":2991571,"menu_order":6,"template":"","tags":[],"content_author":[213],"search_tags":[],"class_list":["post-5625634","documentation","type-documentation","status-publish","hentry","content_author-editorial-staff"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Import Gutenberg Blocks - WP All Import<\/title>\n<meta name=\"description\" content=\"This article explains, in simple steps, how to apply a workaround to import Gutenberg blocks and data that uses block patterns.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Import Gutenberg Blocks - WP All Import\" \/>\n<meta property=\"og:description\" content=\"This article explains, in simple steps, how to apply a workaround to import Gutenberg blocks and data that uses block patterns.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/\" \/>\n<meta property=\"og:site_name\" content=\"WP All Import\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/groups\/wpallimport\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-08T18:57:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Example-Blocks.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2064\" \/>\n\t<meta property=\"og:image:height\" content=\"1336\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data2\" content=\"Editorial Staff\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/\",\"url\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/\",\"name\":\"How to Import Gutenberg Blocks - WP All Import\",\"isPartOf\":{\"@id\":\"https:\/\/www.wpallimport.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Example-Blocks-1024x663.jpg\",\"datePublished\":\"2022-12-12T12:07:16+00:00\",\"dateModified\":\"2025-12-08T18:57:57+00:00\",\"description\":\"This article explains, in simple steps, how to apply a workaround to import Gutenberg blocks and data that uses block patterns.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/#primaryimage\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Example-Blocks.jpg\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Example-Blocks.jpg\",\"width\":2064,\"height\":1336,\"caption\":\"Import Gutenberg Blocks Example Blocks\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wpallimport.com\/#website\",\"url\":\"https:\/\/www.wpallimport.com\/\",\"name\":\"WP All Import\",\"description\":\"Import XML &amp; CSV to WordPress\",\"publisher\":{\"@id\":\"https:\/\/www.wpallimport.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wpallimport.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.wpallimport.com\/#organization\",\"name\":\"WP All Import\",\"url\":\"https:\/\/www.wpallimport.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg\",\"width\":199,\"height\":37,\"caption\":\"WP All Import\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Import Gutenberg Blocks - WP All Import","description":"This article explains, in simple steps, how to apply a workaround to import Gutenberg blocks and data that uses block patterns.","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:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/","og_locale":"en_US","og_type":"article","og_title":"How to Import Gutenberg Blocks - WP All Import","og_description":"This article explains, in simple steps, how to apply a workaround to import Gutenberg blocks and data that uses block patterns.","og_url":"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/","og_site_name":"WP All Import","article_author":"https:\/\/www.facebook.com\/groups\/wpallimport","article_modified_time":"2025-12-08T18:57:57+00:00","og_image":[{"width":2064,"height":1336,"url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Example-Blocks.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes","Written by":"Editorial Staff"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/","url":"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/","name":"How to Import Gutenberg Blocks - WP All Import","isPartOf":{"@id":"https:\/\/www.wpallimport.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/#primaryimage"},"image":{"@id":"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Example-Blocks-1024x663.jpg","datePublished":"2022-12-12T12:07:16+00:00","dateModified":"2025-12-08T18:57:57+00:00","description":"This article explains, in simple steps, how to apply a workaround to import Gutenberg blocks and data that uses block patterns.","breadcrumb":{"@id":"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/documentation\/how-to-import-gutenberg-blocks\/#primaryimage","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Example-Blocks.jpg","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/11\/Import-Gutenberg-Blocks-Example-Blocks.jpg","width":2064,"height":1336,"caption":"Import Gutenberg Blocks Example Blocks"},{"@type":"WebSite","@id":"https:\/\/www.wpallimport.com\/#website","url":"https:\/\/www.wpallimport.com\/","name":"WP All Import","description":"Import XML &amp; CSV to WordPress","publisher":{"@id":"https:\/\/www.wpallimport.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpallimport.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.wpallimport.com\/#organization","name":"WP All Import","url":"https:\/\/www.wpallimport.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg","width":199,"height":37,"caption":"WP All Import"},"image":{"@id":"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/5625634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/users\/96198"}],"version-history":[{"count":0,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/5625634\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/2991571"}],"wp:attachment":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/media?parent=5625634"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/tags?post=5625634"},{"taxonomy":"content_author","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/content_author?post=5625634"},{"taxonomy":"search_tags","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/search_tags?post=5625634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}