Linux 软件免费装
Banner图

Custom JS

开发者 seosbg
更新时间 2026年11月13日 01:30
捐献地址: 去捐款
PHP版本: 5.6 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

javascript analytics snippets custom js header footer code

下载

2.0.0

详情介绍:

Custom JS lets you add JavaScript (analytics, tag managers, chat widgets, pixels, your own scripts) to WordPress without editing theme files. Features Free WordPress Themes by SEOS Themes Custom JS is made by SEOS Themes – the team behind high quality, HTML5, responsive and mobile friendly WordPress themes, downloaded more than 2,000,000 times. Blog, news & magazine, online shop, business, real estate, restaurant, photography, music, portfolio and many more – most of them completely free. Browse all themes at seosthemes.com

安装:

Install via Plugins > Install New
  1. Search for "Custom JS"
  2. Click the "Install Now" link
  3. Click "Activate Plugin"
Via ZIP / FTP
  1. Unzip the ZIP file and drop the folder straight into your wp-content/plugins directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.

升级注意事项:

2.0.0 Big update: snippets, conditions, code editor, revisions, import/export and safe mode. Your existing code is kept and works exactly as before. 1.0 Initial Release

常见问题:

I am updating from 1.0 – will my code still work?

Yes. Your existing Head and Footer code is kept in the same place and printed exactly as before (Auto-wrap is left off for upgraded sites). The admin page keeps the same address.

Do I need to add tags?

On new installs, no – plain JavaScript is wrapped automatically. Code that already contains HTML tags is printed as is.

My JavaScript broke the site / dashboard. What do I do?

Open any page with ?cjs_safe_mode=1 at the end of the URL while logged in, or add define( 'CJS_SAFE_MODE', true ); to wp-config.php. Then fix or restore the code from Revisions.

Is there a tutorial?

See the Tutorial

更新日志:

2.0.0 1.0