How to Use Firebug to check which php file the element is coming from

In Firebug, I can Inspect an Element, show the CSS etc, but ..

how do you find what php file the Element is called in.

Its driving me nuts...

Ive tried but i cant find out....
usbcrazy1Asked:
Who is Participating?
 
AndyBeardConnect With a Mentor Commented:
You need to use a development framework

I use Netbeans, but there are others

That then allows you to have your whole WordPress installation as a project.

Then you set up debugging etc to trace things.

However... WordPress is very complicated. With all the hooks and filters that take place on a single page view working out what is happening and why is never an easy matter.
You can have 3 or 4 things filtering one small chunk of content, in some cases totally overriding it, other times modifying it, and you have to work out the priority.

How things are rendered on a screen is also theme dependent - different themses wrk on different frameworks and whilst some are similar in structure, others like to do things differently which can make things complicated.
0
 
usbcrazy1Author Commented:
Whats the easiest/best way to find this out if Firebug doesnt allow this on live sites
0
 
jeremyjared74Connect With a Mentor Commented:
The best way is to use the Firefox plugiin called Web Developer. Once you install it you will have a toolbar with many options. Click on Information>View Element Information, or one of the several other tools. This is a great tool for finding problems, or even editing CSS, and HTML code.

http://chrispederick.com/work/web-developer/
0
 
Sam CohenConnect With a Mentor Consultant to Digital/DeveloperCommented:
There is a php version for firebug, called firephp
http://groups.google.com/group/firephp-dev
0
All Courses

From novice to tech pro — start learning today.