该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.

评价

此插件暂无评价。

贡献者及开发者

“Quick Code” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Quick Code”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志