该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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