Title: Shortcodes
Author: Dinesh Chouhan
Published: <strong>2017 年 9 月 26 日</strong>
Last modified: 2017 年 10 月 5 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/bkc-wp-shortcodes.svg)

# Shortcodes

 作者：[Dinesh Chouhan](https://profiles.wordpress.org/dineshc/)

[下载](https://downloads.wordpress.org/plugin/bkc-wp-shortcodes.zip)

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

 [支持](https://wordpress.org/support/plugin/bkc-wp-shortcodes/)

## 描述

Shortcodes providing WordPress core shortcode for get option, get post meta, get
custom post meta and other WordPress data using shortcode.
 Shortcodes:

 1. [wp_get_option]
     Ex. [wp_get_option option=’blogname’]
 2. [wp_get_post_meta]
     Ex. [wp_get_post_meta key=’your-meta-field’ single=true]
 3. [wp_get_metadata]
     Ex. [wp_get_metadata meta_type=’comment’ meta_key=’your-meta-
    field’ single=true]
 4. [wp_get_the_thumbnail]
     Ex. [wp_get_the_thumbnail]
 5. Use of shortcode as parameter of another shortcode.
     Ex. [wp_get_the_post_thumbnail
    post={{wp_get_the_ID}} size=”medium” ] “wp_get_the_ID” is a shortcode to get current
    post id which is is passed to post parameter of “wp_get_the_post_thumbnail” shortcode.
    To pass shortcode as parameter value you need to use {{shortcode}} syntax instead
    of [shortcode].

## 安装

 1. Install either via the WordPress.org plugin directory, or by uploading the files
    to your server.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Once the plugin is activated you can use any wordpress core shortcode anywhere 
    in your text.
 4. Easy and useful. Enjoy!

## 常见问题

  Installation Instructions

 1. Install either via the WordPress.org plugin directory, or by uploading the files
    to your server.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Once the plugin is activated you can use any wordpress core shortcode anywhere 
    in your text.
 4. Easy and useful. Enjoy!

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Dinesh Chouhan ](https://profiles.wordpress.org/dineshc/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

 * Initial release.

#### 1.0.1

 * Shortcodes generator array updated.

#### 1.0.2

 * Added support for shortcode as parameter of another shortcode.

#### 1.0.3

 * Added support for PHP version older then 5.6.

#### 1.0.4

 * Removed notice for PHP older version.

## 额外信息

 *  版本 **1.0.4**
 *  最后更新：**9 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3 或更高版本 **
 *  已测试的最高版本为 **4.8.28**
 *  语言
 * [English (US)](https://wordpress.org/plugins/bkc-wp-shortcodes/)
 * 标签
 * [Wordpress Shortcodes](https://cn.wordpress.org/plugins/tags/wordpress-shortcodes/)
   [wp shortcodes](https://cn.wordpress.org/plugins/tags/wp-shortcodes/)
 *  [高级视图](https://cn.wordpress.org/plugins/bkc-wp-shortcodes/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/bkc-wp-shortcodes/reviews/#new-post)

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

## 贡献者

 *   [ Dinesh Chouhan ](https://profiles.wordpress.org/dineshc/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/bkc-wp-shortcodes/)

## 捐助

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

 [ 捐助此插件 ](https://www.paypal.me/dcmayankavi)