如何在 WordPress 中使用 Elementor 编辑页眉和页脚

热门:
升级您的服务器配置! 申请 AVA 并使用 立减 15%
使用优惠码:

页眉和页脚是任何 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,可让你从零开始设计自己的页眉和页脚。

📌 步骤:

  1. Install and activate Elementor Pro

    • Go to Plugins → Add New, upload the Pro version, and activate it.

  2. Open the Theme Builder

    • Navigate to Templates → Theme Builder

    • Select Header or Footer tab and click Add New

  3. Choose a pre-made template or start from blank.

    • Elementor offers professional header/footer blocks to choose from.

  4. 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.

  5. Set display conditions

    • After editing, click Publish and set where it should appear (entire site, specific pages, categories, etc.)

  6. 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 示例:

  1. Install Astra Theme and Astra Widgets

  2. Go to Appearance → Customize → Header/Footer Builder

  3. Use Elementor to design header/footer content via Hooks or layout modules

  4. 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

它的工作方式:

  1. Install the plugin from Plugins → Add New

  2. Go to Appearance → Header Footer & Blocks

  3. Click Add New and choose Type: Header or Footer

  4. Design the layout with Elementor

  5. 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 让这一切既简单又有趣。