WordPress.org

Ready to get started?Download WordPress

Forums

Including posts/records from other multisite (4 posts)

  1. rickleijtencom
    Member
    Posted 2 years ago #

    Hi all,

    Is it possible to include, for example "latest news", from website nr1 in to the theme on website nr2. Currently i just call it out on website nr1 with:

    function get_latest_posts_news($amount, $start) {
       rewind_posts();
    
       $last =  $start + $amount;
       $lastposts = get_posts("numberposts=$last&order=DESC&orderby=date&category=3");
       $i = 1;

    but ofcourse category3 isnt the same on website nr2, is it possible to do this? ifso, how?!

    Thanks!

  2. Try using the Diamond MultiSite Plugin. It can do that via shortcodes and widgets.

  3. rickleijtencom
    Member
    Posted 2 years ago #

    Thanks, it looks like its going the right direction but only if can filter on category's it would be awesome....

  4. No, it doesn't grab by category.

    You COULD use WPMU Sitewide Tag Pages plugin, use a site as the 'tags' blog and then sort by category there.

Topic Closed

This topic has been closed to new replies.

About this Topic