Ver Mensaje Individual
  #8 (permalink)  
Antiguo 27/12/2013, 03:11
Avatar de Scape
Scape
 
Fecha de Ingreso: octubre-2006
Mensajes: 626
Antigüedad: 17 años, 6 meses
Puntos: 7
Respuesta: Poner fechas en entradas

Cita:
Vale yo tengo esta funcion en funcions.php

function twentyeleven_posted_on() {
printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'twentyeleven' ),
esc_url( get_permalink() ),
esc_attr( get_the_time() ),
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() ),
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ),
get_the_author()
);
}

Como añado por ejemplo esto in_category( '5' ) sin cargarmelo por que no doy con ello

Por favor podrías ayudarme con esta duda que me tiene ya obsesionada