Title: Literal Shortcode
Author: Luke Mlsna
Published: <strong>2012 年 4 月 3 日</strong>
Last modified: 2013 年 1 月 1 日

---

搜索插件

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

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

# Literal Shortcode

 作者：[Luke Mlsna](https://profiles.wordpress.org/bitacre/)

[下载](https://downloads.wordpress.org/plugin/literal-shortcode.1.0.0.zip)

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

 [支持](https://wordpress.org/support/plugin/literal-shortcode/)

## 描述

A shortcode used to display other shortcodes, html tags, and ascii characters without
having them reverted by the WYSIWYG editor. Does [ ], < >, and custom chr codes 
with several easy to remember shortcodes for each.

### Readme Generator

 * This plugin’s readme.txt file was generated by the [bitacre Readme Generator](http://shinraholdings.com/project/readme-gen)
   for WordPress Plugins.

### Support

 * [Plugin Homepage](http://shinraholdings.com/plugins/literal-shortcode)
 * [plugins@shinraholdings.com](https://cn.wordpress.org/plugins/literal-shortcode/plugins@shinraholdings.com?output_format=md)

### Donations

[Donations](http://shinraholdings.com/donate) are graciously accepted to support
the continued development and maintenance of this and other plugins. We currently
accept Paypal and kind words.

## 屏幕截图

[⌊It's a shortcode, you can't really do it justice with a screenshot, so here's 
a picture of Maru the cat.⌉⌊It's a shortcode, you can't really do it justice with
a screenshot, so here's a picture of Maru the cat.⌉[

It’s a shortcode, you can’t really do it justice with a screenshot, so here’s a 
picture of Maru the cat.

## 安装

 1. Download the latest zip file and extract the `literal-shortcode` directory.
 2. Upload this directory inside your `/wp-content/plugins/` directory.
 3. Activate ‘Literal Shortcode’ on the ‘Plugins’ menu in WordPress.
 4. Insert the shortcode in a post or page (replacing category-slug with an acutal 
    slug name) to return the number of posts in that category.

## 常见问题

  How do I add this into my posts?

To display the shortcode `[gallery]` without invoking it, you would type [brace]
gallery[/brace].

If you need opening AND closing shortcodes, you’ll have to do it twice. So, to display`[
flv]uploads/maru.flv[/flv]` without invoking it, you would type [brace]/flv[/brace]
uploads/maru.flv[brace]flv[/brace].

To display the html tag `<div>` without invoking it, you would type [arrow]div[/
arrow].

To insert a custom ascii character, you would type [chr num=”##”] where ## is the
character code you want to print.

  Why did you make this?

I have a WordPress blog about WordPress stuff (very meta), so it’s helpful to be
able to display code like this without having it executed, or reverted by the editor.

  Can I change the shortcode?

Yes, just open `literal-shortcode.php` and add or change what text you want to trigger
the shortcode in on of the arrays near the bottom. If this gets any kind of popularity,
I’ll make that easier by adding an options page.

  Can you add this feature I just thought of?

Can I? Yes. Will I? Yes, if I think it would be a helpful addition. I’m trying to
keep things clean and simple, but there’s always room for improvement, so let me
know if you think a feature is lacking!

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Luke Mlsna ](https://profiles.wordpress.org/bitacre/)

[帮助将「Literal Shortcode」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/literal-shortcode)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

 * First released version.
 * There may still be bugs, but I can’t find any.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**13 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.8 或更高版本 **
 *  已测试的最高版本为 **3.5.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/literal-shortcode/)
 * 标签
 * [bracket](https://cn.wordpress.org/plugins/tags/bracket/)[display](https://cn.wordpress.org/plugins/tags/display/)
   [echo](https://cn.wordpress.org/plugins/tags/echo/)[shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
   [tag](https://cn.wordpress.org/plugins/tags/tag/)
 *  [高级视图](https://cn.wordpress.org/plugins/literal-shortcode/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Luke Mlsna ](https://profiles.wordpress.org/bitacre/)

## 支持

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

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

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://shinraholdings.com/donate)