[WordPress] 外掛分享: Custom Code Manager

首頁外掛目錄 › Custom Code Manager
WordPress 外掛 Custom Code Manager 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
70+
安裝啟用
★★★☆☆
3/5 分(2 則評價)
1514 天前
最後更新
0%
問題解決
WordPress 4.9+ PHP 5.6+ v1.18 上架:2019-07-04

內容簡介

一個易於使用且具有直覺接口的 WordPress 外掛,讓您能夠安全且輕鬆地將自定的程式碼(PHP、HTML、CSS、JavaScript等)直接加入 WordPress 網站,而無需使用外部編輯器。

此外掛是您網站的功能性外掛的簡單又完美工具。對於作者和網站所有者而言,這是一個必備的工具。其目的是為 WordPress 用戶提供一個熟悉的體驗。您無需編輯主題或外掛的檔案,即可添加自定義代碼(PHP、HTML、CSS、JavaScript等)。只需在外掛頁面的欄位中添加自定義代碼,此外掛將為您完成其餘操作。它會自動將您的自定義程式碼添加到網站的所需部分,而不會更改任何主題文件,也不會減慢您的網站。

此外掛完全獨立於主題,因此您可以將其用於任何主題上。如果您編輯主題檔案的內容,甚至完全更改主題,此外掛頁面上放置的代碼將不受影響。這在更新主題或外掛時非常有用,因為您的自定義代碼永遠不會被覆蓋。您的自定義代碼將繼續發揮作用,不論您多少次升級或更換主題和外掛。

在外掛頁面上,您將找到由 CodeMirror 提供支援的程式碼編輯器。此程式碼編輯器具有語法突出顯示、行號等選項。如果您需要更多選項,請告訴我們,我們很樂意添加。

特色

輕量且快速
使用清晰的編碼標準編寫安全代碼
直覺接口
跨瀏覽器兼容(在任何現代瀏覽器上運行順暢)
與所有 WordPress 主題兼容
從右至左(RTL)兼容
可分為多種語言

關鍵功能包括

將自定的 PHP/HTML/CSS/JS 代碼插入到網站中
檢查輸入的代碼是否存在嚴重錯誤
方便地禁用 WSOD(白屏)選項
暫時停用所有自定 PHP/CSS 代碼的功能
代碼語法突出顯示
行號
活躍的行高亮顯示
編輯器允許 Tab 縮排
還有更多!

專業版功能包括

CSS 最小化器
管理將 HTML/CSS/JS 代碼加載到 HEAD 或 FOOTER
控制加載 HTML/CSS/JS 代碼的優先順序
通過選擇所需的設置輕鬆自定義代碼編輯器
64 個具有語法突出顯示的主題
工具欄具有有用的按鈕,例如撤消、重做等
能夠使用搜索、替換等快捷鍵(適用於 Mac 和 PC)
無限的片段欄位
自動備份所有片段以供下載的文本檔案
獨立啟用和停用片段
設置頁面上沒有廣告
文檔完備

立即獲取專業版!

支援的語言

PHP
HTML
CSS
JavaScript

翻譯

此外掛已準備好進行翻譯並已翻譯成多種語言。但如果您的語言尚未提供,您可以自行翻譯。現存的翻譯可能並不全部適用或正確,因此歡迎您進行糾正。如果您與社群分享您的翻譯,許多外掛用戶將感到高興。感謝您的貢獻!

外掛標籤

開發者團隊

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

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

原文外掛簡介

An easy to use, with intuitive interface, WordPress plugin that gives you the ability to easily and safely add your custom code (PHP, HTML, CSS, JavaScript, etc.) to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.
This is a simple and perfect tool to use as your website’s functionality plugin. This is a must have tool for authors and website’s owners. Its purpose is to provide a familiar experience to WordPress users. There is no need for any more editing of the files of your theme or plugins for to add custom code (PHP, HTML, CSS, JavaScript, etc.). Just add your custom code in the field on the plugin page and this plugin will do the rest for you. It will automatically add your custom code to the desired section of your website, without changing any of your theme files and without slowing down your website.
The plugin works completely independently of the theme, so you can use it with any theme. The code you place on the plugin page will be entirely unaffected if you edit the contents of the theme’s files, or even completely change the theme. This is really useful in case of updating theme or plugins, because your custom code would never be overwritten. Your custom code will keep on working, no matter how many times you upgrade or switch your theme and plugins.
On the plugin page you find the code editor powered by CodeMirror. This code editor has options such as syntax highlighting, line numbering, and more. And if you want more options, let us know and we will be happy to add them.
Features

