xhtml 1.0 Strict, not Transitional (3 posts)

  1. RockyMtnHi
    Posted 7 years ago #

    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?


  2. jtonline
    Posted 7 years ago #

    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.

  3. RockyMtnHi
    Posted 7 years ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Topic