Title: Meta Shortcode
Author: Ryan
Published: <strong>2012 年 11 月 3 日</strong>
Last modified: 2012 年 11 月 3 日

---

搜索插件

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

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

# Meta Shortcode

 作者：[Ryan](https://profiles.wordpress.org/ryannutt/)

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

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

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

## 描述

The Meta Shortcode plugin allows you to easily insert meta values into your posts
or pages without having to edit a theme file.

Rather than having to use get_post_meta inside of your theme files or another plugin,
you can just use the shortcode [ metafield ].

For more info, you can visit [my website](http://www.nutt.net/tag/meta-shortcode/).

## 安装

Upload the folder inside the zip to your /wp-content/plugins/ folder or, better,
use the plugin pages inside WordPress.

**Usage**

Insert the shortcode [ metafield ] where you want your info to show up.

You can use the following options.

 * `field` The meta field to display. This is the only required attribute.
 * `sorted` If there are multiple values in the meta field, setting this to true
   will sort them alphabetically prior to output. If false, or left empty, then 
   they will be output in the order entered in WordPress.
 * `before` Any text or HTML to display before the meta field information. Defaults
   to blank if there is only one record and <ul> if there are multiple meta records.
 * `after` Text or HTML to display after the meta field info. Same as `before` for
   defaults.
 * `empty` Text or HTML to display if the meta field isn’t found. Defaults to empty
   which means that nothing is displayed if the meta isn’t available.

## 常见问题

New plugin, no FAQs yet.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Ryan ](https://profiles.wordpress.org/ryannutt/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 0.1

 * Initial release

## 额外信息

 *  版本 **0.1**
 *  最后更新：**14 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.5 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/meta-shortcode/)
 * 标签
 * [meta](https://cn.wordpress.org/plugins/tags/meta/)[page](https://cn.wordpress.org/plugins/tags/page/)
   [post](https://cn.wordpress.org/plugins/tags/post/)
 *  [高级视图](https://cn.wordpress.org/plugins/meta-shortcode/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/meta-shortcode/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/meta-shortcode/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/meta-shortcode/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/meta-shortcode/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/meta-shortcode/reviews/?filter=1)

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

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

## 贡献者

 *   [ Ryan ](https://profiles.wordpress.org/ryannutt/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://www.nutt.net/donate/)