Lightweight and fast
Secure code with using clear coding standards
Intuitive interface
Cross browser compatible (work smooth in any modern browser)
Compatible with all WordPress themes
RTL compatible (right to left)
Translation ready

Key features include

Insert custom PHP/HTML/CSS/JS code into the site
Checks the entered code for fatal errors
Easy disable option for WSOD
Ability to temporarily disable all custom PHP/CSS code
Code syntax highlighting
Line numbering
Active line highlighting
Editor allow for Tab indentation
And much, much more!

PRO features include

CSS minifier
Manage which HTML/CSS/JS code load on HEAD or FOOTER
Controlling the priority of loading HTML/CSS/JS code
Ability to easily customize the code editor by selecting the desired settings
64 themes for syntax highlighting
Toolbar with useful buttons, such as Undo, Redo, etc.
Ability to use shortcut keys (both Mac and PC) for Search, Replace, etc.
Unlimited number of fields for snippets
Automatic backup of all snippets to a downloadable text file
Separate activation and deactivation of snippets
No ads on the settings page
Well documented

Get the PRO version now!
Supported languages

PHP
HTML
CSS
JavaScript

Translation
This plugin is ready for translation and has already been translated into several languages. But If your language is not available then you can make one. It is also possible that not all existing translations are up-to-date or correct, so you are welcome to make corrections. Many of plugin users would be delighted if you share your translation with the community. Thanks for your contribution!

English (default)
Russian (translation by Milena Kiseleva)
German (translation by Michael)
Polish (translation by Paweł K.)
Chinese-Taiwan (translation by Gordon Yu)
Spanish (translation by Ramiro Garcés and Patricio Toledo)
Dutch (translation by Peter Leenders)
French (translation by Jean-Michel, Theophil Bethel and Hervé Bouzin)

If you want to help translate this plugin, please visit the translation page.
Minimum system requirements:

WordPress version 4.9 or higher.
PHP version 5.6 or higher.
MySQL version 5.0 or higher.

Recommended system requirements:

WordPress version 5.0 or higher.
PHP version 7.0 or higher.
MySQL version 5.6 or higher.

Contribution
Developing plugins is long and tedious work. If you benefit or enjoy this plugin please take the time to:

Donate to support ongoing development. Your contribution would be greatly appreciated.
Rate and Review this plugin.
Share with us or view the GitHub Repo if you have any ideas or suggestions to make this plugin better.

“Custom Code Manager” is one of the own software projects of Space X-Chimp.
License
This plugin is licensed under the GNU General Public License, version 3 (GPLv3) and is distributed free of charge.
Commercial licensing (e.g. for projects that can’t use an open-source license) is available upon request.
Credits

The icon of this plugin is a copyrighted image created by the Space X-Chimp team. (C) All rights reserved.
The banner of this plugin is a copyrighted image created by the Space X-Chimp team. (C) All rights reserved.
Unless otherwise stated, all images are created by the Space X-Chimp team and are copyrighted. (C) All rights reserved.
CodeMirror is an open-source project shared under the MIT license.
Bootstrap by Twitter, Inc. released under the MIT license.
Bootstrap-checkbox is a project of Vasily A., shared under the MIT license.
Font Awesome is an open source-project created by Dave Gandy. Font released under the SIL OFL 1.1 license. Code released under the MIT License.

Links

Developer website
Dedicated plugin page on GitHub
Dedicated plugin page on WordPress.org
Premium Version

延伸相關外掛

文章
Filter
Apply Filters
Mastodon