The MU forums have moved to

whats how do I figure out blog id? (2 posts)

  1. iwillpayou
    Posted 14 years ago #

    I have something like <?php query_posts('author=2&showposts=4'); ?>

    Say if i just wanted to do a blog... I have tried <?php query_posts('blog_id=2&showposts=4'); ?>


    <?php query_posts('blog=2&showposts=4'); ?>

    but it doesn't seem to get the correct blog.. is there a way to write this function in?

  2. dsader
    Posted 14 years ago #

    Have you got Donncha's Sitewide Tags Pages plugin up and running? When you do, the post urls(guids) will all lead back to the originating blog. Any(most) of the usual wordpress widgets, author templates, archives, and loops will work "out of the box".

About this Topic

  • Started 14 years ago by iwillpayou
  • Latest reply from dsader