Plugin nebyl testován na 3 nejnovějších verzích WordPressu. Nemusí už být tedy podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může být nestabilní.

Shortcodes

Popis

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

Instalace

  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!

Nejčastější dotazy

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!

Recenze

Pro tento plugin nejsou žádné recenze.

Autoři

Shortcodes je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.

Spolupracovníci

Přeložte “Shortcodes” do svého jazyka.

Zajímá vás vývoj?

Prohledejte kód, podívejte se do SVN repozitáře, nebo se přihlaste k odběru protokolu vývoje pomocí RSS.

Přehled změn

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.