Ver Mensaje Individual
  #7 (permalink)  
Antiguo 19/08/2011, 09:46
Avatar de kederabek
kederabek
 
Fecha de Ingreso: agosto-2011
Mensajes: 9
Antigüedad: 12 años, 8 meses
Puntos: 0
Respuesta: Poner un post siempre en primer lugar

Una opción sin necesidad de plugin, es crear una categoría especifica para ese post y luego meterte en el código de tu theme para llamar la categoría creada desde tu index.php.

Este codigo lo pegas en tu index.php
Código HTML:
<?php $recent = new WP_Query("category_name=nombre de tu categoria&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>

<div class="post">
<h2 class="postTitle"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<div class="postMeta">
<span class="date"><?php the_time('M.d, Y') ?></span> in
<span class="filed"><?php the_category(', '); ?></span>
<span class="commentcount"><?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?></span>
</div>
<div class="postContent"><?php the_content(); ?></div>
</div> <!-- Closes Post -->

<?php endwhile; ?> 
Donde sale "nombre de categoría" pones el nombre de tu categoría, si quieres mostrar mas de un post cambias showposts=1 por el numero que quieras.
Espero te funcione.
Saludos.