• Where is the wo

    <?php
    if (is_single()) :
    if ( have_posts() ) :
    while ( have_posts() ) :
    the_post();
    ?><meta name=”description” content=”<?php echo get_excerpt(); ?>” /><?php
    endwhile;
    elseif(is_category()) :
    ?><meta name=”Description” content=”Toda la actualidad rock, noticias, discos, concursos, fechas de conciertos, vídeos… Todo el rock en un mismo portal”><?php
    endwhile;
    elseif(is_page()) : ?><meta name=”description” content=”<?php bloginfo(‘description’); ?>” /><?php
    endif;
    ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Why don´t work this function?’ is closed to new replies.