The plugin registers two page templates that control how Page Block content is displayed on the frontend. Both templates work with any theme.
Page Blocks Builder Template
Template slug: page-blocks-builder.php
This is the standard template. It keeps your theme’s header and footer but removes layout constraints that would prevent sections from going full-width.
What it does.
- Calls
get_header()to include your theme’s header. - Renders a
<main>element with the classpage-blocks-main. - Runs the standard WordPress loop and calls
the_content(). - Calls
get_footer()to include your theme’s footer.
The template injects CSS that.
- Removes
max-width,padding, andmarginfrom.page-blocks-main. - Hides the page title (
.entry-title,.page-title,.post-title). - Removes width constraints from
.site-content,.content-area, and.entry-content.
This means your Page Block sections can span the full viewport width while your site’s navigation, footer, and other theme elements remain intact.
Full Page Builder Template
Template slug: page-blocks-full-builder.php
This template removes everything. No header, no footer, no theme chrome. You get a blank HTML document with just WordPress’s head scripts and footer scripts.
What it does.
- Outputs a minimal HTML document with
<!doctype html>,<html>,<head>, and<body>tags. - Calls
wp_head()andwp_footer()so your SEO plugins, analytics scripts, and other head/footer hooks still work. - Adds the body class
page-blocks-full-builder. - Renders a
<main>element withpage-blocks-mainthat contains the post content.
The template injects CSS that.
- Zeroes out
marginandpaddingon the body. - Removes layout constraints from
.page-blocks-main.
Use this template when you want complete control over the page layout, including custom headers and footers built as Page Block sections.
Template Auto-Selection
When you open the visual builder for a post that doesn’t have a template set (or is set to “Default”), the plugin automatically assigns the “Page Blocks Builder” template. This ensures your sections render full-width immediately without requiring manual template selection.
The auto-selection only happens when the current template is empty or “default.” If you’ve already chosen a specific template (including the Full Page Builder template), the plugin won’t override your choice.
Choosing a Template
You can set the page template in the Gutenberg editor’s sidebar under Page > Template (or Page Attributes > Template depending on your WordPress version). Both “Page Blocks Builder” and “Full Page Builder” appear in the template dropdown alongside any theme-provided templates.
Supported Post Types
Both templates declare support for a wide range of post types via the Template Post Type header.
- post
- page
- product
- snippet
- ebook
- study_notes
- deal
- fluent-products
- landing_page
- portfolio
- event
- course
- lesson
This list covers common custom post types. If your post type isn’t listed, the template may not appear in the template selector for that post type. The visual builder itself works on any post type that’s enabled in the plugin settings, regardless of template availability.
When to Use Which Template
Use the Page Blocks Builder template when you want full-width sections but still want your site’s header and footer. This is the right choice for most landing pages, sales pages, and content pages that should feel like part of your site.
Use the Full Page Builder template when you need complete control. This is ideal for standalone landing pages, coming-soon pages, or any page where you want to design every pixel from scratch, including the header and footer.