跳到内容

Simple Header and Footer

v1.1.1

Alberto Reineri · 2024年1月9日 上架

Insert code in your site's header and footer. Ideal for Google Analytics, Facebook Pixel and other tracking scripts.

正在使用
70+
评分
5.0 / 5
累计下载
1,822
最近更新
2026年9月25日
1 条评价需要 WordPress 5.8+已测试到 7.1.5PHP 7.4+

截图

Simple Header and Footer settings screen.
Simple Header and Footer settings screen.

Simple Header and Footer lets you add Google Analytics, Facebook Pixel, custom tracking code, verification meta tags and more, with a single straightforward settings page. No need to install a complex plugin with thousands of unnecessary features, and no need to edit your theme files.

  • Header: printed inside the <head> tag.
  • Footer: printed just before the </body> tag.
  • Code editor with syntax highlighting.
  • Your code stays in place when you change or update your theme.

A note on security

This plugin outputs the HTML and JavaScript you write, exactly as written, on every page of your site. That is what makes it useful for tracking scripts, and it also means the settings page should be treated like access to your theme files. Only users with the unfiltered_html capability (Administrators on a standard install; Super Admins on Multisite) can save raw scripts. Everyone else has their code filtered the same way WordPress filters the Custom HTML block.

This plugin does not run PHP code.

Privacy and GDPR

This plugin does not collect or process any personal user data. The scripts you add may do so: check the privacy requirements of the services you connect.

Translation

You can contribute to translate this plugin in your language on WordPress Translate.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums