Tagged: header.php
-
AuthorPosts
-
September 8, 2016 at 10:03 pm #683894
have the same problem like here: https://kriesi.at/support/topic/double-meta-robots-tags-being-generated/
the meta title comes twice. but that solution didnot helped me.runing the latest version of enfold with simple child theme.
installed yoast today but the problem was already before.September 12, 2016 at 3:03 pm #685174Shalom!
Can you please flush browser cache and review your website?
Currently there is no robots tags in your source codeBest regards,
YigitSeptember 12, 2016 at 4:27 pm #685248just did view source and it showing that <title> tag is showing twice
there is duplicate <title>can you see it?
September 16, 2016 at 2:03 pm #687509Hi,
Please try adding following code to Functions.php file in Appearance > Editor
add_filter('avf_title_tag','avia_new_title'); function avia_new_title() { $title = ''; return $title; }
Best regards,
YigitSeptember 18, 2016 at 7:48 am #688061it didnn worked. but i found the solution. so al good now.
apperantly the extra title begines with this text
(<!– page title, displayed in your browser bar –>)
was in the header.php of my child theme.i updated also the header of the child theme and now its good. no bug.
Thanks for your good support as always!
September 19, 2016 at 8:52 am #688360Hi,
Great, glad you got working and thanks for the feedback :-)
Please let us know if you should need any further help on the topic.
Thanks,
RikardFebruary 2, 2017 at 8:05 am #741613This thread was a huge help to me in figuring out how to fix the duplicate titles issue in Enfold. The child theme template has this line which must be deleted in header.php:
<!– page title, displayed in your browser bar –>
<title><?php if(function_exists(‘avia_set_title_tag’)) { echo avia_set_title_tag(); } ?></title>Guys you might want to update your records / child theme template etc accordingly. Is there any reason for the above code to exist in header.php? My site seems fine without it and the duplicate titles are gone.
Thanks!!!
February 2, 2017 at 12:44 pm #741731Hi,
Glad it’s working for you now! and thank you for sharing your solution here. There is no specific reason the code is in header.php to give a starting point. It should not have caused a conflict thanks for pointing this out.
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Vinay -
AuthorPosts
- The topic ‘Double meta title’ is closed to new replies.