InterfaceLeader
Member
Posted 10 months ago #
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]
InterfaceLeader
Member
Posted 10 months ago #
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.
InterfaceLeader
Member
Posted 10 months ago #
InterfaceLeader
Member
Posted 10 months ago #
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.