Head title tag issue – no title on pages
I have an issue with “title” tag. All of my pages have double title tags and the first one is empty. So, the pages shows up on search and such without proper titles. This started after I updated to the new version of Graphene Theme. But I am not sure if it is the theme or a plug-in.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
First title tag****
<link rel="pingback" href="http://sanuja.com/blog/xmlrpc.php" />
<title>****CORRECT TITLE APPEARS HERE****</title>
Example link: http://sanuja.com/blog/exams/glgy201
This issue is across all pages and posts.
I think this post also talk about a similar issue? May be? https://forum.graphene-theme.com/graphene-support/article-name-lost-by-sharing-facebookAdmin
Thank you for the reply. I don’t have any SEO plugins. I deactivated WP Super Cache and checked one pulgin at a time. I also checked Graphene child headder and I don’t see anything wrong.
Is there way to check which plugin I have updated last?
I have no idea what’s going on and I have Version 4.8 (latest WP I think).AdminQuote:I also checked Graphene child headder and I don’t see anything wrong.
Ah..so you have header.php file in your child theme. In that case, edit that file and remove the `<title></title>’ portion, as WordPress adds the title tag dynamically now.
THANK YOU so much. It worked! I deleted the
<title><?php wp_title( '' ); ?></title>
from the header.php file in the Child Theme. 🙂
You must be logged in to reply to this topic.