Ver Mensaje Individual
  #7 (permalink)  
Antiguo 21/01/2012, 11:26
RGT
Usuario no validado
 
Fecha de Ingreso: noviembre-2008
Mensajes: 505
Antigüedad: 15 años, 5 meses
Puntos: 5
Respuesta: Cual es la funcion para que aparesca el nombre del Autor del post?

Tengo esto:

Código PHP:
        <?php $post $posts[0]; // Hack. Set $post so that the_date() works. ?>
        <?php /* If this is a category archive */ if (is_category()) { ?>
        <h3 class="sectiontitle"><div style="padding-top:10px;padding-left:10px;"><span class="IsCategory"></span><?php echo single_cat_title(); ?></div></h3>
        <?php /* If this is a tag archive */ } elseif (is_tag()) { ?>
        <h3 class="sectiontitle"><div style="padding-top:10px;padding-left:10px;"><span class="Tag"></span><?php single_tag_title(); ?></div></h3>
        <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
        <h3 class="sectiontitle">Archive for <?php the_time('F jS, Y'); ?></h3>
        <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
        <h3 class="sectiontitle"><div style="padding-top:10px;padding-left:10px;"><span class="Archivos"></span><?php the_time('F Y'); ?></div></h3>
        <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
        <h3 class="sectiontitle">Archive for <?php the_time('Y'); ?></h3>
        <?php /* If this is an author archive */ } elseif (is_author()) { ?>
        <h3 class="sectiontitle"><div style="padding-top:10px;padding-left:10px;"><span class="Autor"></span><?php the_author(); ?></div></h3>
        <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
        <h3 class="sectiontitle">Blog Archives</h3>
        <?php ?>