[WordPress] 外掛分享: Shortcode Datastore

前言介紹

  • 這款 WordPress 外掛「Shortcode Datastore」是 2020-02-08 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2022-05-28,距離現在已有 1369 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.2.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

azumbro |

外掛標籤

datastore | shortcode | variables |

內容簡介

這是一個 WordPress 外掛,可讓您靈活地將文字或 HTML 綁定到短代碼,然後將其插入到頁面、文章或範本中。這樣可以將相同的文字/HTML 插入到多個位置,然後從一個儀表板進行管理。

使用方式

啟用外掛後,在 WordPress 管理員儀表板的左側側邊欄中會出現一個名為 “Shortcode Datastore” 的新外掛選項。
單擊 “Shortcode Datastore” 按鈕將打開外掛儀表板,其中顯示當前可用的短代碼列表。

單擊 “新增短代碼” 按鈕將打開一個新的編輯窗口以創建短代碼。

所選的新短代碼鍵必須是唯一的(不能用於另一個短代碼)。
默認情況下,鍵會轉換為小寫字母,空格則會替換為下劃線。
短代碼值可以在標准的 WordPress 編輯器中以文本或 HTML 的形式輸入。當使用短代碼時,這個值會顯示在網站上。

短代碼表顯示現有的短代碼條目。

單擊行的 “編輯” 按鈕會打開一個編輯窗口,可以修改短代碼值。
單擊行的 “刪除” 按鈕會刪除短代碼鍵和值。
短代碼本身可以從輸入欄中複製並插入到頁面、文章或範本中(任何標准 WordPress 短代碼支援的地方)。
替換變數是一種向您的短代碼添加動態內容的方式。替換變數的格式為 %名稱%,值會在呈現時被替換。目前支援的替換變數有:

%YEAR%:會被當前的四位數年份值替換。

Shortcode Datastore 也可用於 WordPress 多站點安裝。可以在啟用了該外掛的任何子站點中創建和訪問短代碼(建議網路啟用外掛)。

原文外掛簡介

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

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Shortcode Datastore」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.1.0 | 1.1.1 | 1.1.2 | 1.2.0 | trunk |

延伸相關外掛(你可能也想知道)

  • Custom Global Variables 》使用此 WordPress 外掛可以建立自己的自訂變數,管理網站上的資訊,例如:, , 電話號碼, 地址, 社交媒體連結, HTML 片段, 以及其他任何資訊, , 可以輕鬆地在 ...。
  • Just Variables 》這個外掛讓你可以創建單/多行的簡單文本變數,並在主題模板中使用它們。, 一旦你添加了至少一個變數,就會在外觀菜單下出現一個名為「主題變數(Theme Variab...。
  • Sip Advanced Email Notification For WC Free 》有了進階條件篩選功能,您終於可以依據更精確的標準,向特定的客戶發送郵件,永遠不必再手動寄發郵件!, 建立郵件輕而易舉。從 WordPress 選單中,前往 SIP P...。
  • bidorbuy Store Integrator 》您正在尋找適合電子商務業務的新地方嗎?, 使用免費的 bidorbuy 商店整合器開始在線銷售。讓您的產品展示給 bidorbuy 觀眾——南非其中一個最大的網上購物人群...。
  • Global Content by BusinessBox 》Global Content by BusinessBox 可讓您在一處定義網站各處均會使用的內容。, 因此,它可避免多次撰寫一些難以維護的文本。, 每個全域變數中可以放置純文本以...。
  • Template Dictionary 》Template Dictionary 是一個外掛,可用於創建由管理員編輯的模板變數。, 這個外掛支援多語言,包含 Polylang 整合,也可以透過過濾器整合其他多語言外掛。, ...。
  • Mindvalley Post & Get Variables 》使用短碼來輸出 $_POST 或者 $_GET 變數值。, 在追蹤電子商務感謝頁面上的腳本方面非常有用。, 舉例來說:, , $_POST['email'] > [post_var name=”e...。
  • ACTUS Xfields 》新增網站上的自訂資料。, , 為您的網頁和文章創建自訂欄位,或者為您的網站設置全局選項。, ACTUS Xfields 可幫助您創建任何類型的欄位集並將它們指定給頁面...。
  • Snippets SE 》Snippets SE 是一款 WordPress 外掛,允許您創建變數,這些變數在您的網站上會呈現不同的文字。您可以使用 "{{phone}}" 來顯示公司的電話號碼,僅需在 1 個地...。
  • Mountee 》使用您喜愛的工具, 每個人都有自己喜歡的 Mac 應用程式,那為什麼要被限制在 WordPress 瀏覽器視窗內創建模板呢?Mountee 讓您可以將模板作為 Finder 檔案進...。

文章
Filter
Apply Filters
Mastodon