Template gallery
The template gallery lets you save the current element state as a named template and apply it to any element later.
Where do I find the template controls?
Click the TheOne element to open the configuration panel, then switch to the Templates tab. All buttons for saving, loading, and managing templates are in this tab.
Save a template
- Finish building your layout.
- Open the Templates tab in the element panel.
- Click Save as a template.
- Give it a unique name.
- Click Save.
The current element state is serialised and stored in the the_one_template database table (max. 2 MB).
Load a template
- Open the Templates tab in the element panel.
- Click Show template gallery.
- Select a built-in preset or one of your own templates.
- Confirm with Confirm.
Existing content will be replaced
Loading a template overwrites the current element content. This action cannot be undone.
Built-in presets
The plugin ships with around 20 presets:
| Category | Presets |
|---|---|
| Full width | Full Width Background, Full Width, 50% Centered, 50% Left |
| Two columns | Image Left / Text Right, Text Left / Image Right, 50% + Image, 2 Cols Banner |
| Three and four columns | 3 Cols Image/Text/Image, 3 Cols Cards, 4 Cols Cards |
| Sliders | Banner Slider, Card Slider, Image Slider, Text Slider |
| Content blocks | Background Image, Text on Top, Image + Headline + Text, Image + Headline + Text + Button |
Overwrite a template
- Open the Templates tab in the element panel.
- Click Show template gallery.
- Select the template to overwrite.
- Click Confirm the overwriting of the template and confirm with Yes.
Delete a template
- Open the Templates tab in the element panel.
- Click Show template gallery.
- Select the template to delete.
- Click Delete template and confirm.
Permanent
Deleting a template removes it permanently from the database.