Block Editor Templates
Templates for the WordPress Block Editor.
Install in
WordPress offers the ability to register block templates for the block editor programmatically. This plugin adds a UI to the WP Admin to add block templates without having to be able to program. So if you want every new item of a specific post type to start with a default set of blocks, you can make it happen with this plugin. No programming skills required!
Furthermore, for classic themes (unfortunately not for block themes), it adds the option to edit the content of post type archives and taxonomy archives.
Written by Joobi from the project's own listing. See the source page
1.3.0
Release Date: November 26th, 2026
Feature: Block Templates > Settings sets the roles that may create, edit, publish and delete templates. Each can hold several roles, any role of the site, custom roles included, grouped as WordPress and custom roles, with a search field. A user qualifies with one of the chosen roles; administrators always do. The default is Editor. On a multisite network a super admin sets the default for every site, and a site can use its own.
Feature: “Add New” for templates, for the roles that may create them. A new template gets a “Template for” choice in the editor (a post type, taxonomy, special page or the General Template), fixed once saved.
Feature: The network settings page looks and works like the site’s settings page, and a site that follows the network settings links to it for a super admin.
Change: The template post types have their own capabilities (abet_template / abet_templates) instead of those of posts. The ‘acato/block_editor_templates/post_type/capability_type’ filter still overrides them; the role settings then no longer apply. Editors can now open the Block Templates menu by default; pick Administrator on the settings page to keep it as before.
Performance (BET-1): The plugin no longer checks on every request, front end included, that a template exists for every post type, taxonomy and special page. It checks in the admin only, and only when one of those, the theme type or the plugin version changed, or a template was changed or deleted. Two admin requests at the same time can no longer create the same template twice. This removes about 35 database queries from every page view.
Performance (BET-2): The block templates of the post types are built only for the block editor and the post types REST endpoint it asks, not on every request.
Performance (BET-3): Which archive and 404 template applies is remembered until a template changes, instead of being looked up on every archive and 404 page view.
Fix: After a template was unpublished or deleted, a site with a persistent object cache could keep using it, or create its template again, for up to an hour.
Chore: A database version per network (per site on a single site), so data stored by an older version is brought up to date once, for every site of the network, before the new code uses it.
Chore: Builds with Node 26.
Chore: Requires PHP 7.4, the minimum WordPress itself requires. PHP 7.2 and 7.3 no longer receive security fixes.
Fix: A Taxonomy Archive Template whose taxonomy cannot be linked to no longer gets a broken “View” link in the list.
Security: Templates are visible to logged-in users only. The template REST endpoints refuse visitors who are not logged in, and template content no longer shows in the post types REST endpoint for them. Archive and 404 pages still show their template to everyone.
Feature: A template for a post type or taxonomy is only edited, published or deleted by users who may also edit that post type (such as edit_products for products) or manage that taxonomy’s terms, on top of the role settings. Filter: acato/block_editor_templates/target_capability.
Security: Template access fails closed: visitors who are not logged in never get template access, and a chosen role a site does not have lets nobody extra through.
Fix: Only published Post Type Templates are applied to new posts, as documented. A draft, pending or private template no longer takes effect, and its content no longer shows in the post types REST endpoint.
Fix: Each post type, taxonomy and special page can have one template. The server refuses a second one, and the editor no longer offers it.
Fix: Special Templates moved to the trash are created again as drafts, like the other templates, and they get the same states in the list.
Fix: The settings page shows what was saved: a role that cannot be chosen is dropped on save and no longer stays visible.
Performance: The capability check and the settings it reads are worked out once per request. On a multisite network the settings pages read only each site’s role definitions instead of loading every site’s options.
Performance: The editor builds only the template of the post type it opens. The network upgrade runs once, under a lock, and only for someone who is logged in, as does the template check. Template list previews no longer make rows jump, and their View links cost one query per taxonomy instead of one per row.
Chore: Requires WordPress 6.6, which the editor panels need.
Fix: Archive and 404 templates keep their form fields, such as the input of a Search block. Their output is no longer filtered a second time; the content is filtered when it is saved, as for posts.
Fix: Archive and 404 templates sit in the theme’s content area (.entry-content), so classic themes such as Twenty Twenty-One apply their width and spacing.
1.2.0
Release Date: November 10th, 2026
Feature: The template lists show a preview of each template’s blocks, rendered by the block editor itself so custom blocks look as they do in the editor. A tall template scrolls inside its thumbnail, with the mouse or the keyboard.
Feature: The Date column of the template lists is called “Created” and shows who created the template under its date. A new “Modified” column shows when a template was last modified and by whom.
Feature: “All creators” and “All modifiers” filters on the template lists.
Feature: Block Templates > Settings switches the preview, the author under “Created” and the “Modified” column on or off. On a multisite network a super admin sets the default under Network Admin > Settings > Block Editor Templates, and each site can follow it or use its own settings.
Feature: The editor of a Post Type Template says at the top when the template prefills new posts.
Fix: Saving a template in the block editor now records who saved it, which WordPress itself only does for the classic edit screen and Quick Edit.
Fix: The help text of the “Prefill new posts” column is a real tooltip that also opens on keyboard focus, instead of a title attribute that browsers show late or not at all.
Chore: Builds with Node 24.
1.1.4
Release Date: September 7th, 2026
Fix: The plugin no longer asks whether the active theme is a block theme before WordPress has registered the theme directory. Asked that early the answer is always “not a block theme”, so on a block theme the archive and special-page templates were registered even though a block theme provides those itself. WordPress 6.8 and newer also reported the premature question as a “called incorrectly” notice on every request.
1.1.3
Release Date: August 17th, 2026
Fix: Text typed into a block after “Use content as placeholder” was switched on is now stored as placeholder text in full. Only the first character used to be moved into the placeholder attribute, while the rest stayed behind as real content — so a template prefilled new posts with that content instead of showing the hint. Templates in that state are repaired when they are opened.
1.1.2
Release Date: July 29th, 2026
Chore: Translations are no longer bundled with the plugin. They are now maintained on translate.wordpress.org, where WordPress picks them up as language packs automatically.
Chore: Removed the call to load_plugin_textdomain(). Since WordPress 4.6 plugins hosted on WordPress.org no longer need it; WordPress loads the translations when they are needed.
1.1.1
Release Date: July 28th, 2026
Feature: Added Flemish (nl_BE), French (fr_FR) and German (de_DE) translations.
Fix: The translations shipped with the plugin are now actually loaded. Without this, all PHP strings stayed in English even though a Dutch (nl_NL) translation was bundled in 1.1.0.
Chore: Added the missing contributors to the plugin’s contributor list.
Chore: Completed the Dutch (nl_NL) translation, so it can be imported into translate.wordpress.org.
1.1.0
Release Date: July 14th, 2026
Feature: New posts can now be prefilled with a template’s content. This is configurable per template and shown in a “Prefill new posts” column in the templates list.
Feature: Added advanced placeholder options: a “Use content as placeholder” toggle on supported blocks, an in-editor placeholder badge, and per-attribute validation. See docs/placeholder-support.md.
Feature: The template editor now inherits the target post type’s allowed block types.
Feature: Special pages (such as the 404 page) are now data-driven and filterable by developers.
Feature: Added a Dutch (nl_NL) translation.
Fix: Fixed missing content when a block template is applied to a new post.
Fix: Fixed the 404 template lookup for classic themes.
Fix: Guarded wp_is_block_theme() so the plugin keeps working on the declared WordPress 5.0 minimum.
1.0.7
Release Date: March 9th, 2026
Feature: Added a view link to the templates list for archive and special templates, so you can easily view the template after publishing it.
1.0.6
Release Date: January 12th, 2026
Feature: Added support for customizing the 404-page template, when not using a block theme.
1.0.5
Release Date: July 30th, 2025
Fix: Changes in the plugin for posting to WordPress.org include using get_posts instead of a direct DB query for checking the existence of templates. This however had the effect of sometimes not detecting existing templates, which caused the plugin to create new templates even if one already existed. This has been fixed by using the correct query parameters in get_posts.
1.0.4
Release Date: May 26th, 2025
First public version.
Follow this listing's changes (Atom feed)