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.

1 Answer 1


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

  • Thanks so much, works correctly now :). I have much to learn ... Thanks for your help. All the best, Marcos.
    – Marcos
    Nov 29, 2011 at 9:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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