¿Cómo cambiar el tamaño de título en plantilla web?

  • Autor Autor ZyOps
  • Fecha de inicio Fecha de inicio
ZyOps

ZyOps

Dseda
Marketing
Verificado por Whatsapp
Hola tengo un problemon y es que la plantilla que tengo me pone todos los titulos de los articulos como H1 y yo quiero que los ponga como H2 porque cuando analizo los aspectos SEO de la pagina me dice que tengo muchos H1 (Todos los articulos que he hecho) alguien me dice como puedo modificar esto ya que en el plugin de Yoast no encuentro la opción :C
 
ps se supone que el titulo va en H1 si vaz a añadir algo mas deberia ser en h2 , ademas en casi todo los theme biene por el titulo por defaul en h1
 
Es que está raro porque no todas las entradas me las pone como H1 de 45 que he hecho 9 me las puso como H1 y no se por qué
 
puedes pasr tu web . y los ejemplos que dices por suena raro
 
Tu problema radica en el index principal, tienes que editar tu plantilla, seguro no está optimizada para el SEO on Page, fíjate en el editor donde está el H1 o con el inspector de elementos, quitas el H2 de inicio y solo lo dejas apuntando a las URL de contenido.
 
En el index.php de tu plantilla donde esta el h1 cámbialo por el h2 :encouragement:
 
En el index.php de tu plantilla donde esta el h1 cámbialo por el h2 :encouragement:

PHP:
<?php
/**
 * The main template file.
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * [MENTION=156547]pack[/MENTION]age materialwp
 */

get_header(); ?>

<div class="container">
	<div class="row">

		<div id="primary" class="col-md-8 col-lg-8">
			<main id="main" class="site-main" role="main">

			<?php if ( have_posts() ) : ?>

				<?php /* Start the Loop */ ?>
				<?php while ( have_posts() ) : the_post(); ?>

					<?php
						/* Include the Post-Format-specific template for the content.
						 * If you want to override this in a child theme, then include a file
						 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
						 */
						get_template_part( 'content', get_post_format() );
					?>

				<?php endwhile; ?>

				<?php materialwp_paging_nav(); ?>

			<?php else : ?>

				<?php get_template_part( 'content', 'none' ); ?>

			<?php endif; ?>

			</main><!-- #main -->
		</div><!-- #primary -->

		<?php get_sidebar(); ?>
	</div> <!-- .row -->
</div> <!-- .container -->

<?php get_footer(); ?>

Ese es el index no encuentro el h1 :/
 
Atrás
Arriba