Linux 软件免费装
Banner图

CSS & JavaScript Toolbox

开发者 wipeoutmedia
更新时间 2025年9月28日 23:18
捐献地址: 去捐款
PHP版本: 7.4.0 及以上
WordPress版本: 6.6
版权: GPLv2 or later
版权网址: 版权信息

标签

javascript php snippets code scripts

下载

6.0.11 6.0.13 6.0.14 6.0.15 6.0.6 6.0.7 6.1.1 6.1.2 6.1.3 6.1.5 7.1.1 7.1.2 8.0.1 8.0.2 8.0.3 8.0.4 8.2 8.3 8.3.1 8.3.2 8.4.1 8.4.2 9.0 9.4 11.6 12.0.1 11.8 11.5 12.0.3 9.2 9.3 11.3 6.0.12 8.1 9.3.1 0.8 10 8.4 6.1.4 7.2 8.0 10.1 11.7 12.0.4 6.0 6.0.9 6.1 7.1 11 11.2 11.4 11.9 11.9.1 12 0.3 12.0

详情介绍:

CSS & JavaScript Toolbox (or CJT) is a WordPress plugin that allows you to safely add CSS, JavaScript, PHP or HTML to unique code blocks that can be run anywhere on your website. IDEAL FOR: It was designed for super-fast development without any cumbersome page refreshing. Create as many code blocks as you need and see all of your code and locations in the one dashboard. Don't worry, CJT has been optimised to handle 100's of code blocks and thousands of locations (i.e. Pages, Posts, Categories, Custom Posts, etc). Click for CSS & JavaScript Toolbox PLUS FEATURES: OVERVIEW VIDEO https://www.youtube.com/watch?v=vYAKePVgJqE

安装:

  1. If you're upgrading from older versions its highly recommended to backup your database before upgrading.
  2. Upload the 'css-javascript-toolbox' folder to the '/wp-content/plugins/' directory
  3. 通过 WordPress 的“插件”菜单激活插件
  4. Click 'CSS & JavaScript Toolbox' link in the main navigation (left side of your Dashboard).

屏幕截图:

  • Code Block Assignment Panel
  • CJT Main Admin Toolbar
  • Code Block Toolbar
  • Code Block Editor Tools
  • Assignment Panel for Pages
  • Assignment Panel for Posts
  • Assignment Panel for Categories
  • Assignment Panel for Custom Posts
  • Assignment Panel for Auxiliary Assignments
  • Assignment Panel for Tags
  • Assignment Panel for Advanced Assignments
  • Assignment Panel Inverter
  • Code Block Information

升级注意事项:

11.5
  • Compatibility: PHP version 8+
  • Compatibility: MySQL version 8+
  • Fix: Duplicate ID issue, which on rare occasions was fetching the 'revision block' ID for a newly created block causing an error for duplicate entry
  • Enhancement: If the 'wp-content' directory is renamed to something different (e.g. 'content'), CJT will now find any custom content directories and install correctly

常见问题:

Why was the CJT plugin developed and what is it used for?

The CJT plugin was created to help website authors write or add their own code. The plugin allows you to contribute to your Wordpress installation code via a simple web interface, where you can modify and extend the functionality and appearance of your website by writing code directly into CJT code blocks. Some typical examples can include changing the look of a specific page by adding some CSS code; adding functionality to a page with PHP; or making a page more interactive by adding some JavaScript.

What is a CJT 'code block'?

The CJT code block is the most fundamental unit for writing code and to associate it with specific Wordpress requests via the assignment panel.

What is the assignment panel?

The assignment panel is a tabs window, which appears on the right side of the code block editor and is used to assign/apply the code block into specific requests. These assignments include: Pages, Posts, Custom Posts, Tags, and Categories. Auxiliary sections such as Entire Website, Website Backend, All Pages, All Posts, Recent Posts, Blog Index, All Categories, Search Pages, All Archives, Tag Archives, Author Archives, Attachment Pages, 404 Error Pages. Advanced sections such as URLs, or Regular Expressions (Regex).

