-
AuthorPosts
-
October 14, 2016 at 6:50 pm #699263
Hey,
I have the problem when I check “Header Title and Breadcrumbs” in Theme Options “Header Section” that in source-code are two H1-Tags, when also have a H1 Tag in my own content.
Why is the Title a h1?
Two h1 Tags on one site is not perfect for SEO-Reasons.Screenshot: https://tresor.it/s#NOgpvPdbsWxzHfuWoRLcag
Workaround?
October 15, 2016 at 1:19 am #699330Hi dillionline!
Please add following code to Functions.php file in Appearance > Editor
add_filter('avf_title_args', 'avia_remove_h1_hidden_title', 10, 2); function avia_remove_h1_hidden_title($args,$id) { $header_settings = avia_header_setting(); if($header_settings['header_title_bar'] == 'breadcrumbs_only') { $args['html'] = "<div class='{class} title_container'><div class='container'>{additions}</div></div>"; } return $args; }Regards,
YigitOctober 17, 2016 at 3:32 pm #700065Hello,
thank you, but h1 Tag in Title is still there.
Here`re all my settings: https://tresor.it/s#F2O7RU141gyyIou3Akn5VgOctober 17, 2016 at 4:04 pm #700084Hi!
Could you please create a temporary admin login and post it here privately so we can look into it?
Best regards,
YigitOctober 20, 2016 at 5:19 pm #702006Login is created and sent to you(private)
October 20, 2016 at 8:27 pm #702071Hi!
Seems like it did not work. Can you please try posting them once again?
Best regards,
YigitOctober 20, 2016 at 8:36 pm #702079send …
October 20, 2016 at 8:58 pm #702086Hey!
I added following code to Functions.php file in Appearance > Editor
add_filter('avf_title_args', 'fix_single_post_title_tag', 10, 2); function fix_single_post_title_tag($args,$id) { $args['heading'] = 'span'; return $args; }Please review your website now
Cheers!
YigitOctober 20, 2016 at 9:53 pm #702101Thank you it works!
Nice job.
October 20, 2016 at 9:54 pm #702102Hey!
You are welcome!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)Cheers!
Yigit -
AuthorPosts
- The topic ‘Two times H1 Tag – not perfect for SEO’ is closed to new replies.
