Allows admin users to test code such as HTML, CSS, PHP, and MySQL, in the admin area. Output is displayed directly above the entered code.
Author: | David Gwyer (profile at wordpress.org) |
WordPress version required: | 2.6 |
WordPress version tested: | 2.7.1 |
Plugin version: | 1.0 |
Added to WordPress repository: | 26-03-2009 |
Last updated: | 26-03-2009
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://gwycon.com/quick-code/ |
Total downloads: | 2 469 |
Active installs: | 10+ |
![]() Click to start download |
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.
Screenshots