前言介紹
- 這款 WordPress 外掛「Details King Pro」是 2013-11-21 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2013-11-22,距離現在已有 4181 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.0.1 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
Dynamic | wysiwyg | settings | site details | global values |
內容簡介
—
關注 @kingproplugins on Twitter、KingProPlugins on Facebook 或 King Pro Plugins on Google+,瞭解最新消息。
—
本外掛程式是網誌文章 King Pro Plugins – Building a simple WordPress Plugin 的延續。
Details King Pro 提供了簡單的方法,讓你在網站中建立全域值。可透過提供的短代碼或 PHP 函式使用。所建立的欄位可動態產生各種不同的值,例如單行文字方塊、區域文字方塊、所見即所得內容、檔案上傳 (例如標誌) 或日期選擇器欄位。
—
若你有任何建議或希望外掛程式新增某項功能,請在支援論壇中提出。
若你遇到任何問題,我也很樂意協助解決,請透過支援論壇提出。
—
瀏覽 King Pro Plugins range
使用方式
使用短代碼
可以在網站中的任何頁面或文章中使用短代碼。預設為:
[dkp k=”你的欄位金鑰”]
若欄位金鑰找不到,可以顯示錯誤:
[dkp k=”你的欄位金鑰” e=true]
要將其加入樣板,只需使用「do_shortcode」函式:
當然,既然已有可用的函式,為什麼還要那麼麻煩?
這樣就可以直接列印出值。要在列印之前使用該變數,可以使用:
—
有疑問嗎?請在支援論壇或 @kingproplugins on Twitter、KingProPlugins on Facebook、King Pro Plugins on Google+ 聯繫我們。
—
原文外掛簡介
—
Stay up-to-date with the latest by following @kingproplugins on Twitter, KingProPlugins on Facebook or King Pro Plugins on Google+
—
Built as a continuation of the blog posts on King Pro Plugins – Building a simple WordPress Plugin
Details King Pro creates an easy way to have global values that can be used site with either via the provided shortcode or
via the PHP functions. Fields dynamically created by you can have a variety of values such as single textbox plain text value, block textarea plain text value, WYSIWYG content
value, file upload (such as a logo), or a date picker field.
—
If you have any suggestions or would like to see a feature in the plugin, please let me know in the support forum.
Any issues you are having, I’d also love to know, so again, please let me know using the support forum.
—
Check out the King Pro Plugins range
How To Use
Use Shortcodes
Shortcodes can be used in any page or post on your site. By default:
[dkp k=”your-field-key”]
If you would like to display an error if the key is not found:
[dkp k=”your-field-key” e=true]
To add this into a template, just use the “do_shortcode” function:
Of course, why do that when you have functions you can use:
This will print the value right there, or if you need to use the variable prior to printing it, use:
—
Having Trouble? Get support either on the support forums here or at @kingproplugins on Twitter, KingProPlugins on Facebook or King Pro Plugins on Google+
—
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Details King Pro」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。