Custom Shortcodes

Custom Shortcodes

marapper

Manage custom fields using the insert shortcodes [custom name=”field-name” value=”field-value“] or HTML conditional comments <!–custom name=”field-name” value=”field-value“–> in text of post. It’s a hook for desktop blog clients, which don’t support customfields natively.

Простой хак Вордпресса, позволяющий управлять произвольными полями из любого внешнего клиента или при отправке через почту с помощью шорткодов [custom name=”имя-произвольного-поля” value=”значение“] или условных комментариев <!–custom name=”имя-произвольного-поля” value=”значение“–> прямо в тексте поста.

  1. Upload custom-shortcodes.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Reviews

5 out of 5 stars

  • Version: 1.0
  • Last updated: 15 years ago
  • Active installations: 3K
  • WordPress version: 2.0.2
  • Tested up to: 2.7
  • PHP version: false