Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ( have_posts() ) : $count = 0; //definimos la variable y asignamos el valor inicial ?>
- <?php while ( have_posts() ) : the_post(); $count++; // servira para contar los post del bucle ?>
- <?php if($count == 1 ): ?>
- <?php /*
- aqui hiria el codigo para mostrar los datos del post
- que se tendria que usar el the_content()
- */ ?>
- <?php else : ?>
- <?php /*
- aqui hiria el codigo para mostrar los datos del post
- que se tendria que usar el the_excerpt()
- */ ?>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement