這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Shortcode Datastore

外掛說明

A WordPress plugin that allows for flexible text or HTML to be bound to shortcodes that can be inserted into pages, posts, or templates. This allows for the same text/HTML to be inserted in multiple places and then managed from one dashboard.

Usage

  • Activating the plugin creates a new plugin menu option in the left sidebar of the WordPress admin dashboard titled “Shortcode Datastore”.
  • Clicking the “Shortcode Datastore” button will open the plugin dashboard which will display a list of the currently available shortcodes.
    • Clicking the “Add Shortcode” button will open a new editing window to create a shortcode.
      • The key selected for the new shortcode must be unique (cannot be used for another shortcode).
      • By default, keys are converted to lower case and spaces are replaced with underscores.
      • The shortcode value can be entered in the standard WordPress editor either as text or HTML. This value is what will be displayed when the shortcode is used on the site.
    • The shortcode table displays the existing shortcode entries.
      • Clicking the “Edit” button for a row will open an edit window where the shortcode value can be modified.
      • Clicking the “Delete” button for a row will remove the shortcode key and value.
      • The shortcode itself can be copied from the input field and inserted into a page, post, or template (anywhere standard WordPress shortcodes work).
      • Replacement variables are a way to add dynamic content to your shortcodes. Replacement variables follow the format of %NAME%, with the value being replaced at render time. The replacement variables currently supported are:
        • %YEAR%: Replaced with the current four character year value.
  • Shortcode Datastore also works with WordPress multisite installations. Shortcodes can be created and accessed from any subsite where the plugin is enabled (network activation is recommended).

安裝方式

  • Option 1: Download the plugin zip directly from the WordPress plugin repository here (https://wordpress.org/plugins/shortcode-datastore/). You can then upload the zip file to the plugins directory of your WordPress installation and activate it from the plugin menu.
  • Option 2: Select “Add New” from under “Plugins” on the left sidebar of the WordPress admin dashboard and then search for “Shortcode Datastore” in the search field.
  • Following installation, the plugin must be activated from the “Plugins” page on the WordPress admin dashboard.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Shortcode Datastore〉的開發相關工作。

參與者

〈Shortcode Datastore〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Shortcode Datastore〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