konnektiv / badgeos-achievement-shortcode-add-on
This BadgeOS Add-on adds a shortcode to show or hide content depending on if the user has earned a specific achievement.
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 2
Language:JavaScript
Type:wordpress-plugin
Requires
- php: >=5.2.4
- composer/installers: ~1.0
This package is not auto-updated.
Last update: 2025-02-01 21:46:43 UTC
README
Contributors: konnektiv, chherbst
Tags: badge, badges, restrict, shortcode, access, hide, content, openbadges, shortcode, credly, OBI, mozilla, open badges, achievement, award, reward, engagement, submission, nomination, community, API, open credit, credit, plugin
Requires at least: WordPress 3.6.0, BadgeOS 1.4.0
Tested up to: 4.5.2
Stable tag: 1.0.4
License: GNU AGPLv3
License URI: http://www.gnu.org/licenses/agpl-3.0.html
This BadgeOS Add on adds a shortcode to show or hide content depending on if the user has earned a specific achievement.
Description
This BadgeOS Add on adds a shortcode to show or hide content depending on if the user has 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 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
Installation
- Upload, activate and configure the free BadgeOS plugin to WordPress.
- Upload 'BadgesOS-Achievement-Shortcode-Add-on' to the '/wp-content/plugins/' directory
- Activate the plugin through the 'Plugins' menu in WordPress
Changelog
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