Shortcodes

Shortcodes Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 1,679 downloads
Shortcodes Icon

Try plugin: Shortcodes

We'll create fresh WordPress site with Shortcodes installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Shortcodes

Shortcodes plugin will helps to get option, post meta and other core data using shortcode.

0


0


0


0


0

updated: 7 years ago
since: 7 years ago
author: Dinesh Chouhan

Description

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].