Layouts

Choosing Layouts

Layouts can be selected per post type, per individual post, and for auth screens.

Post Type Defaults#

To set the default layout for a post type, open the Content & Layout shortcut from the TemplateX overview, then choose the matching layout-default action for that post type.

For example, posts can use default.php, while pages use landing.php.

Post Overrides#

To override one post or page, use the TemplateX layout panel in that post's editor sidebar.

The post-level choice wins over the post type default.

Auth Screens#

Auth screens do not have a post editor. To choose their layouts, open TemplateX > Settings > Tweaks > Auth templates and layouts.

Each auth screen can use:

  • The default layout.
  • No layout.
  • Any layout file from resources/views/layouts.

The same screen can also disable custom auth templates and let WordPress use its default login pages.