Head title tag issue – no title on pages
-
Hi,
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.
Example:
<!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">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<title></title> <
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-facebook
Admin
Couple of things to check:
1) Are you using the latest version of WordPress?
2) Are you using any plugin that modifies the title tag, e.g. WP SEO?
Hi Syahir,
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).
Admin
Quote: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.Quote: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. 🙂
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.