Support » Fixing WordPress » Create custom posts with Gutenberg

  • It seems a obvious idea but I can’t find a solution yet: Create custom posts with Gutenberg.
    What I mean is, one creates a post (or page) with Gutenberg blocks for different kinds of objects and save this as a post-type (or template?). Than one can use this lay-out for new posts.

    Is this really not possible yet or am I missing something?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @tastymouse!!
    It is possible to create a kind of “block template” using reusable blocks. Follow the steps below:

    1. Select a block.
    2. Click on the three dots that appear in the toolbar.
    3. Click on Add to Reusable blocks.
    4. Give it a name.
    5. Click Publish and then Save.

    You can also add any blocks you want to a reusable block, but there is no a menu option in the dashboard called “Reusable Blocks”. To manage them you can install this plugin to add a menu option or in the block searching (when you are editing a page or a post) go to reusable blocks and click on manage reusable blocks. Additionally this video explain you how to create and manage them.

    Let me know if it works for you,

    Regards!!

    • This reply was modified 2 years, 10 months ago by Mateo Duarte.
    Thread Starter tastymouse

    (@tastymouse)

    Hi Mateo,

    Nice idea but it won’t work. When I place a reusable block in a page and change the content all reusable blocks get the new content. So all other pages with this block are changed.
    It would work if we can undo the reusability of a reusable block once it is set into a page. This actually WAS an option, called Convert to Regular block, but that seems to be removed.
    I did some searching and found it Convert to Regular block doesn’t work when you use no original Gutenberg block, which I did, but when I created a new reusable block with only Gutenberg blocks in it I still can’t convert it to a regular block.
    Do you know if there is a way to get this back?

    Regards, Tom

    Thread Starter tastymouse

    (@tastymouse)

    It looks like the new Gutenberg Patterns is what one can use for not-linked reusable block. It is still in development, but there is a plugin that converts reusable blocks into patterns https://wordpress.org/plugins/reusable-blocks-extended/
    I’ll check that out later.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Create custom posts with Gutenberg’ is closed to new replies.