I basically want a Wordpress "Page" that acts just like the home page and loops through recent posts and displays them. How do I do this?
views:
35answers:
2
+1
A:
If you go to Settings->Reading and then for "Front Page Shows" select static page, and then select a page from the dropdown, then edit the source code for this file to include a standard WP loop like -
<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<h2><?php the_title() ?><h2>
<?php endwhile; endif; ?>
Tom Walters
2010-10-25 09:24:01
Thanks for the reply, but I don't want to change the home page. I just want another page that has all the posts.
Drew LeSueur
2010-10-25 19:24:38
+1
A:
Use the wordpress loop, but you can control which posts show up in the loop using query_posts()
Drew LeSueur
2010-10-25 19:41:50