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

WordPress How to Build a WordPress Plugin Building a WordPress Plugin Settings Page How to Create a Plugin Template with a Settings Page

I am not seeing the admin menu item show up under under 'Settings > Treehouse Badges'.

I am not seeing the admin menu item show up under under 'Settings > Treehouse Badges'. I have tried using the plugin included in the class as well as my own version. I have also tried using under several different WP sites to no avail.

2 Answers

I found that the add_action( 'admin_menu', 'wptreehouse_badges_menu' ); needed to be added before function wptreehouse_badges_menu(), and not inside that function. Please correct the video and downloadable files to reflect this update.

Zhenlin Jin
Zhenlin Jin
Courses Plus Student 167 Points

Zac has no idea what he's doing... I'd rather someone with an actual computer science degree to teach me how to code in PHP

Thank you Rick Berg

Russell Comer
Russell Comer
26,102 Points

Zhenlin Jin that's not being very helpful. I followed exactly what Zac did and had no problems. I had a spelling error and is why my menu option wasn't showing. Do you have a CS degree? If not don't cast stones at someone who is obviously capable in the subject. A CS degree has no bearing on learning how WordPress works or any other technology for that matter.