
內容簡介
CustomEasy 是一款輕量級的外掛,讓使用者能夠在網站的 <head> 或 </body> 結尾處插入自訂程式碼,而無需編輯佈景主題檔案。適合用於分析追蹤、CSS、JavaScript 和驗證標籤等需求。
【主要功能】
• 在網站的 head 和 footer 中添加程式碼
• 支援全站程式碼,應用於每個頁面
• 每頁程式碼:在每個公開文章類型中提供 metabox
• 內建 CodeMirror 編輯器,支援語法高亮
• 兼容區塊編輯器和經典編輯器
• 無額外負擔,無前端腳本或樣式
外掛標籤
開發者團隊
原文外掛簡介
CustomEasy is a tiny, lightweight plugin to insert your own code in the
or before the closing of your website, without editing theme files.Use it for analytics and tracking snippets, custom CSS, JavaScript and jQuery, verification tags, pixels and any other code you need on your pages.
Features
Add code to the website head and footer
Global code, applied to every page of the site
Per-page code: a metabox is available in every public post type (posts, pages and custom post types)
Syntax highlighting with the CodeMirror editor bundled with WordPress
Works with both the block editor and the classic editor
No bloat: no front-end scripts or styles of its own
How code is inserted
Head code is printed through the wp_head hook, footer code through wp_footer. Your theme must call both hooks, as every properly built theme does.
Security note
Custom code is output as-is on the public website. Only grant access to trusted users with the required capabilities.
