Title: Achievement Shortcode Add-On for BadgeOS
Author: konnektiv
Published: <strong>2. juni, 2016</strong>
Last modified: 26. november, 2020

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://s.w.org/plugins/geopattern-icon/achievement-shortcode-for-badgeos.svg)

# Achievement Shortcode Add-On for BadgeOS

 Af [konnektiv](https://profiles.wordpress.org/konnektiv/)

[Download](https://downloads.wordpress.org/plugin/achievement-shortcode-for-badgeos.1.1.0.zip)

 * [Detaljer](https://da.wordpress.org/plugins/achievement-shortcode-for-badgeos/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/achievement-shortcode-for-badgeos/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/achievement-shortcode-for-badgeos/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/achievement-shortcode-for-badgeos/#developers)

 [Support](https://wordpress.org/support/plugin/achievement-shortcode-for-badgeos/)

## Beskrivelse

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](https://wordpress.org/extend/plugins/badgeos/)
™ (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](https://wordpress.org/extend/plugins/badgeos/).

This plugin was originally developed for the [globe – Community of Digital Learning](https://quality4digitallearning.org/)
on behalf of [GIZ](https://www.giz.de/).

#### Contact

 * [Konnektiv](http://konnektiv.de/)
 * [BadgeOS Achievement Shortcode Add-on on GitHub](https://github.com/konnektiv/badgeos-achievement-shortcode-add-on)–
   Report issues, contribute code

## Skærmbilleder

[⌊BadgeOS Help/Support: Description⌉⌊BadgeOS Help/Support: Description⌉[

BadgeOS Help/Support: Description

[⌊Shortcode Pop-up Window⌉⌊Shortcode Pop-up Window⌉[

Shortcode Pop-up Window

[⌊Page description⌉⌊Page description⌉[

Page description

[⌊Front-end View when achievement has not yet been earned⌉⌊Front-end View when achievement
has not yet been earned⌉[

Front-end View when achievement has not yet been earned

[⌊Front-end view when achievement has been earned⌉⌊Front-end view when achievement
has been earned⌉[

Front-end view when achievement has been earned

## Installation

 1. Upload, activate and configure the free [BadgeOS plugin](https://wordpress.org/extend/plugins/badgeos/)
    to WordPress.
 2. Upload ‘Achievement-Shortcode-Add-on’ to the ‘/wp-content/plugins/’ directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Achievement Shortcode Add-On for BadgeOS” er open source-software. Følgende personer
har bidraget til dette plugin.

Bidragsydere

 *   [ konnektiv ](https://profiles.wordpress.org/konnektiv/)
 *   [ chherbst ](https://profiles.wordpress.org/chherbst/)

[Oversæt “Achievement Shortcode Add-On for BadgeOS” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/achievement-shortcode-for-badgeos)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/achievement-shortcode-for-badgeos/),
tjek [SVN repository](https://plugins.svn.wordpress.org/achievement-shortcode-for-badgeos/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/achievement-shortcode-for-badgeos/)
via [RSS](https://plugins.trac.wordpress.org/log/achievement-shortcode-for-badgeos/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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

## Meta

 *  Version **1.1.0**
 *  Senest opdateret **6 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 3.6.0 eller højere **
 *  Testet op til **5.5.24**
 *  PHP-version ** 5.5.9 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/achievement-shortcode-for-badgeos/)
 * Tags
 * [access](https://da.wordpress.org/plugins/tags/access/)[badge](https://da.wordpress.org/plugins/tags/badge/)
   [badges](https://da.wordpress.org/plugins/tags/badges/)[restrict](https://da.wordpress.org/plugins/tags/restrict/)
   [shortcode](https://da.wordpress.org/plugins/tags/shortcode/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/achievement-shortcode-for-badgeos/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Din anmeldelse](https://wordpress.org/support/plugin/achievement-shortcode-for-badgeos/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/achievement-shortcode-for-badgeos/reviews/)

## Bidragsydere

 *   [ konnektiv ](https://profiles.wordpress.org/konnektiv/)
 *   [ chherbst ](https://profiles.wordpress.org/chherbst/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/achievement-shortcode-for-badgeos/)