這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Quick Code

描述

A very useful utility that allows blog administrators to quickly test code fragments (HTML, CSS, PHP, MySQL). There has been many times that I needed to test bits of code to see exactly what the output would be. For instance, whilst developing a WordPress Plugin, you may need to know what a certain database call will return, or want to know the effect of using a PHP or WordPress function, constant, or object. Simply enter in the required code and the output is displayed!

Usually this meant I had to set-up test ‘echo’ statements and risk this being visible on the main site pages by visitors (which is undersirable on a live site). Now there is a way to quickly test code which is only displayed in the admin area of your blog.

This Plugin can also be used as a simple WYSIWYG HTML/CSS editor, the results of the code are displayed directly above the code input box.

But, that is not all! There are three external files that are automatically included when the Plugin page renders. Two of these are a JavaScript, and CSS file, which are included in the admin head section when the Plugin page loads. This enables you to set-up JavaScript functions, and Style sheets just as you would normally.

You can then copy and paste the code into your own external files (when developing your own Plugins, or creating web pages). The third file contains PHP code that is designed to store PHP functions. This is then automatically included directly before the main code file, so functions can be called directly from the main edit box.

See our other Plugins here.

螢幕截圖

  • Top of Plugin page, showing code output.
  • Main edit box where code can be entered.
  • 'Include' files can be edited, such as JavaScript, CSS, and PHP.

安裝

Instructions for installing the Output Report Plugin.

  1. Download and extract the Plugin zip file.
  2. Upload the folder containing the Plugin files to your WordPress Plugins folder (usually ‘../wp-content/plugins/’).
  3. Activate the Plugin via the ‘Plugins’ menu in WordPress.
  4. Once activated, go to the Plugin page under the ‘Tools’ menu.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Quick Code” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Quick Code 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