[Plugin: Greg's High Performance SEO] title tag content appears in body
-
Hi, I am using a child theme based on Thematic 0.9.7.7
So I have used child theme override function for the title tag. However the ghpSEO title appears immediately after the body tag, whilst the title tag is empty.
... if(function_exists('ghpseo_output')) { //this doesn't work - Title appears immediately under body tag //$doctitle = "\t <title>" . ghpseo_output('main_title') . "</title>\n\n"; $doctitle = "\t <title>This works fine</title>\n\n"; } else { //this works $doctitle = "\t" . "<title>" . $doctitle . "</title>" . "\n\n"; } echo $doctitle; } // end thematic_doctitle
If I just use a static string here, or thematics default code it works as it should.
Any idea what is happening here?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Greg's High Performance SEO] title tag content appears in body’ is closed to new replies.