這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

螢幕擷圖

  • BadgeOS Help/Support: Description
  • Shortcode Pop-up Window
  • Page description
  • Front-end View when achievement has not yet been earned
  • Front-end view when achievement has been earned

安裝方式

  1. Upload, activate and configure the free BadgeOS plugin to WordPress.
  2. Upload ‘Achievement-Shortcode-Add-on’ to the ‘/wp-content/plugins/’ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Achievement Shortcode Add-On for BadgeOS〉的開發相關工作。

參與者

變更記錄

1.1.0

test with newer versions, adjust to WordPress publishing, add screenshots

1.0.7

  • Fix deactivation when BadgeOS is deactivated

1.0.5

  • Add ‘before’ shortcode parameter to only accept achievements earned before a specific date

1.0.4

  • Add closing shortcode surrounding current selection when using the BadgeOS shortcode insert button
  • Use select2 for the achievement id shortcode attribute

1.0.3

  • Finally fix translation domain

1.0.2

  • Fix translation domain & add gettext calls

1.0.1

  • Fix shortcode description & error message

1.0.0

  • Initial release