Forums

Can you pull in a feed from a separate blog? (2 posts)

  1. kokopellisk
    Member
    Posted 4 years ago #

    Hi Peeps.

    I have two blogs on the one site now:

    http://moments.pelli.co.uk/blog/
    http://moments.pelli.co.uk/news/

    I am trying to pull in a feed from each in the left panel, so lates news posts on the blog page and vice versa using the following code:

    `<?php
    require('../blog/wp-blog-header.php');
    query_posts('cat=1,3&showposts=2');
    while (have_posts()) : the_post(); ?>
    <p class="small_grey_text"><?php the_time('F jS, Y') ?></p>
    <div class="hp_blog_title">
    " rel="bookmark" title="Permanent Link to
    <?php the_title(); ?>"><?php the_title(); ?>
    </div>
    <?php the_excerpt('…'); ?>
    <?php endwhile;
    ?>

  2. Michael Fields
    Theme Wrangler
    Posted 4 years ago #

    Have you checked out the First RSS plugin yet. Seems like it is a perfect match for your project.

Topic Closed

This topic has been closed to new replies.

About this Topic