Discussion:
wordpress fully html5 compatible
Olivier Baudry
2013-11-16 22:50:16 UTC
Permalink
Dear all

It will be great to have wordpress fully html5 compatible, actually with
files inside theme-compat folder in wp-includes folder seems to make
trouble with header file of theme. It will be better to have doctype
html5 with charset UT8.
Otto
2013-11-16 22:53:17 UTC
Permalink
On Sat, Nov 16, 2013 at 4:50 PM, Olivier Baudry <
Post by Olivier Baudry
It will be great to have wordpress fully html5 compatible, actually with
files inside theme-compat folder in wp-includes folder seems to make
trouble with header file of theme. It will be better to have doctype
html5 with charset UT8.
The files in the theme-compat directory are there for backwards
compatibility with older themes only. Newer themes should include their own
header.php files and the like.

As they're meant for backwards compatibility, changing them to use modern
doctypes and HTML5 doesn't make a lot of sense. Only older themes, which
did not use those things, would still be using the theme-compat files.

-Otto

Continue reading on narkive:
Loading...