前言介紹
- 這款 WordPress 外掛「NinjaTeam Header Footer Custom Code」是 2018-03-28 上架。
- 目前有 300 個安裝啟用數。
- 上一次更新是 2025-04-25,距離現在已有 9 天。
- 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
footer | header | custom code | Facebook Pixel | google analytics |
內容簡介
此外掛可以幫助您輕鬆地將 CSS、Javascript 和任何程式碼插入到
元素或其前面,例如 Google Analytics、Facebook 像素、自定義 CSS 等等。不需要編輯您的主題檔案,在升級主題時也不會失去您的程式碼。這是您的 WordPress 網站必備的外掛。如果您想知道如何在 WordPress 中將程式碼添加到標頭,或尋找 WordPress 外掛程式碼添加到標頭,那您來對地方了,這個外掛可以幫助您完成。
功能
輕鬆插入標頭和頁腳的程式碼
將 Google Analytics 程式碼添加到任何主題中
將自訂 CSS 添加到任何主題中
將 Facebook 像素添加到任何主題中
友好易用
支援程式碼編輯器
及更多...
安裝
手動安裝很簡單,不到一分鐘的時間就可以完成。
從 wordpress.org 下載此外掛,將它解壓縮並上傳[NinjaTeam Insert Code Header Footer]文件夾到您的wp-content/plugins/目錄。
在 WordPress 的外掛選單中啟用此外掛。
前往您的 WordPress 主選單 > 標題和頁腳代碼,即可添加您的自訂程式碼。
完成了,開始使用吧!
原文外掛簡介
Easily add CSS, JavaScript, and custom code snippets to your website’s
or before the tag with this powerful plugin. Whether you need to integrate Google Analytics, Facebook Pixel, custom CSS, or other scripts, this plugin makes it simple—no theme file editing required. Plus, your code remains safe even when you update your theme!This is a must-have plugin for any WordPress website.
If you’re wondering how to add code to the header in WordPress or searching for a WordPress plugin to insert code into the header or footer, you’ve come to the right place. This plugin gets the job done quickly!
FEATURES
Easy to insert code to header and footer
Add Google Analytics code to any theme
Add custom CSS to any theme
Add Facebook Pixel to any theme
Friendly
Support code editor
And more…
For WordPress Full Site Editing (FSE) users:
FSE reduces the need to access and edit core theme files, which can make it harder for advanced users who prefer working directly with PHP or CSS in template files.
Some modifications may require custom block creation, which involves more advanced coding.
Since FSE themes are heavily block-based, any manual modifications to theme files might be overridden during updates, so adding code snippets needs to be done carefully.
When adding PHP or backend functionality, rely on plugins like Header Footer Custom Code to avoid directly editing theme files.
INSTALLATION
Manual installation is easy and takes fewer than one minute.
Download the plugin from wordpress.org, unpack it and upload the [NinjaTeam Insert Code Header Footer] folder to your wp-content/plugins/ directory.
Activate the plugin through the ‘Plugins‘ menu in WordPress.
Go to your main WordPress menu > Header Footer Code to add your custom code.
You’re done. Enjoy.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「NinjaTeam Header Footer Custom Code」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.1 |
延伸相關外掛(你可能也想知道)
MonsterInsights – Google Analytics Dashboard for WordPress (Website Stats Made Easy) 》WordPress的Google Analytics外掛程式, MonsterInsights是WordPress中最受歡迎的Google Analytics外掛程式,擁有超過三百萬的安裝數量。, 我們相信,當你確切...。
WP Statistics – The Most Popular Privacy-Friendly Analytics Plugin 》WP 統計數據:#1 的 WordPress 統計數據外掛, 您需要一個簡單的工具來了解您網站的統計數據嗎?您需要展示這些數據嗎?在分析對您的業務或網站感興趣的人時,...。
GA Google Analytics – Connect Google Analytics to WordPress 》t connects your WordPress website to Google Analytics. It supports Universal Analytics (analytics.js), Global Site Tag (gtag.js), and Google Analyt...。
ExactMetrics – Google Analytics Dashboard for WordPress (Website Stats Plugin) 》gle Analytics compliant with privacy laws like GDPR and CCPA., Link Attribution – View which links on your website are getting clicked the mo...。
Insert Headers And Footers 》WP Headers and Footers 外掛程式可以協助您在 WordPress 網站的頁首和頁尾中插入程式碼,例如 Google Analytics 追蹤碼、Facebook 像素碼、Google Optimize ...。
Google Analytics for WooCommerce 》這個外掛提供了 Google Analytics 與 WooCommerce 外掛之間的整合,您可以將推薦連結與購買關聯,並將交易資訊新增到您的 Google Analytics 資料中。它還支援...。
VK All in One Expansion Unit 》這個外掛是一個集成了多種功能的強大外掛,可以幫助你的網站更強大。, 很多功能可以單獨停用。, [ 強大的小工具 ], , 最新文章 - 顯示最新文章標題的鏈接文本...。
ShareThis Dashboard for Google Analytics 》使用我們的 Google Analytics 外掛程式,您可以直接從 WordPress 控制台監測、分析和測量訪客在您的網站上的興趣。透過我們的 Google Analytics 控制台,您可...。
Independent Analytics – Google Analytics Alternative for WordPress 》nge to see data for a specific time period., If you're looking for a Google Analytics alternative that's easy to use, privacy-friendly, and fully i...。
Pixel Manager for WooCommerce – Track Conversions and Analytics, Google Ads, TikTok and more 》這款外掛可追蹤 WooCommerce 商店的訪問者並收集有價值的數據,用於轉換優化、動態再行銷和報告生成。Pixel Manager 是實現各種提供者像 Google Analytics(U...。
WP Visitor Statistics (Real Time Traffic) 》這是一個用於 WordPress 網站訪客統計的綜合外掛程式。您無需依賴外部服務,就能追蹤 WordPress 網站的統計數據。使用者能夠顯示有多少用戶在 WordPress 博客...。
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics made easy) 》首頁 | 文件 | 支援 | 演示 | 高級版, Google Analytics 儀表板, Analytify Google Analytics 儀表板套件 - 基於 WordPress 的 Analytify 讓 Google Analytic...。
Tag Manager – Header, Body And Footer 》標籤管理器是一個簡單的外掛程式,它可以讓你在網站頁頭、開始 body 標籤之後和結束 body 標籤之前的頁尾區域插入/注入程式碼。你可以使用此外掛程式為 Googl...。
Beehive: Google Analytics Dashboard & Visitor Stats 》s you restrict access to analytics information based on user role, ensuring that sensitive data is only viewed by those who need it., , 你正在尋找...。
Google Analytics and Google Tag Manager 》使用 WordPress 外掛輕鬆在網站上部署 Google Analytics,無需進行程式碼編輯,且避免追蹤自己的訪問。您可以排除任何已登入的使用者,僅針對其他訪客進行追...。