內容簡介
這個 BadgeOS 外掛添加了一個短碼,可以根據用戶是否獲得特定成就來顯示或隱藏內容。
在文章或頁面中使用短碼 [user_earned_achievement id=”achievement_id”][/user_earned_achievement] 包裹的內容只有當當前用戶已經獲得指定 id 的成就時才會顯示。此短碼已完全集成到 BadgeOS 短碼插入按鈕中。
注意:您需要安裝免費的BadgeOS 插件™(版本 1.4 或更高版本)才能使用 BadgeOS 社區外掛。此插件已在 BadgeOS 3.6.7 上進行了測試。
獲取 BadgeOS 插件。
此外掛最初是為 國際數字學習社區 開發的,代表 GIZ。
聯繫方式
Konnektiv
GitHub 上的 BadgeOS Achievement Shortcode Add-on - 提交問題,貢獻代碼
外掛標籤
開發者團隊
② 後台搜尋「Achievement Shortcode Add-On for BadgeOS」→ 直接安裝(推薦)
原文外掛簡介
This BadgeOS Add-on adds a shortcode to show or hide content depending on the user having earned a specific achievement.
Any content in a post or page enclosed in the shortcode [user_earned_achievement id=”achievement_id”][/user_earned_achievement] will only be shown if the current user has already earned the achievement with the specified id. This shortcode is fully integrated with the BadgeOS shortcode insert button.
Note: You will need to install the free BadgeOS plugin™ (version 1.4 or higher) to use the BadgeOS Community Add-on. This Plugin was tested up to BadgeOS 3.6.7.
Get the BadgeOS plugin.
This plugin was originally developed for the globe – Community of Digital Learning on behalf of GIZ.
Contact
Konnektiv
BadgeOS Achievement Shortcode Add-on on GitHub – Report issues, contribute code
