[WordPress] 外掛分享: Lightweight JS Snippet

首頁外掛目錄 › Lightweight JS Snippet
WordPress 外掛 Lightweight JS Snippet 的封面圖片
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.4.1 上架:2022-09-08

內容簡介

前往設定並新增 JavaScript 代碼,選擇頁面並儲存。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Lightweight JS Snippet」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

A minimal way to inject a single inline JavaScript snippet into the of one or more specific posts, pages or products. You give it a comma-separated list of post IDs and the JS body — that is the entire surface area.
The point is the absence of features. There is no per-post UI, no script library, no CDN selector, no “fire on event” toggle. If all you need is to drop a tracking pixel or a tiny script on three specific pages, you do not want a 2 MB plugin that wants to manage your whole site.
Set it up under Settings → Lightweight JS snippet. The page provides a textarea for the JS (no

文章
Filter
Apply Filters
Mastodon