Ver Mensaje Individual
  #24 (permalink)  
Antiguo 19/05/2011, 15:06
Avatar de rogertm
rogertm
Mod->Cuba
 
Fecha de Ingreso: julio-2005
Ubicación: /home/Cuba/Habana/rogertm/
Mensajes: 2.922
Antigüedad: 18 años, 9 meses
Puntos: 638
Respuesta: Colocar "balazo" al título (periódico digital)

Pues en tu archivo functions.php pegas el código que te dio @metacortex, entonces en cada uno de esos archivos, donde quieras que veas the_title():
Código PHP:
Ver original
  1. <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
pegas el llamado a dicha función, algo así:
Código PHP:
Ver original
  1. <?php mi_antetitulo(); ?>
  2. <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
Creo que para que esté perfecto pudieras hacer algo así:
Código PHP:
Ver original
  1. <h2>
  2.     <span><?php mi_antetitulo(); ?></span>
  3.     <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>
  4. </h2>
Osea, meter todo dentro del h2, luego con CSS acomodas el antetítulo dentro de la etiqueta span para que le des forma...

Saludos...
__________________
Friki y Blogger por Cuenta Propia:213
Twenty'em: Theming is Prose