• Resolved pandereto

    (@pandereto)


    Hi
    Im using a custom theme, everything worked ok but i think that i have make a mistake because wordpress is now removing the doctype declaration from my header.php file

    My header.php begins with

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml">
    <head profile="https://gmpg.org/xfn/11">
    <title>CUPAGROUP</title>

    but its rendering on browser

    <html xmlns="https://www.w3.org/1999/xhtml"><head></head><body><em></em>
    
    <title>CUPAGROUP</title>

    What can be the cause, its removing the doctype tag and replacing the head atributes….

    Any idea ??????

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘why is removing my doctype’ is closed to new replies.