Tema: Cambios CSS
Ver Mensaje Individual
  #8 (permalink)  
Antiguo 20/03/2014, 16:26
Avatar de miguelgalannunez
miguelgalannunez
 
Fecha de Ingreso: febrero-2012
Mensajes: 158
Antigüedad: 12 años, 2 meses
Puntos: 0
Respuesta: Cambios CSS

Ahora he conseguido meter la categoría entre la fecha y el nº de comentarios pero me aparecen en 3 líneas.

Código PHP:
Ver original
  1. <div class="entry-meta">
  2.         <span class="posted-on"><?php _e( 'Posted on', 'graphy' ); ?>
  3.             <?php printf( '<a href="%1$s" rel="bookmark"><time class="entry-date published" datetime="%2$s">%3$s</time></a>',
  4.                 esc_url( get_permalink() ),
  5.                 esc_attr( get_the_date( 'c' ) ),
  6.                 esc_html( get_the_date() )
  7.             ); ?><?php the_category( $separator, $parents, $post_id ); ?>
  8.         </span>
  9.         <?php if ( ! get_theme_mod( 'graphy_hide_author' ) ) : ?>
  10.         <span class="byline"><?php _e( 'by', 'graphy' ); ?>
  11.             <span class="author vcard">
  12.                 <?php printf( '<a class="url fn n" href="%1$s">%2$s</a>',
  13.                     esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
  14.                     esc_html( get_the_author() )
  15.                 ); ?>
  16.             </span>
  17.         </span>
  18.  
  19.         <?php endif; ?>
  20.         <?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
  21.         <span class="comments-link">&middot; <?php comments_popup_link( __( 'Leave a comment', 'graphy' ), __( '1 Comment', 'graphy' ), __( '% Comments', 'graphy' ) ); ?></span>
  22.         <?php endif; ?>
  23.     </div><!-- .entry-meta -->

La línea de código de la categoría es -> <?php the_category( $separator, $parents, $post_id ); ?>

Pero no se donde colocarla para que me salgan las tres opciones (fecha · categoría · nº de comentarios) en una misma línea.

Gracias