Latest Posts on Static Front Page
Hello, I’ll keep it quick.
I wanted my friend to be able to update their own home page text.
I decided to create a “Home” Page and a “Blog” Page then change the “Reading” settings in admin to:
Front Page= Home
Posts Page= Blog
I made a copy of the index.php and turned it into a template to apply to my new “Home” page.
This works great as I now have a homepage that acts like the regular index page and also a Blog page for listing the latest posts.
What i would now like to do is have a list of the two latest posts on my new Home page, but can only get it to display a bullet list using:
<?php wp_get_archives(‘type=postbypost&limit=15’); ?>
I basically want it to have the excerpt and eventually a thumb also.
Any help would be entirely appreciated.
- The topic ‘Latest Posts on Static Front Page’ is closed to new replies.