WordPress header and footer builder
A new header for one part of the site, with nothing to install
Site Parts in GoBuildWP Pro let your AI agent write a header, footer, single-post layout or archive layout and decide where it shows. It stays a draft you can preview on any page until you confirm it, and then replaces the theme's own only where its rules match. Turning it off hands the spot straight back to the theme.
Pro 1.15.0, Classic and block themes, Pricing
Representative session. Ability names and behaviour match GoBuildWP Pro 1.15.0; the part id and rules are an example.
Four kinds of part
What a Site Part can replace
A part is kept as a draft post whatever its state, so it is never published content of its own.
| Part | What it replaces |
|---|---|
| Header | Replaces the theme's header on the pages the rules match. Block themes swap the header template part; classic themes take over get_header(). |
| Footer | The same for the footer: the footer template part, or get_footer() on a classic theme. |
| Single layout | Replaces the body of the single-post template for the post types, ids or terms you name. |
| Archive layout | Replaces the archive template for a post type, taxonomy or term, and can cover search and 404. |
Display rules
Each part carries include and exclude rules. Together they decide which pages it takes over.
- The whole site, the front page or the posts page
- Single posts by post type, id or term, and archives by post type, taxonomy or term
- Search results and the 404 page
- Logged-in or logged-out visitors only
- Languages, when Polylang or WPML is active
- A priority: the highest wins, and a tie goes to the older part
Abilities
Draft first, confirm to go live
Creating and editing a draft changes nothing a visitor sees. Activating a part, and editing one that is already live, wait for confirmation.
site-part-createSaves a header, footer, single or archive layout in block markup as an inactive draft.
site-part-previewFor one URL or context, names the part of each type that would render, and why.
site-part-activateMakes a part live for every visitor on the matching pages. Without confirm it only reports what it would replace.
site-part-updateChanges title, content, conditions or priority. On an active part the change needs confirm, because it is live at once.
site-part-disableHands the location back to the theme and keeps the part as a draft.
site-part-listLists parts with their state, priority and conditions, and which theme builder takes precedence on this site.
Limits
Theme builders and caches come first
Site Parts sit underneath whatever already owns your templates. Check site-part-list on a new site: it says whether the theme is classic or block-based and which builder, if any, takes precedence.
- An Elementor Pro Theme Builder template for the same location wins on the pages it covers.
- With Bricks, Breakdance or Oxygen active, those builders own the templates, so activation is refused.
- On a classic theme, replacing only the header or only the footer can leave one wrapper tag from header.php unbalanced. Browsers recover from it.
- Activation purges the page cache, except on LiteSpeed, where a full purge also resets OPcache; the affected pages are named for a per-URL purge instead.
- Not yet exercised on a live site, and editing a part inside Elementor or Beaver Builder has not been checked.
Related
Templates in the builders you already use
FAQ
Header and footer builder questions
Do I need a theme builder plugin for a custom header?
No. Site Parts work on classic and block themes with no theme builder installed. The part is written in block markup and takes over the theme's header, footer or template only where its rules match.
Can I give one section of the site a different header?
Yes. Rules cover the front page, single posts by type, id or term, archives by type or taxonomy, search, 404, logged-in state and, with Polylang or WPML, language. The highest priority part wins.
Can I see a header before visitors do?
Yes. A new part is an inactive draft. Anyone who can edit theme options can view it on any page with its preview URL, uncached and noindexed, and site-part-preview says which part each URL would show.
How do I undo a header change?
site-part-disable gives the location back to the theme and keeps the part as a draft. Every Site Parts write is also in the change ledger for rollback-change.
Does it work with Elementor Pro, Bricks or Oxygen?
Elementor Pro's Theme Builder keeps the locations it has templates for, and Site Parts fill the rest. With Bricks, Breakdance or Oxygen active, Site Parts render nowhere and activation is refused.
Try a header on one section first.
Ask for a draft, open it on a page with the preview link, and activate it for the pages you choose. The rest of the site keeps its theme header.