Starters
Add blocks, patterns, templates, template parts, style variations, post types and page builder widgets, wired up and ready to fill in.
On this page
Starters create the files for a common feature in the working copy and wire them up: they add the loader to functions.php or the main plugin file, and register templates in theme.json. Then you edit the files to build the feature.
Create from a starter#
- In the editor, click New in the toolbar. The dialog is called Create something new.
- Pick a starter. The list shows only what suits the project you have open.
- Fill in the fields. Most starters need a name; the slug is made from it if you leave it empty.
- If you've added an AI key, you can Describe what it should do. The AI fills in the starter files from your description. If its version fails the save checks, the plain starter is used instead.
- Click Create.
Temper creates the files and opens the one to start with, such as the block's render.php. The message lists every file it created or changed. Nothing is overwritten: if a file already exists, choose a different slug.
To create a single empty file at any path, pick Empty file under Other.
The starters#
| Starter | Creates | Projects | Plan |
|---|---|---|---|
| Gutenberg block | blocks/<slug>/ with block.json, render.php, editor.js (plain JavaScript, no build step) with editor.asset.php, and style.css. Registers every block in /blocks. | Themes and plugins | Free |
| Block pattern | patterns/<slug>.php | Themes | Free |
| Page template | templates/<slug>.html, registered in theme.json | Themes | Free |
| Template part | parts/<slug>.html, registered in theme.json | Themes | Free |
| Style variation | styles/<slug>.json, with your background, text and accent colors | Themes | Free |
| ACF block | blocks/<slug>/ with block.json and render.php, and the field group as local JSON in acf-json/. Needs Advanced Custom Fields PRO. | Themes and plugins | Pro |
| Custom post type | inc/post-type-<slug>.php, loaded from functions.php or the main plugin file. Visit Settings › Permalinks once after publishing so the new URLs work. | Themes and plugins | Pro |
| Elementor widget | widgets/class-<slug>.php, a widget with content and style controls. A loader registers every widget in /widgets. | Themes and plugins | Pro |
| Bricks element | elements/<slug>.php, an element with its controls. A loader registers every element in /elements. | Themes and plugins | Pro |
Without Pro, the Pro starters are listed with a Pro badge, and picking one says what Pro adds. Starters that need another plugin, such as ACF PRO, Elementor or Bricks, warn you when it isn't active; the files are still created.
Theme or plugin?#
When you add a Gutenberg block, ACF block, Elementor widget, Bricks element or Custom post type from a theme, Temper asks where it should go:
- In a plugin: keeps working when the site changes theme. Choose an existing plugin, or A new plugin… (named "Theme name functionality" unless you change it). The plugin opens in its own tab next to the theme.
- In this theme: it goes away with the theme. For example, if the site changes theme, posts using a block show it as unavailable, and pages built with a widget lose it.
Post types, Elementor widgets and Bricks elements are recommended in a plugin; blocks in the theme. Temper remembers where you put the last one and starts there next time. The choice is folded into one line, "Goes in this theme", until you click Change.
Your own starters#
Themes and plugins can ship their own starters as JSON files. They appear under From this theme. See Custom starters.
Starters from an AI assistant Pro#
AI assistants can list starters with list_templates and create one with create_from_template. See the MCP tool reference.