I have noticed a bunch of question marks appear during mouse hover - what are they?

These are premium features, which are only available for our CJT PLUS plugin. Click here to purchase a license for any of our premium CJT PLUS products.

Can you select more than one item from the assignment panel?

Yes. You can select any number of items you need, there is no limitation regarding this.

Can you assign multiple blocks to the same items from the assignment panel?

Yes. It's one of the most useful features that CJT supports as it allows you to manage/split your codes into several code blocks, allowing you to override code in a former (or lower-ordered) code block.

What is Pages, Posts, Categories and Custom Posts tabs?

These lists with checkboxes represent all of your WordPress Pages, Posts, Categories and Custom Posts that your entire website contains. It also supports sub-pages and sub-categories, which you will find in there.

What is the Auxiliary tab?

As there are a number of requests that are not available as normal Wordpress items (e.g. Pages, Posts, etc) but since it's commonly required and most likely to be used, you will find them pre-defined in the Auxiliary tab. In the Auxiliary tab you can find things like: Entire Website, Blog Index, Author, 404 error, Front-end, Admin backend and much more!

Is it better to use the URLs tab, or select items if found through other tabs?

Pages, Posts, Custom Posts and Categories tabs are created to simplify the assignment process for all types of users. Using URLs is great for fast performance as it requires less time to evaluate/identify the request! However, not all things can be done through the URLs tab. For example, applying a single block to a Category index page and all its sub-categories.

What is the Advanced Expressions tab?

The Advanced Expression tab allows you to fully control what requests to integrate into the code block by using Regular Expressions. In other words, allowing CJT users to define more requests to assign the code block to.

Can I move the blocks around?

Yes by hovering your mouse cursor over the code block title bar until it turns into a four-sided arrow, this allow you to move the blocks. Clicking the block title bar allows you to open and close the blocks.

Is a code block saved after I click 'Create' in 'Create New Code Block' form?

Yes. The block is created and saved in your database. In order to discard the block, you have to delete it, then click the 'Save All Changes' button.

After shuffling the order of the code blocks using drag-and-drop, is the new code block order immediately saved?

No. In order to save the code blocks order, you need to click the 'Save All Changes' button.

Is a code block permanently deleted from the blocks list page after a code block delete icon is clicked?

No. After you delete a code block, you then need to click the 'Save All Changes' button.

I'm using the URLs tab and my code is not working?

Make sure you have copied and pasted the Page, Post, or Category URL exactly as it appears in the browser address bar. For example, you may have inadvertently included an extra forward slash at the end of your URL.

Why use the Hook switch in the code block bar?

The hook location feature gives you further control over the outputting of your CSS and JavaScript code. This is useful in case overriding another plugins' CSS code is required. Also, it's sometimes better to put your JavaScript code in the footer to avoid slowing down your page load.

I received a weird error, what do I do now?

Due to the overwhelming amount of emails we get for users requesting support for our CJT plugins, we cannot provide support for the CJT Free plugin (hosted here on WordPress.org) at this stage unfortunately. If you wish to receive priority support, please visit our CJT website and then purchase a license for any of our premium CJT PLUS products.

更新日志:

12.0.4 12.0.3 12.0.2 12.0.1 12.0 11.9.1 11.9 11.8 11.7 11.6 11.5 11.4 11.3 11.2 11.0 10.0 9.4 9.3 9.2 9.0 8.4.2 8.4.1 8.4 8.3.2 8.3.1 8.3 8.2 8.1 8.0.4 8.0.3 8.0.2 8.0.1 8.0 7.2 7.1.2 7.1.1 7.1 6.1.5 6.1.4 6.1.3 6.1.2 6.1.1 6.1 6.0.15 6.0.14 6.0.13 6.0.12 6.0.11 6.0.9 6.0.7 6.0.6 6.0 0.8 0.3