Solved

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

Posted on 2010-11-11
4
999 Views
Last Modified: 2012-05-10
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....
0
Comment
Question by:usbcrazy1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Author Comment

by:usbcrazy1
ID: 34116899
Whats the easiest/best way to find this out if Firebug doesnt allow this on live sites
0
 
LVL 23

Assisted Solution

by:jeremyjared74
jeremyjared74 earned 100 total points
ID: 34117108
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
 
LVL 15

Accepted Solution

by:
AndyBeard earned 200 total points
ID: 34117159
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
 
LVL 8

Assisted Solution

by:Sam Cohen
Sam Cohen earned 200 total points
ID: 34124662
There is a php version for firebug, called firephp
http://groups.google.com/group/firephp-dev
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Google Analytics 5 179
SEO and 301 redirect - site not indexed by Google, Yahoo, Bing 4 83
Remove a page from Google? 2 60
WordPress  Failed to Import Media 8 65
How to create your own WordPress Theme Before I begin with the theme design tutorial, I would like to give you the basics of what is required to make a WordPress Theme. The most basic WordPress theme only requires 2 files: a style.css file and an…
Wordpress Horizontal Drop-Down Menu In this tutorial I will show you had to add a WordPress horizontal navigation menu to your theme. I have searched and searched for a good tutorial on creating a WordPress nav menu without adding a plug-in or us…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question