The MU forums have moved to WordPress.org

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

  1. iwillpayou
    Member
    Posted 13 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'); ?>

    and

    <?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
    Member
    Posted 13 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 13 years ago by iwillpayou
  • Latest reply from dsader