Contenu connexe
Similaire à HTML, WordPress, and SEO (20)
HTML, WordPress, and SEO
- 8. Meta Description: Make it Relevant <meta name="description" content="<?php bloginfo('description'); ?>" /> <?php if ( is_single () || is_page () ) : if ( have_posts () ) : while ( have_posts () ) : the_post () ; ?> < meta name= " description " content= " <?php the_excerpt () ; ?> " /> <?php endwhile; endif; elseif(is_home ()) : ?> < meta name= " description " content= " <?php bloginfo( 'description' ); ?> " /> <?php endif ; ?>
Notes de l'éditeur
- Remy Sharp’s Script for enabling HTML5 in IE