Provides both widgets and shortcodes to help display Code School profile badges on your website.
Learn By Doing. Code School teaches web technologies in the comfort of your browser with video lessons, coding challenges, and screencasts. Use this plugin to proudly display completed Code School course badges on your WordPress blog, website or CV.
You can use a widget to display your badges in a header, sidebar or footer or use a shortcode to display badges in the main content area of a post or page. The plugin offers two customization options:
- How many of your most recent completed course badges to display
- How large should each badge be (in pixels, ems, or other valid units)
Project code is hosted at GitHub. Contributors welcome.
Screenshots
Once you have installed the plugin, navigate to Settings > Code School Badges in the admin area
Type in your Code School username (see FAQ for how to find your username)
View your latest badges and profile information
Add a widget to your site go to Appearance > Widgets. Look for the 'Code School Badges' widget and drag to the appropraite widget area. Enter in a title to appear above the badges, enter in the number of badges you would like to appear, and enter how large each badge should be (examples: 60px, 5ems, 12pts, etc.).
To add badges using a shortcode use [wpcodeschool_badges]. You can also use the following optional parameters [wpcodeschool_badges num_badges='4' badge_size='100px']. If num_badges is not specified, all of your badges will be displayed.
A previews of badges displaying as a shortcode and as a widget
FAQ
How do I find my Code School username?
- Login to your Code School account
- Go to https://www.codeschool.com/account
- Your username appears on the page
A recent badge is not appearing
The plugin caches queries for 12 hours. This keeps your site running fast and prevents too many calls to the Code School API. You can clear the cache by going to the admin area, Settings > Code School Badges, and hitting the ‘Update’ button.
How Often Does the Profile Information Get Updated?
Whenever someone visits a page, the plugin checks to see if the profile information was updated in the last 12 hours. If it has been longer than 12 hours, then the plugin will update the profile information. The next time someone visits the site or clicks on a page, the latest badges show.
Can I Choose What Specific Badges I Want to Display?
Unfortunately, not yet. For future releases, we are considering more customized ways to choose what badges you want to display, instead of just showing the most recent badges.
Can I contribute code and bug fixes?
Contributors are welcome. Please visit the Code School Badges GitHub project.
ChangeLog
1.0.2
- Fix broken CSS and JS links on most servers
1.0.1
- Fix broken CSS and JS links on some servers
1.0
- Initial version of the plugin
- Includes basic widget and shortcode display options