• Can you please tell me how you correlate between the error messages you get from W3C validation and WordPress files. You get messages such as

    Line 98, Column 21: end tag for “ul” which is not finished

    Now we do not work in lines and columns so how do you know which file to start looking in?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You have to look at where – in the source markup – the error is being generated and trace it back to the relevant template file in your theme.

    Thread Starter Measha06

    (@measha06)

    I don’t understand what you mean can you explain more clearly, what is a source markup and how do you trace it back? Greater detail required for your answer to be helpful to me although I appreciate you taking the time to answer. I am very very new to WordPress.

    what is a source markup

    The HTML of your generated pages (ie the output tested by W3C).

    how do you trace it back?

    You first need to understand how the theme template hierarchy works, so that you know which template files(s) you should be looking in for a specific issue. There is an overview of the theme template hierarchy on the Theme Development Codex page.

    Thread Starter Measha06

    (@measha06)

    I have to admit to being totally confused as rows and columns means absolutely nothing to me so I do not understand how you can track anything from that and the theme development link you have sent me I have scanned over and it does not reference rows and columns either. So I do not see how to do this task. Sorry if I am being thick but it seems to be beyond me as nothing is jelling together.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘W3C Validation Errors and Locating Relevant File’ is closed to new replies.