Created
March 5, 2012 16:56
-
-
Save billrobbins/1979263 to your computer and use it in GitHub Desktop.
Add Posts To Progress Home
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="content shadow clearfix"> | |
| <div class="full"> | |
| <?php $recent = new WP_Query("showposts=3"); while($recent->have_posts()) : $recent->the_post();?> | |
| <article id="<?php the_ID(); ?>" <?php post_class(); ?>> | |
| <h2 class="title"><?php the_title(); ?></h2> | |
| <?php the_excerpt(); ?> | |
| </article> | |
| <?php endwhile; wp_reset_query(); ?> | |
| </div> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment