Описание
Shortcodes providing WordPress core shortcode for get option, get post meta, get custom post meta and other WordPress data using shortcode.
Shortcodes:
-
[wp_get_option]
Ex. [wp_get_option option=’blogname’] -
[wp_get_post_meta]
Ex. [wp_get_post_meta key=’your-meta-field’ single=true] -
[wp_get_metadata]
Ex. [wp_get_metadata meta_type=’comment’ meta_key=’your-meta-field’ single=true] -
[wp_get_the_thumbnail]
Ex. [wp_get_the_thumbnail] -
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].
Установка
- Install either via the WordPress.org plugin directory, or by uploading the files to your server.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Once the plugin is activated you can use any wordpress core shortcode anywhere in your text.
- Easy and useful. Enjoy!
Часто задаваемые вопросы
- Installation Instructions
-
- Install either via the WordPress.org plugin directory, or by uploading the files to your server.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Once the plugin is activated you can use any wordpress core shortcode anywhere in your text.
- Easy and useful. Enjoy!
Отзывы
Нет отзывов об этом плагине.
Участники и разработчики
«Shortcodes» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «Shortcodes» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
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.