[WordPress] 外掛分享: Custom Code Manager

WordPress 外掛 Custom Code Manager 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Custom Code Manager」是 2019-07-04 上架。 目前已經下架不再更新,不建議安裝使用。
  • 目前有 70 個安裝啟用數。
  • 上一次更新是 2022-01-24,距離現在已有 1194 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.9 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
  • 有 2 人給過評分。
  • 論壇上目前有 1 個提問,問題解答率 0%

外掛協作開發者

arthur-gareginyan |

外掛標籤

code | script | snippet | function | inject code |

內容簡介

一個易於使用且具有直覺接口的 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

翻譯

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

原文外掛簡介

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

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Custom Code Manager」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 1.7 | 1.8 | 1.9 | 1.10 | 1.11 | 1.12 | 1.13 | 1.14 | 1.15 | 1.16 | 1.17 | 1.18 | 1.4.1 | trunk | 1.13.1 |

延伸相關外掛(你可能也想知道)

  • Head & Footer Code 》Head & Footer Code 插件可以讓你在不是開發人員的情況下,添加自定義代碼片段(JavaScript、CSS 或 HTML)到網頁中。您可以將代碼放置在 (...。
  • LuckyWP Scripts Control 》「LuckyWP Scripts Control」外掛允許您將自訂代碼插入和管理網站。例如,您可以插入 Google Analytics 代碼、Google Search Console 驗證元標記、Facebook ...。
  • Unfiltered MU 》Unfiltered MU 提供給管理者和編輯者 unfiltered_html 功能。這可避免 WordPress MU/WordPress 3.0 多站點從這些使用者的文章中刪除