WordPress.org

Support

Support » Multisite » get latest article of a specific blog

get latest article of a specific blog

  • Raisis
    Member

    @raisis

    Hi everybody,

    I use the wordpress-mu-sitewide-tags plugin to display the latest articles of the entire network. Its a wonderful plugin!

    Now I need a possibility to show the latest articles of my main blog at the other blogs. I tried this one but it does not work…

    <?php $my_query = new WP_Query('blog_id=1showposts=1&cat=1'); ?>
    <?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
    <?php the_title(); ?>
    <?php endwhile; ?>

    Nothing is displayed when I use this code. Is it possible to show the latest x articles of the main blog at the other blogs?

Viewing 1 replies (of 1 total)
  • Andrea Rennick
    Moderator

    @andrea_r

    Why not use the dashboard admin feed feature? Then all your site owners can see the latest post from your main blog in their own dashboard.

Viewing 1 replies (of 1 total)
  • The topic ‘get latest article of a specific blog’ is closed to new replies.