Hello,
I am creating a static page for my blog homepage.
I have about 4 paragraphs, and under the 4 paragraphs I would like to display the 5 latest posts.
I have added the following code below the text:
<h2>Recent Posts</h2>
<?php wp_get_archives('title_li=&type=postbypost&limit=5'); ?>
Problem is when I save the page and preview it, all I see is "Recent Posts", but no recent posts under that. Am I doing something wrong? Is there some easier way to do this?
Thanks!