Title tag displays all the languages
-
Hi,
I have a bilingual (English and Deutsch) WordPress site and two of the plugins I’m using are:
There is some kind of conflict between the two because the
<title>
does not display in the right way.For example, if I’m on the page titled Map (in English) and Landkarte (in Deutsch) – assuming that the site title is Jane Roe – than the
<title>
displays like this:MapLandkarte - Jane Roe
This is not okay because it displays the page title in English (Map) as well as in Deutsch (Landkarte). This only happens on the normal Page sites, not on Posts and not on Custom Post Types pages, which I also have)
I’ve discovered that if I put
if ( is_page() ) { return $title; }
at the very beginning of the function called title (line 323 of wordpress-seo/frontend/class-frontend.php) than my Pages get a nice <title> again.
Nice meaning, translated so:
Map - Jane Roe
when on English and
Landkarte - Jane Roe
when on Deutsch site.
I’ve put this question also on the support form the qTranslate-X plugin (see here), and the author of qTranslate-X plugin has helped me find the point where this could be fixed, but now we think that it is very likely that you will be able to fix this much quicker than anybody else as you know your plugin best.
Thanks if you can help.
- The topic ‘Title tag displays all the languages’ is closed to new replies.