Описание
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.
Установка
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.
fieldThe meta field to display. This is the only required attribute.sortedIf 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.beforeAny 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.afterText or HTML to display after the meta field info. Same asbeforefor defaults.emptyText 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» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «Meta Shortcode» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
0.1
- Initial release