static front page with RSS feeds
Let me explain.. I have 2 blogs under root as a & b. I created static index.php providing lings to the blogs. Now I want to add the RSS feeds or last 3posts from blog a & blog b onto the static front page which when clicked should go the coresponding..
After going thru the support forums I came across this code:
$lastposts = get_posts(‘numberposts=3’);
foreach($lastposts as $post) :
” id=”post-<?php the_ID(); ?>”><?php the_title(); ?>
<?php the_content(); ?>
<?php endforeach; ?>
This is working fine as I get the last 3 posts from blog a to static page. But how to get the last 3 posts from blog b in to the static page?
Anyone has idea..
- The topic ‘static front page with RSS feeds’ is closed to new replies.