內容簡介
這個 WordPress 外掛會從 Open Graph 協議中建立連結磚。
你只需要撰寫一個簡碼:
[khlt_linktile url=”URL”]
而且還有一些選項。
url:(必填) 要連結的 URL
bgcolor:(選項,預設值:#fff) 連結磚的背景顏色。
nocache:(選項,預設值:false) 如果連結的頁面有變動,就設定為 true。
desc:(選項,預設值:從 OGP 取得) 如果你想覆寫 OGP 的說明文字,就在這裡添加任意文字。
連結磚會暫存連結網站的 OGP 資料一週。(你可以更改我的 PHP 程式碼)
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
This WordPress plugin makes a link tile from Open Graph protocol.
What you have to write is just a shortcode:
[khlt_linktile url=”URL”]
And there are some options.
url : (mandatory) URL to link
bgcolor : (option, default: #fff) background-color of the link tile.
nocache : (option, default: false) set to true once if the linked page is changed.
desc : (option, default: fetch from OGP) set any text here if you want to override OGP’s description.
OGP data from linked site is cached for a week. (You can change my PHP code)
