Skip to main content

Adding templates

Templates management

Builderius templates table overview

  1. Add new template.
  2. A template name (click on the text to start editing, click outside to end editing the text).
  3. The link to edit template page (shown on hover over the row item; allows entering the builder mode).
  4. Open meta info about the template.
  5. Sort order.
  6. Apply rules: the blue button below opens a query builder for setting conditional rules for each template, determining which pages will use this template.
  7. Save changes. The Grey color of the button indicates no changes; the green color indicates that some changes are made and can be saved.
  8. Cancel changes. Similar to the Save button, its color indicates whether there are unsaved changes or not. This button cancels all the changes made for the specific template.
  9. Delete the template.

Setting up a template

Adding a new template

In order to create a new template we go to Templates page (1), then click on "Add new" button (2).

Builderius templates - create a new template

This will open a modal window with a two step form wizard:

Builderius templates - create a new template

  1. Add a name
  2. Choose a desired type of the new template

Template type defines a category from WP template hierarchy (more on the topic). However, Builderius does not have such detailed categories. In practice, only few are enough:

  • Singular (FREE version) - for single post, pages and CPT (support for custom post types is available in the PRO version only)
  • Collection (PRO version) - for the standard and custom archive pages
  • Other pages (PRO version) - e.g. 404 page etc

The next step is dedicated to Apply rules - the conditions for displaying the template for specific pages:

Builderius templates - create a new template

All apply rules are organized by groups. The first group - template hierarchy is a required to be filled in. Other group are optional. Many groups have starters for a fast and easy selection of apply rules.

  1. Template hierarchy group
  2. Starters dropdown

After the "Apply rules" are defined, click on "CREATE TEMPLATE" button.

Defining apply rules

For a template to be visible on the site it has to be applied for certain pages. There is no division to template types like "header/footer" or "main content". Each template is a full page.

Apply rules example

  1. Remove all conditions (rules) in a specific category.
  2. Change condition (rule) operator. It can be done separately on different levels.
  3. Delete a part or the full condition (rule).
  4. Duplicate a part of the full condition (rule).
  5. Add a new condition (rule).
  6. Add a new group of conditions (rules).

Below are examples of apply rules defined for different pages.

Apply to page by ID

Apply rules example

Apply to two pages by ID

Apply rules example

Apply to two pages by ID - an alternative version

Apply rules example

Apply to two pages by ID and to posts in specific category or with a specific tag

Apply rules example

After the Apply Rules are being set, we have to click on the Save changes button to save changes. In order to discard the changes made, we click on the Cancel & close button.

Setting a specific sort order (optional)

Since several templates might be applied to the same page (or pages), we use sort order to specify the priority of such templates; the lower value of the sort order means higher priority.

Saving or discarding changes

It is important to save changes made. Whenever we change template name, sort order and apply rules - the changes must be saved in order to be applied.

Apply rules example

We can also cancel (discard) changes or delete the template.