Support » Themes and Templates » xhtml 1.0 Strict, not Transitional

  • I have changed the code in the Default theme in the header.php file so it is XHTML 1.0 Strict but it still spits out XHTML 1.0 Transitional in the final (static) page. I have edited the file locally as well as in WordPress template editor but the final page still comes out as Transitional. Something is changing the XHTML version and I can’t find it.

    What can I do to make it Strict?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you tried clearing your browser’s cache? Could it be that you’re seeing a pre-edit version of your blog from local cache? I changed my blog to Strict when on an earlier release of WP, and as far as I can recall I just changed header.php.

    I have cleared the IE browser cache and even opened it in Firefox but it doesn’t load my header.php file and still shows as transitional.


    Just disabled HTML Tidy for WordPress plugin and it now uses my actual header.php code that is XHTML 1.0 Strict. Problem solved.

    Interesting that they change the version of XHTML.
    On to frying bigger fish…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘xhtml 1.0 Strict, not Transitional’ is closed to new replies.