[WordPress] 外掛分享: Post QR Code Link

首頁外掛目錄 › Post QR Code Link
10+
安裝啟用
尚無評分
1517 天前
最後更新
問題解決
WordPress 3.5+ v1.0.1 上架:2022-01-21

內容簡介

支援文章和頁面。

使用這個外掛的方法

啟用此外掛,您將看到一個新的元框,其中包含當前文章/頁面的永久網址 QR-碼

待辦事項

將會有一個管理頁面,可啟用或停用您喜歡的文章類型的此元框功能。目前,您可以使用過濾器qrcode_link_post_types返回您希望為其啟用此功能的文章類型的字串數組。

範例:
add_filter('qrcode_link_post_types', 'qrcode_post_types');
function qrcode_post_types($post_types){
return ['post', 'page', 'product'];
}

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Post QR Code Link」→ 直接安裝(推薦)

原文外掛簡介

Supports posts and pages.
How to Use this Plugin

Just activate this plugin and you’ll see a new meta-box showing a QR-Code with the permalink to the current post/page

ToDo
There will be an admin page to activate or deactivate this meta-box feature for the post-types you like. As for now you can use the
filter qrcode_link_post_types to return a string-array of post-types you want this feature for.
Example:
add_filter(‘qrcode_link_post_types’, ‘qrcode_post_types’);
function qrcode_post_types($post_types){
return [‘post’, ‘page’, ‘product’];
}

文章
Filter
Apply Filters
Mastodon