如何在 WordPress 中使用 Elementor 编辑页眉和页脚
页眉和页脚是任何 WordPress server 的关键部分——它们塑造用户体验、导航、品牌等。使用 Elementor 这个最强大的页面构建器之一,即使你完全没有编码知识,也能轻松直观地编辑这些区域。本指南将逐步带你了解如何使用 Elementor 编辑页眉和页脚。
你需要什么
要使用 Elementor 编辑页眉和页脚,你需要:
已安装并运行的 WordPress
The Elementor plugin
The Elementor Pro version (for full header/footer customization)
Alternatively, a theme that supports Elementor header/footer editing (like Hello Elementor, Astra, or OceanWP)
方法 1:使用 Elementor Pro Theme Builder
Elementor Pro 包含内置的 Theme Builder,可让你从零开始设计自己的页眉和页脚。
📌 步骤:
Install and activate Elementor Pro
Go to Plugins → Add New, upload the Pro version, and activate it.
Open the Theme Builder
Navigate to Templates → Theme Builder
Select Header or Footer tab and click Add New
Choose a pre-made template or start from blank.
Elementor offers professional header/footer blocks to choose from.
Customize using drag-and-drop
Add widgets like Logo, Nav Menu, Search, Button, Social Icons, etc.
Use responsive settings to adjust layout for mobile/tablet.
Set display conditions
After editing, click Publish and set where it should appear (entire site, specific pages, categories, etc.)
Save and preview
Check how the header/footer looks live on your site.
方法 2:使用兼容主题 + 免费 Elementor(无需 Pro)
Some themes like Astra, Neve, and OceanWP let you use the free version of Elementor to customize headers/footers via the WordPress Customizer or their own hooks.
Astra 示例:
Install Astra Theme and Astra Widgets
Go to Appearance → Customize → Header/Footer Builder
Use Elementor to design header/footer content via Hooks or layout modules
Save changes in the Customizer
Note: These methods don’t offer full flexibility like Elementor Pro but still provide good control.
方法 3:使用插件(免费替代方案)
如果你使用的是免费版 Elementor,而你的主题不支持页眉/页脚编辑,你可以尝试:
Elementor Header & Footer Builder by Brainstorm Force
它的工作方式:
Install the plugin from Plugins → Add New
Go to Appearance → Header Footer & Blocks
Click Add New and choose Type: Header or Footer
Design the layout with Elementor
Set location and display conditions
This free plugin gives you many Pro-like options.
页眉和页脚的实用小工具
Site Logo
Nav Menu
Search Form
Social Icons
Button / Call to Action
Language Switcher (for multilingual sites)
Copyright text
You can also use dynamic tags like {{Site Title}}, {{Current Year}}, etc.
最终想法
使用 Elementor 自定义页眉和页脚可以释放完整的设计自由,并为你的网站带来专业优势。无论你使用的是 Elementor Pro、兼容主题,还是免费插件,你都可以构建独特、响应式的设计,完美匹配你的品牌。
从上到下掌控你的网站外观——Elementor 让这一切既简单又有趣。


