Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm trying to make my first plugin and I have a problem with firebug. When I use firebug console in WP Admin Panel doesn´t work correctly. For example when I use the selector $('#wpbody') the console return null value. The WP panel include jQuery library and I don´t know why firebug works wrong.

Any advice or sugestion?

Tested with WP 3.1.3 and 3.2.1

Thanks, Marcos.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

WordPress uses jQuery in noConflict() mode, so $ is not available for use in Firebug console. Just use jQuery('#wpbody') instead.

share|improve this answer
Thanks so much, works correctly now :). I have much to learn ... Thanks for your help. All the best, Marcos. – Marcos Nov 29 '11 at 9:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.