• Resolved learningstill

    (@learningstill)


    doctype is not being declared on my site.

    I have no idea why it is missing now, I have never had this error before.

    I have attached an example link for a page that is having this issue.

    any ideas?

    The doctype appears in the header.php file

    <?php
    /**
    * The template for displaying the header
    *
    * Displays all of the head element and everything up until the page header div.
    *
    * @package Neve
    * @since 1.0.0
    */
    ?><!DOCTYPE html>
    <?php

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter learningstill

    (@learningstill)

    Resolved the issue.

    Swift Performance plugin has a new optimization feature – Smart Render, which appears to be stripping/blocking the doctype declaration.

    I have disabled the setting. Will reach out to Swift support for an answer.

Viewing 1 replies (of 1 total)

The topic ‘doctype not declared’ is closed to new replies.