E
eljevito
Mi
Redactor
Verificado por Whatsapp
¡Ha verificado su Paypal!
Hola a todos, he buscado en el foro ayuda sobre como colocar los H1 en los titulos para resaltar y los h2, H3, H4 que contienen la plantilla.
A continuacion les mostrare como estan los codigos de H1 y demas, para que me ayuden a colocarlos como van para un mejor SEO:
Archives:
Category Template:
HEADER
Main Index Template
Page Template
Sidebar:
Single Post:
Hay esta cada parte de la plantilla que tengo actualmente donde aparecen los H1, H2 y demas, espero que me puedan ayudar con ese problemita y asi poder tener mejor SEO en mi blog.
A continuacion les mostrare como estan los codigos de H1 y demas, para que me ayuden a colocarlos como van para un mejor SEO:
Archives:
PHP:
<h2 class="pagetitle">Escrito por '<?php single_cat_title(); ?>' Category</h2>
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
<h1 class="pagetitle">Posts Tagged With '<?php single_tag_title(); ?>'</h1>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h2 class="pagetitle">Escrito por <?php the_time('F jS, Y'); ?></h2>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h2 class="pagetitle">Escrito por <?php the_time('F, Y'); ?></h2>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h2 class="pagetitle">Escrito por <?php the_time('Y'); ?></h2>
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
<h1 class="pagetitle">Author Archive</h1>
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h1 class="pagetitle">Blog Archives</h1>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h1 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
Category Template:
PHP:
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
HEADER
PHP:
<h2><a href="<?php echo get_option('home'); ?>/"><img class="logo" src="<?php bloginfo('template_directory'); ?>/images/logo.png" alt="<?php bloginfo('sitename'); ?>" /></a></h2>
<div class="description"><?php bloginfo('description'); ?></div>
</div>
Main Index Template
PHP:
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h1 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
Page Template
PHP:
<div class="post" id="post-<?php the_ID(); ?>">
<h1 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
Sidebar:
PHP:
<div class="side-widget">
<h3>Pages</h3>
<ul><?php wp_list_pages('title_li=' ); ?></ul>
</div>
<div class="side-widget">
<h3>Categories</h3>
<ul>
<?php wp_list_categories('title_li=' ); ?>
</ul>
</div>
Single Post:
PHP:
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h1 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
Hay esta cada parte de la plantilla que tengo actualmente donde aparecen los H1, H2 y demas, espero que me puedan ayudar con ese problemita y asi poder tener mejor SEO en mi blog.