Recent Posts on homepage (3 posts)

  1. daveshoe1
    Posted 12 years ago #

    I have a static homepage above my wp install and would like to include a "recent posts" list on it. Can I use this hack to do that?? I installed "recent posts" and it will work on the wp index. I then created a seperate file with only <?php get_recent_posts(); ?> in it. I then tried to include it into my static home page, but I get no text. The rest of my page loads fine, but I don't get my list of recent posts.
    Any help on making this work or another way to accomplish my goal is greatly appreciated. Or if someone can direct me to the answer somewhere in the forum, that would be great.

  2. Michiel
    Posted 12 years ago #

    get_archives works indeed perfect. Is there also a possibility to get the output like this:
    Name of the post, date of the post.
    I tried to nest get_archives with 'the_date' tag but did not succeed yet... is this at all possible?

  3. Anonymous
    Posted 12 years ago #

    Use RSS

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.