Page 1 of 1

wordpress

PostPosted: Thu Feb 28, 2013 10:45 pm
by Danielx64
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?

Re: wordpress

PostPosted: Thu Feb 28, 2013 11:22 pm
by Albert Wiersch
Hello,

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.