Skip to content

Instantly share code, notes, and snippets.

@gabrielmerovingi
Last active September 10, 2020 03:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabrielmerovingi/af9062009965bb6a5dfb to your computer and use it in GitHub Desktop.
Save gabrielmerovingi/af9062009965bb6a5dfb to your computer and use it in GitHub Desktop.
This custom shortcode can be used to display myCRED Links which grants points to a user only if the current user has a particular badge. Requires the badge_id="" attribute to be used and contain the Badge ID to check for.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment