Can you pull in a feed from a separate blog?
-
Hi Peeps.
I have two blogs on the one site now:
https://moments.pelli.co.uk/blog/
https://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;
?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Can you pull in a feed from a separate blog?’ is closed to new replies.