[resolved] Latest posts list on a non-WP page? (5 posts)

  1. richardhenry
    Posted 9 years ago #

    Hi there, thanks in advance for any help.

    Basically, I'm planning to install WordPress in the directory http://www.interactiverichard.co.uk/blog , but I would really like to have a list of say, the last 6 posts appear somewhere on the homepage at http://www.interactiverichard.co.uk (not part of the WP installation).

    What's the best way to list the last 6 post titles (and perhaps a short snippet from the post) made linkable to the actual blog entry? And then put this on the non-WP homepage? Perhaps I could use PHP to grab these from the database or something... I'm not sure, so what do you think is best?

    Cheers, Rich

  2. Kafkaesqui

    Posted 9 years ago #

    The topic that appears at *least* once a day...

    To 'intergrate' WordPress in a non-WP PHP document:

    To show only last 6 posts (if you're displaying more or less than that on the blog's home page):

    To display a short snippet:

    Another option is to collect the posts through RSS. Some WP-related tools for that can be found here (CG-Feedread may fit best):


  3. moshu
    Posted 9 years ago #

    Since your main page is .php - it would be easy: use your rss feeds and a feedreader.
    If you search for feedread or feedreader you'll fnd several options.

  4. moshu
    Posted 9 years ago #

    [My typing is slow...]

  5. richardhenry
    Posted 9 years ago #

    Sorry for repeat post.

    Thanks for all the help :D

Topic Closed

This topic has been closed to new replies.

About this Topic