Forums

[resolved] Stray "?>" Before DocType Decleration (1 post)

  1. ariolander
    Member
    Posted 3 years ago #

    I am creating a templat and for some reason there is a stray "?>" tag before the doctype decleration in my header and for the life of me I can't figure out where it is coming from...

    At the very top of my index.php is "<?php get_header(); ?>" and at the very top of my header.php is "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">" but when the index displays there is a stray "?>" before my DocType.

    I just about deleted every other template file other than index & header so I dunno where it could be coming from...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.