Linux 软件免费装
Banner图

Header Footer Script Adder – Insert Code in Header, Body & Footer

开发者 mahethekiller
freemius
更新时间 2026年6月17日 14:25
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

tracking seo javascript google analytics header meta tags body custom css footer facebook pixel tag manager insert code chat widgets add scripts

下载

2.0.6 2.1 2.0.0 1.0.1 1.0.2 1.0.3 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.7

详情介绍:

Header Footer Script Adder is a powerful and user-friendly WordPress plugin that lets you easily insert custom HTML, CSS, and JavaScript into your site’s header, body, or footer. You don’t need to edit theme files or worry about losing your code after updates. This plugin keeps your scripts safe, reusable, and flexible with conditional loading and per-page overrides. ✨ Features ✅ Perfect For ⚙️ Conditional Loading Options 🔒 Security & Performance 👨‍💻 Developer Friendly

安装:

  1. Upload the plugin folder to /wp-content/plugins/ or install via the WordPress dashboard.
  2. Activate the plugin from Plugins → Installed Plugins.
  3. Go to Header Footer Script Adder in your admin menu.
  4. Paste your scripts and configure loading conditions.
  5. Save settings and done!
Manual Installation
  1. Download the plugin .zip.
  2. In WordPress Admin → Plugins → Add New → Upload Plugin, select the zip file.
  3. Install and activate.
  4. Configure from Settings → Header Footer Script Adder.

屏幕截图:

  • **Code Editor** – Syntax highlighting for easy editing.
  • **Conditional Options** – Control script placement (sitewide, homepage, archives, etc.).
  • **Per-Page Overrides** – Unique scripts per post or page.
  • **Help Section** – Usage instructions and FAQs.

升级注意事项:

2.0.6 Fixed few security issues. 2.0.5 Fixed few issues. 2.0.3 This is a major release. Backup your scripts before updating as older settings may be replaced.

常见问题:

Is this plugin safe to use?

Yes. Input is sanitized, and only admins can add or edit scripts. It follows WordPress security best practices.

Will it slow down my website?

No. It’s lightweight and optimized. Scripts only load where needed.

Can I add scripts to specific pages only?

Yes. Use the per-page overrides in the post/page editor.

Does it support Gutenberg (Block Editor)?

Yes. Works with both Gutenberg and Classic Editor.

Can I use it on multisite?

Yes. Each site can have its own configuration.

Can I add both Google Analytics and Facebook Pixel together?

Yes. You can add multiple scripts in header, body, and footer.

Will my scripts stay if I switch themes?

Yes. Code is stored in the database, not in theme files.

How do I remove plugin data completely?

When uninstalling, you’ll have the option to remove all saved scripts from your database.

Can I insert chat widgets or meta tags?

Yes. The plugin supports any valid HTML, CSS, or JavaScript code.

更新日志:

2.1 2.0.7 2.0.6 2.0.5 2.0.3 1.2.0 1.0.0