內容簡介
支援文章和頁面。
使用這個外掛的方法
啟用此外掛,您將看到一個新的元框,其中包含當前文章/頁面的永久網址 QR-碼
待辦事項
將會有一個管理頁面,可啟用或停用您喜歡的文章類型的此元框功能。目前,您可以使用過濾器qrcode_link_post_types返回您希望為其啟用此功能的文章類型的字串數組。
範例:
add_filter('qrcode_link_post_types', 'qrcode_post_types');
function qrcode_post_types($post_types){
return ['post', 'page', 'product'];
}
外掛標籤
開發者團隊
原文外掛簡介
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’];
}
