For technical support for all editions of CSS HTML Validator. Includes bug reports.
Post Reply
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 1
Joined: Thu Feb 28, 2013 9:39 pm


Post by Danielx64 » Thu Feb 28, 2013 9:45 pm

Hi there,

I'm just wondering if CSE HTML Validator Standard 11.02 will be able to look and check wordpress theme code. Everything is in php, html etc but everything is broken up into different files like header.php, footer.php and so on.

Are there any known issues with dealing with a system like that?

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3451
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: wordpress

Post by Albert Wiersch » Thu Feb 28, 2013 10:22 pm


CSE HTML Validator can check the HTML output after the PHP script runs through the PHP processor. CSE HTML Validator doesn't run PHP script itself.

It can, however, check PHP syntax in PHP scripts by calling php.exe, if you are working with the script files, but the actual HTML validation should be done on the final output that is sent to a user's browser.

This might also help:
http://www.htmlvalidator.com/htmlval/v1 ... ipting.htm

And this for checking PHP syntax:
http://www.htmlvalidator.com/htmlval/v1 ... r_node.htm

I hope this helps. Please let me know if you have any more questions.
Albert Wiersch

Post Reply