Displaying badges from Badge Fever is even easier with Badge Fever Shortcode plugin.
This is minimalistic plugin, which adds customized shortcode to your WordPress system to be used any place you wish to.
The shortcode works exactly same as in your posts.
Simply write: [display_badges email=”firstname.lastname@example.org”]
And badges will appear in your content.
You can customize the shortcode functionality and appearance with following attributes:
- email – Email address for which you wish to display badges
- size – How big you want the badge images to be. Available size: small, medium, big
- offset – In case user achieved 100 badges, you can specify from which to begin
- limit – How many badges to display
- styles – Badge Fever Shortcode plugin comes with default styles. If you wish to use your own styles, you can swith that by this attribute (on/off)
A brief Markdown Example
Simple / minimal shortcode:
[display_badges email=”email@example.com” offset=”3″ limit=”5″ size=”big”]
For all issues please contact firstname.lastname@example.org
- Badges are not being displayed
There are few possible situations when you cannot see badges on place you put the shortcode.
If you are sure that nor of above apply, please contact us at email@example.com
- I see the raw shortcode instead of badges
This means that the place you put the shortcode has not activated shortcode conversion. This mostly appears when adding shortcode into theme options or widgets. This problem is simple to fix. In the code, locate where the content you wish to display badges in is outputed and wrap it in do_shortcode() function
- Initial release of the plugin.