SHARE
TWEET

hilo #64337

23r9i0 Jul 20th, 2012 147 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php if ( have_posts() ) : $count = 0; //definimos la variable y asignamos el valor inicial ?>
  2. <?php while ( have_posts() ) : the_post(); $count++; // servira para contar los post del bucle ?>
  3. <?php if($count == 1 ): ?>
  4. <?php /*
  5.  aqui hiria el codigo para mostrar los datos del post
  6. que se tendria que usar el the_content()
  7. */ ?>
  8. <?php else : ?>
  9. <?php /*
  10.  aqui hiria el codigo para mostrar los datos del post
  11. que se tendria que usar el the_excerpt()
  12. */ ?>
  13. <?php endif; ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top