plugin-icon

Lightweight JS Snippet

제작자: Jonas Hjalmarsson·
Add a small inline JavaScript snippet to one or more specific posts or pages, by post ID. No bloat, no front-end editor.
버전
1.4.1
최근 업데이트일
May 4, 2026
Lightweight JS Snippet

A minimal way to inject a single inline JavaScript snippet into the <head> 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 <script> tags — those are added for you) and a comma-separated list of post IDs to load it on.

무료유료 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.9.4
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.