
內容簡介
Header Footer Builder 是一款輕量級且強大的 WordPress 外掛,讓使用者能夠設計完全自訂的頁首和頁尾,並透過靈活的顯示條件精確控制每個模板的顯示位置,無需撰寫任何程式碼。
【主要功能】
• 無限模板 — 可創建任意數量的頁首和頁尾模板
• 顯示條件 — 根據網站、特定頁面或文章顯示或隱藏模板
• 包含與排除規則 — 全站包含特定模板,或在特定頁面排除
• 優先匹配 — 更具體的規則優先於一般規則
• 與任何頁面構建器兼容 — 支援 Gutenberg、Elementor 等
• 開發者友好 — 清晰的 OOP PHP 和 REST API 支援
外掛標籤
開發者團隊
② 後台搜尋「Header Footer Builder – Custom Header and Footer for WordPress」→ 直接安裝(推薦)
原文外掛簡介
Header Footer Builder is a lightweight yet powerful plugin that lets you design fully custom headers and footers for your WordPress site — and precisely control where each one appears using flexible display conditions.
Unlike other header footer plugins, every template comes with a built-in include/exclude rule system. You can show a unique header on your homepage, a different one on WooCommerce shop pages, and hide the footer entirely on landing pages — all without writing a single line of code.
Key Features
Unlimited templates — Create as many header and footer templates as you need.
Display conditions — Show or hide templates based on:
Entire site
Front page, blog index page
Specific pages or posts (search and select by name)
All posts, all pages, all custom post types
Category archives, tag archives, all archive pages
Author archive pages
Search results pages
404 pages
WooCommerce shop, product, cart, checkout, my account pages
Include & exclude rules — Include a template sitewide and exclude it from specific pages, or vice versa.
Priority-based matching — More specific rules always win. A rule targeting a specific page beats a rule targeting all pages, which beats a sitewide rule.
Works with any page builder — Use the native WordPress block editor (Gutenberg), Elementor, or any other builder to design your templates.
Theme compatibility — Works with popular themes including Astra, GeneratePress, OceanWP, Kadence, Hello Elementor, and more.
Zero bloat — No external dependencies or heavy frameworks. Fast and standards-compliant.
Developer friendly — Clean OOP PHP, PSR-style autoloading, React-based admin UI, REST API-powered.
How Display Conditions Work
Create a header or footer template in the builder.
Click Conditions next to any template.
Add Include Rules to define where the template should appear.
Add Exclude Rules to carve out exceptions.
Save — the template is now live with smart targeting.
Rules are priority-scored: specific page/post targets score highest, followed by post-type rules, then archive rules, then the sitewide catch-all. The highest-scoring matching template wins.
Perfect For
Landing pages that need no header or footer
WooCommerce stores with checkout-specific headers
Blogs with a different header for category archive pages
Membership sites with role-specific navigation
Multipage sites that need per-section branding
