The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Have a WordPress update feed on a static HTML page?

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #25524

    Hello, all–

    My current client is looking for the following: Her actual site is in static HTML with a link to her WP blog that is on her domain. But, she also wants, on the static HTML homepage of her site, to have a little "Feed" of the most recent update to her blog (including upcoming shows, etc.) that would only feed if she uses a certain tag in WP when creating her post.

    Does this make sense, and is this possible? Probably using PHP or something, I assume.

    And just for the record, she doesn’t want the whole site built in WP, just the blog and the ability to feed recent posts from the blog to the home page.

    Thanks for any help!



    Thanks for the reply, Apostrophe. Right now, though, her current site is built (has been for about 6 months now) and I was hoping to avoid doing a complete conversion over to WP. This was just something she was asking about. I’ll take a look at the Simplepie site.

    Anyone else have any ideas? Some PHP perhaps?


    Thanks, ikthius. I PM’d you to pick your brain!


    The easiest way is SimplePie.

    Use this url as the rss feed for your site


    Some really good ideas posted so far in this thread, so I thought I’d add another one to the mix:

    You can actually do this by adding only some Javascript to your existing HTML (through the magic of jQuery). There is even a jQuery plugin to make this process easier –

    Example (courtesy of GitHub):


    jFeed – jQuery feed parser plugin – example

    jFeed – jQuery feed parser plugin – example


    I’m doing something similar on a site that I’m working on. I’m including two loops, though. I tested it and it works fine. One of the loops just shows one post and the other loop shows two. Is there any code I can add to exclude the latest post on my second loop? I’m not very familiar with PHP but I was thinking there could be something I could add to this snippet:


    I found out how to do this:

    query_posts(‘showposts=5&offset=1’); // Second loop, we get 5 posts excluding the most recent.
    if (have_posts()) :
    while (have_posts()) : the_post(); ?>
    // WordPress loop
    endif; ?>


Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.