WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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