8 Comments

  1. […] Tadlock has published a tutorial that explains how to create, use, import, and export reusable block templates in […]

  2. […] Justin Tadlock wrote a tutorial on how to create reusable “templates” in the WordPress block editor with the reusable block…. […]

  3. Marcus Tibesar

    Thank you Justin for the great tutorial! The key is to not forget to immediately convert the reusable template after inserting it into your new page lest you mistakenly alter your “master” reusable template.

    • Justin Tadlock

      I’d have to go back and check, but I don’t believe you can edit the reusable template when inserting it into your post. You’d have to convert it to make changes.

  4. Marcus Tibesar

    I tested this, and you are right Justin! In earlier versions of Gutenberg, the Reusable block was not “locked” until you converted it to a regular block. The GB development team shines again!

  5. Courtney A Robertson

    Do you have an example on setting your reusable block to the default when creating a post? My goal is when a user creates a post/cpt, their own reusable block is the layout they get (without needing to go to + add block).

  6. Velda

    Thanks for this. Now I’m wondering how best one could go back and edit, should they want to change the layout later.

    Example: I want a haiku template. I create a cover image and add some text, formatting it to fit the space well. I make a reusable block.

    Then I write several posts using that block, each time converting to a regular block so I can swap out the image and text.

    Later I decide I’d rather move the image above the text instead of under it, so I can see the pictures more clearly. Do I need to go back and edit all of the posts?

    • Justin Tadlock

      Yeah, that’s the limitation of using reusable blocks as faux templates. You can’t do it.

      I’m hoping that a true template solution will happen at some point down the line.

Comments are closed.