內容簡介
DCO Shortcodes Menu 可以讓您使用視覺介面在編輯器中新增所有的短碼到選單中。
如果您的短碼具有屬性或僅適用於特定的文章類型,您可以在短碼編輯頁面上設定它們。
支援的屬性:文字方塊、文字區域、下拉式選單、色彩選取器和自訂文字以新增短碼表單。
您可以使用 dco_sm_get_shortcodes_field 過濾器以程式方式更改欄位參數,例如動態填充下拉式選單選項。
使用方法
安裝和啟用後,您可以在「設定 -> DCO Shortcodes 菜單」頁面上新增並設置您的短碼。
外掛標籤
開發者團隊
原文外掛簡介
DCO Shortcodes Menu allow you to add all your shortcodes in menu to the editor using a visual interface.
If your shortcode has attributes or work only for certain post types you can set it on shortcode edit page.
Supported attributes: textbox, textarea, dropdown, color picker and custom text to shortcode insert form.
You can use dco_sm_get_shortcodes_field filter to change field params programmatically, e.g. for dynamically fill dropdown options.
Usage
After installation and activation, you can add and setup your shortcodes on Settings -> DCO Shortcodes Menu page.
