Support » Networking WordPress » Including posts/records from other multisite

  • 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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

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

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

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Including posts/records from other multisite’ is closed to new replies.