Globally Assign a Template​

  • Updated: 2020-06-09
  • First posted: 2020-05-19

A globally assigned page or content layout template is the global default or fallback template. It is used for the layout and design of a page/post when no other template is contextually assigned.

Websites that mostly have one standard layout and design for page/posts will have this as the template assigned to be the global default.

How to do it

  1. Add or edit a template to be used as the global default.
  2. Navigate to Page Settings and open the Layout section.
  3. Change the setting for Use as global default to Yes.
  4. Update to save.

Any pages/posts that do not otherwise have a template assigned will now use be displayed using this template for layout and design.

Notes:

  • If another template has been assigned as the global default it will be replaced as such when this template is saved with the new setting.
  • The template must be published to be used – when an unpublished template is applied as the default no template will be used.
  • For page layout templates with Content Placeholder widget must be used (it is optional for content layout templates).

Usage examples:

  1. For web page layout and design: assign a page template as the global default to determine the positioning and design of header, footer, sidebar or any other elements displayed on all pages by default.
  2. For content layout and design: assign a section template as the global default to determine the layout and design of page/post content within a web page.

Leave a Reply

Your email address will not be published. Required fields are marked *

Stay in touch

Receive the latest news and articles from Amibe…