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

Cath Ellis
11,984 PointsShow all badges in the Treehouse badges plugin
Hi, I am wanting to display all my badges on my wordpress page. Each time I get a new badge I am having to manually change this code...
[wptreehouse_badges num_badges="91" tooltip="on"]
Please can someone advise what code I can use to display all by default?
Cheers, Cath
7 Answers

Zac Gordon
Treehouse Guest TeacherAt the moment, I'm not sure this is a feature, but I will add it in with the next update.
If you watch our How to Build a Plugin Course though you'd really easily be able to add that feature yourself ;)

Timothy Rimnac
26,219 PointsThough I haven't tested with this. Typically in Wordpress when setting the limit for the number of posts pulled through, setting the number to -1 will cause it to always pull all.
Again this hasn't been tested with this plugin but it's worth a shot.

Cath Ellis
11,984 PointsThanks Guys, will have a play around. Cheers

John Dugan
Courses Plus Student 13,165 PointsHey Zac,
+1 for the all badges option... have yet to watch the course :-/

Cath Ellis
11,984 PointsHi John, unfortunately that does not work on this plugin. I have tried +1 and -1 with no success.
Regards, Cath

John Dugan
Courses Plus Student 13,165 PointsHuh? I think you misunderstand me. I meant +1 as in I too would like to see an option to add all badges, not +1 as a parameter.

Cath Ellis
11,984 PointsSorry about that John, yes I did misunderstand