The MU forums have moved to

List of blogs (4 posts)

  1. danrodrigues
    Posted 15 years ago #

    Hi, how can i do to list all my actives blog on my home page?
    The name of table is wp_blogs, and i need to put a list on my blog.

  2. danrodrigues
    Posted 15 years ago #


  3. maxaud
    Posted 15 years ago #

    I created a page template and a plugin to accomplish this:

    first, download:

    I added the following where I wanted it to show up:

    $sort = $_GET['sort'];
    switch ($sort)
    case 'url':
    list_all_wpmu_blogs('', 'url', '<p>', '</p>', 'updated');
    default :
    list_all_wpmu_blogs('', 'name', '<p>', '</p>', 'updated');

    Now if you go to the page it will show a list of blogs names sorted by recently updated

    if you go to this domain:
    it will show the same list of blogs but their URLs instead of the name of blog.

  4. tdjcbe
    Posted 15 years ago #

    There's a tutorial at Andrea's site on this as well. Can't put up a link currently but you should be able to find it.

    Be sure to read the comments.

About this Topic

  • Started 15 years ago by danrodrigues
  • Latest reply from tdjcbe