Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
missgeekbunny
37,033 PointsAdding badge filter
I think it would be amazing if there was a way to filter how the badges appear in the profile view or the wordpress plugin. The reason is that a lot of the badge names are kind of vague and don't really describe well what part they are in. I think it would be cool if maybe we can show off which ones are for certain learning adventures or deep dives or even just categories such as html, php, css, etc.
3 Answers
Christopher Warren
17,640 Points+1
Michael Comins
2,354 PointsIt would be AWESOME if Treehouse badges could be integrated to the Mozilla OpenBadges project http://backpack.openbadges.org/
James Barnett
39,199 PointsMelissa Oveson - Currently the JSON that powers the Treehouse badges widgets only has the 5 categories that you see in library: Websites, Programming, Business, iOS Development, Android Development.
I tweaked Riley Hilliard's JQuery-based Treehouse Badges widget (which is based on Mark Flavin's Wordpress widget) to filter using these categories.
Here's the code: http://codepen.io/jamesbarnett/pen/yedgl
missgeekbunny
37,033 PointsThanks! I think this is at least a good step in the right direction. I just know I have over 100 badges and it's hard to try to show them off using the wordpress widget when I have so many and the categories really do help.
James Barnett
39,199 PointsYou can also show the most recent badges, like I did here: