Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $args = array( 'numberposts' => 10, 'order'=> 'ASC', 'orderby' => 'title' );
- $postslist = get_posts( $args );
- foreach ($postslist as $post) : setup_postdata($post); ?>
- <div>
- <?php the_date(); ?>
- <br />
- <?php the_title(); ?>
- <?php the_excerpt(); ?>
- </div>
- <?php endforeach; ?>
Advertisement
Add Comment
Please, Sign In to add comment