Title: Program Output
Author: Vicky Agravat
Published: <strong>2017 年 8 月 1 日</strong>
Last modified: 2024 年 3 月 27 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/program-output.svg)

# Program Output

 作者：[Vicky Agravat](https://profiles.wordpress.org/vickyagravat/)

[下载](https://downloads.wordpress.org/plugin/program-output.1.1.1.zip)

 * [详情](https://cn.wordpress.org/plugins/program-output/#description)
 * [评价](https://cn.wordpress.org/plugins/program-output/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/program-output/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/program-output/#developers)

 [支持](https://wordpress.org/support/plugin/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.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Program Output」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Vicky Agravat ](https://profiles.wordpress.org/vickyagravat/)

[帮助将「Program Output」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/program-output)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/program-output/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/program-output/)，或通过[RSS](https://plugins.trac.wordpress.org/log/program-output/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/program-output/)。

## 更新日志

#### 1.0

 * Created A New Plugin.
 * No change.

## 额外信息

 *  版本 **1.1.1**
 *  最后更新：**2 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.5 或更高版本 **
 *  已测试的最高版本为 **6.4.8**
 *  语言
 * [English (US)](https://wordpress.org/plugins/program-output/)
 * 标签
 * [code](https://cn.wordpress.org/plugins/tags/code/)[output](https://cn.wordpress.org/plugins/tags/output/)
   [programs](https://cn.wordpress.org/plugins/tags/programs/)
 *  [高级视图](https://cn.wordpress.org/plugins/program-output/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/program-output/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/program-output/reviews/)

## 贡献者

 *   [ Vicky Agravat ](https://profiles.wordpress.org/vickyagravat/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/program-output/)