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

Program Output

描述

This Plugin is useful for developers blog, tutorial site where to display formatted output of any program, like C, C++, JAVA, VB, C#, JSP, ASP, PHP, HTML etc.
The output is purely created using CSS so it is responsive, and display perfectly on any browser.
It use shortcode to display output. Just add [output] Hello World! [/output] to your Post or Page.

螢幕截圖

  • This is Console (CMD) Output. Useful for Command Line Output such as C, C++, JAVA etc.
  • This is Browser Output. Useful for Web Languages such as ASP, PHP, JSP, HTML, JS, CSS etc.

安裝

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Plugin Name screen to configure the plugin
  4. (Make your instructions match the desired user flow for activating and installing your plugin. Include any steps that might be needed for explanatory purposes)

常見問題

How to use Shortcodes?

Just add [output] Text to Display [/output] to your Post or Page.

How to use Shortcodes with Parameters?

This plug-in accepts three parameters with Shortcodes. 1) type 2) title 3) header all three are optional.

How to use “type” Parameters with Shortcodes?

Just add type with value in starting shortcode. For Example [output type=”browser”] Here browser is value of type.
Currently this plug-in supports two values of type, 1) cmd 2) browser.
If you not provide any type it will use cmd as by default type.

How to use “title” Parameters with Shortcodes?

Just add title with value in starting shortcode. For Example [output type=”browser” title=”Any thing you display in Title bar”].
The value of title is display on Title Bar of browser output. The title is only work with type=”browser”
If title is not specified in Shortcode, This Plug-in display New Tab on Title Bar of browser output by default.
The cmd is not support title parameter, as it only display Command Prompt on cmd Title Bar.

How to use “header” Parameters with Shortcodes?

This Plug-in is display Output: before it prints actual output.
If you have to change text of Output:, Just add header with value in starting shortcode.
For Example [output header=”Result:]”. It will display Result: before prints actual output.
If don’t want to display any header, Just add header with blank value in starting shortcode.
For Example [output header=””]. It will not display any header before prints actual output.

評價

There are no reviews for this plugin.

貢獻者及開發者

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

貢獻者

將 Program Output 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0

  • Created A New Plugin.
  • No change.