• Resolved interfaceleader

    (@interfaceleader)


    For some reason, when I try and add

    <title><?php wp_title(”); ?></title>

    to my header.php it breaks the entire site. Code loads up until <title> and then blanks. It doesn’t happen with other themes. I’ve tried disabling all plugins, and it makes no difference.

    When I remove that line, everything seems to work.

    Any idea what it could be?

    Here is my code:

    [code moderated per forum rules - please use the pastebin]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter interfaceleader

    (@interfaceleader)

    FYI, I have updated to the latest version disabled all plugins etc. It’s definitely a theme issue, but I have no idea what other code could be in the theme to cause a conflict with such a basic tag?

    Any help, or ideas of where to look, would be appreciated.

    Thread Starter interfaceleader

    (@interfaceleader)

    My code on pastebin: http://pastebin.com/z0taXNHk

    Thread Starter interfaceleader

    (@interfaceleader)

    For anybody who has a similar problem – it was some code in my function.php that triggered it. It was attempting to use wp_title to call to a plugin I had deactivated/deleted.

    Now resolved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘wp_title breaks website’ is closed to new replies.