I need many "Reusable Blocks", but creating and maintaining them takes too long.

I'd like to do this:

  • create a PHP-based "template" file, e.g. wp-content/foo/bar.php
  • create a page in the block editor, and insert/include that "template"

Is that possible somehow?

1 Answer 1


Block Patterns probably will suit your needs. They're written in PHP, designed so you can create layouts (like a heading, gallery, and button together) but the content (e.g. what the text of the heading is, etc) is unique each time that you use them.

A good overview and roundup of how they're being used is at the Gutenberg Times.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.