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: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 1

Open Issues: 2

Language:JavaScript

Type:wordpress-plugin

1.0.2 2016-06-07 11:12 UTC

This package is not auto-updated.

Last update: 2024-09-28 20:08:54 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.

Get the BadgeOS plugin.

This plugin was originally developed for the globe - Community of Digital Learning on behalf of GIZ.

Contact

Installation

  1. Upload, activate and configure the free BadgeOS plugin to WordPress.
  2. Upload 'BadgesOS-Achievement-Shortcode-Add-on' to the '/wp-content/plugins/' directory
  3. 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