Displaying Wordpress Recent Posts on a Static Page?

Discussion in 'WordPress' started by amitpatel_3001, Oct 23, 2006.

  1. #1
    Is this possible?
    Like in case of a phpbb forum we can show the later forum threads and posts on a static webpage, can we show the same thing in case of a wordpress blog.
    If its possible let me know what code we need to include on the static page or else what is the wordpress plugin if available.
     
    amitpatel_3001, Oct 23, 2006 IP
  2. SkiRat44

    SkiRat44 Peon

    Messages:
    480
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try this:

    <ul><?php get_archives('postbypost', 25); ?></ul

    25 being the # of posts you want in the list.
     
    SkiRat44, Oct 23, 2006 IP
    JagoHarry likes this.
  3. amitpatel_3001

    amitpatel_3001 Results Follow Patience

    Messages:
    14,074
    Likes Received:
    1,178
    Best Answers:
    0
    Trophy Points:
    430
    #3
    wow thanks for a reply :)
    if the blog is here www.mysite.com/blog and i want latest 10 posts in my www.mysite.com/index.html is it possible?
    Iam interested because i want to integrate 2 blogs on the same page so where to give the blog name?
     
    amitpatel_3001, Oct 23, 2006 IP
  4. saadahmed007

    saadahmed007 Admínistratör

    Messages:
    5,272
    Likes Received:
    869
    Best Answers:
    0
    Trophy Points:
    380
    #4
    saadahmed007, Oct 23, 2006 IP
  5. Scriptona

    Scriptona Notable Member

    Messages:
    4,957
    Likes Received:
    265
    Best Answers:
    0
    Trophy Points:
    280
    #5
    Thanks Saad
     
    Scriptona, Oct 23, 2006 IP
  6. JagoHarry

    JagoHarry Well-Known Member

    Messages:
    2,311
    Likes Received:
    178
    Best Answers:
    0
    Trophy Points:
    183
    #6
    That's a great tip. Will have to remember that one!
     
    JagoHarry, Oct 24, 2006 IP