Site Title without H1 in the Frontpage

Good morning from Spain!

I wanted to comment on a bug that I have seen on the main page and wanted to see if it could be fixed. It is site title, it doesn’t lead on the main page with an H1 and that affects SEO.

Could you tell me how to fix it?

Thank you very much, I love your page and I am very grateful to you.

Cheers!

Hi,

Can you share a link to your website here, so I can check it directly?

Regards,
Kharis
aThemes Support

Of course!

Hi,

Thank you for sharing the link.

I made a plugin for this, that you can download from this link. I request giving it a try and let me know your views.

Regards,
Kharis
aThemes Support

Hello, I have visited your link and it does not work.
However, I would not install a plugin to fix this bug.

Thanks for your interest.

Hola, ya conseguí solucionarlo.

Solo cambié una variable en el archivo functions-header.php que se encuentra en in/functions/functions-header.php

Hay un If con una variable así:

<?php if ( is_front_page() && is_home() ) : ?>
				<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
			<?php else : ?>
				<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
			<?php
			endif;

Solo habría que cambiar la variable ‘&&’ que es una ‘y’ por ‘||’ que es una ‘o’.

Espero que os sirva de ayuda, conmigo funcionó.

¡Un saludo y suerte!