SEO issue with an empty title tag: <h1 class=’main-title entry-title’></h1>
if the ” Header Title and Breadcrumbs ” is set to breadcrumbs only :-(
Discussed in so many threads:
https://kriesi.at/support/topic/change-text-of-main-title/
https://kriesi.at/support/topic/coherence-remove-h1-tags/
https://kriesi.at/support/topic/where-to-change-the-double-h1-tag-in-blog-posts/
https://kriesi.at/support/topic/remove-titles-via-child-theme/
https://kriesi.at/support/topic/to-many-h1-headings-for-seo/
https://kriesi.at/support/topic/how-to-remove-h1-from-page-name/
https://kriesi.at/support/topic/a-real-seo-problem-blog-post-title-should-be-h1-header/
https://kriesi.at/support/topic/function-avia_title-for-custom-post-type-archive/
So all solutions are not really updateable
I am searching for a solution in my child theme function.php // HELP
THIS IS THE CORRECT SOLUTION to change the h1 for better SEO:
why i always find my solution by myself after startin a new topic?
add_filter('avf_title_args', 'avf_remove_header_title');
function avf_remove_header_title($args) {
$args['heading'] = 'span';
return $args;
}
Maybe you know how to completely remove the string… it´s a bit like a bug
<h1 class='main-title entry-title'></h1>
Hey!
Glad you figured it out and thank you for sharing your solution. Please feel free to request it here – https://kriesi.at/support/enfold-feature-requests/
Best regards,
Yigit