WordPress.org

Support

Support » Themes and Templates » Debug template error

Debug template error

  • My custom single template returns this source:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META content="text/html; charset=utf-8" http-equiv=Content-Type></HEAD>
    <BODY></BODY></HTML>

    I have gone through every line of my templates for God knows how many times, but I am unable to find anything wrong. Is it possible to suggest any place in my code (which follows the rules in the codex) where it all stops? Is it anything really wrong with the loop??

Viewing 1 replies (of 1 total)
  • From what you have described and shown – there’s no way to tell. Here’s a suggestion – put a few echo and var_dump statements in different parts of the loop to see it it returns the info at all and if it returns the right info. Hope that helps,

    Luka

Viewing 1 replies (of 1 total)
  • The topic ‘Debug template error’ is closed to new replies.