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

official treehouse badges wordpress widget difficulties

I have installed and activated the official treehouse badges widget, and it is getting 404 server response errors for the css and js files. The badges and text are showing up, but with out styling or functionality. Also when I try the link to the wordpress plugin page, I get a 404 site not found error. Does anyone know the status of this plugin or how to fix it?

4 Answers

Got a link to the site?

Sorry, still running local.

Hi i just happen to have done this. I found that its because the actual plugin folder name is different from the one used on the plugin file itself so it returns 404 not found when looking for the css & js.

Go to the plugins folder & find 'frontend.php' in the wptreehouse badges folder. On that file, change the folder name on every file path that refers to the css & js files. Make sure that it is the same folder name as you find it in wp-content/plugins/

It works but not really pretty. I think Zac created this for the purpose of treehouse lesson.

I have problems now with the tooltip. Was about to post a new topic about it :)

Hi Ben,

Your problems with the tooltip might be because the video refers to the classes as .treehouse-badge .treehouse-badges etc. when in fact they are .wptreehouse-badge .wptreehouse-badges

Hi Bill, Thanks for the info. No... its not about that actually. I did manage to get the tooltip came out. I start having problems with it when I try to wrap the badges in a jquery carousel, then the tool tips are all chopped off because obviously it's inside the carousel wrap.

I've tried everything from z-index to look through at zac's code to find out how is this tooltip generated exactly but couldn't figure it out how I can make the tool tips on top of everything.

But finally I solved it with built-in tooltip from zurb's foundation - happens to be using the framework to code the theme. So instead, I switch off the tooltip option on the plugin and use this tooltip. Not too bad.

That did the trick, thanks again!

Cool, thanks!