wordpress

For technical support and bug reports for all editions of CSS HTML Validator, including htmlval for Linux and Mac.
Danielx64
Rank 0 - Newcomer
Posts: 1
Joined: Thu Feb 28, 2013 9:39 pm

wordpress

Post 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?
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: wordpress

Post by Albert Wiersch »

Hello,

CSS HTML Validator can check the HTML output after the PHP script runs through the PHP processor. CSS 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:
https://www.htmlvalidator.com/current/d ... ipting.htm

And this for checking PHP syntax:
https://www.htmlvalidator.com/current/d ... r_node.htm

I hope this helps. Please let me know if you have any more questions.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial