Forums

How to show recent posts from another blog? (5 posts)

  1. nikhu07
    Member
    Posted 4 months ago #

    Hi,
    I am using wordpress multiblog system and want to show recent posts from other blog in network on the main blog. I got the plugin which shows only title. Is there any way that I can pull image too? If there's any code for that, please help me!

  2. Peter Shilling
    Member
    Posted 4 months ago #

    Easiest way is to use the built in WordPress RSS widget.

    Go to the widget area of wordpress and drag the RSS widget into one of your side bars then configure it with a feed from your other site.

    If the feed is configured to images you may get the images too.

    Otherwise trying something like WPMU's autoblog tool

    See http://premium.wpmudev.org/project/autoblog
    [sig moderated]

  3. nikhu07
    Member
    Posted 4 months ago #

    In widget area, after selecting RSS it do not show option to configure feed to images and in WPMU's autoblog it posts on the site, I don't want that, I just want to show first five post from my other blog with image and title!

    I think this KB Advanced RSS plugin can help my problem http://wordpress.org/extend/plugins/kb-advanced-rss-widget/

    But I can't configure it correctly!!!

  4. keesiemeijer
    moderator
    Posted 4 months ago #

    Use switch_to_blog() http://codex.wordpress.org/WPMU_Functions/switch_to_blog, do the query and then restore back using restore_current_blog()
    http://codex.wordpress.org/WPMU_Functions/restore_current_blog

  5. nikhu07
    Member
    Posted 4 months ago #

    I wan't to have widget in sidebar displaying title and image!

Reply

You must log in to post.

About this Topic