The Gutenberg editor provides a nifty tool to convert blocks of one type to another. In the latest version of our Recipe Importers Plugin, we're adding support for converting recipes from other plugins to Create from within the Gutenberg editor itself!


But first, save!
There are a few things to note before beginning the import process in Gutenberg.
If you have made any changes to your post, please save the post before beginning the import process. The page will be reloaded at the end of the import process and any changes you've made will be lost. But don't worry, we'll tell you to save a few more times in this article.

Importing from shortcode-based plugins
If you have content that pre-dates Gutenberg, your posts will display a Classic block. In order to convert recipes to Create, you'll first need to convert your Classic block over to blocks.

  1. Click the menu on the Classic block and select convert to blocks. This will pull out any shortcodes as Shortcode blocks. At this point, you must save the post before continuing. We need the shortcodes to be saved as standalone blocks in order to import them properly.


Note:
In order for this Gutenberg to recognize the shortcode in a "Convert to Blocks" action, there must be linebreaks before and after the shortcode. 

Won't work:

Will work:


2.Click the "Change block type" icon.

3. Select "Import to Create."

4. After clicking "Import to Create," a modal window will open to verify the content. After verifying your content was imported correctly, click the "Verify & Replace" button. This will refresh the page with your new Create block. If you've made other edits to your post, please make sure you've saved your post before converting.


Importing from block-based plugins

At the moment, Tasty and WP Recipe Maker are the two plugins we support importing from that already have block support for Gutenberg. The process for the two is the same as above, but without the need to initially convert to blocks. The screenshots below show WP Recipe Maker.

  1. Click the "Change block type" button.

2. Click "Import to Create."

3. Verify your recipe and click the button to replace your content and refresh.

Which plugins are not supported?

Unfortunately, it's not possible for us to import Cookbook or EasyRecipe via Gutenberg – because of technical reasons involving how the recipe content is stored, we can't reliably replace this content. If you need to import content from these plugins, we'd recommend installing the Classic Editor plugin to do so, or using the bulk editor to replace content.

Need more help?

If you run into any issues, please let us know at create@mediavine.com.

Did this answer your question?