YD WPMU Bloglist Widget
YD WPMU Bloglist Widget Plugin page: Download it here from WordPress.org
YD WPMU Bloglist Widget
A customizable sidebar widget and template function to display a multi-column ordered list of subsites (with post count) on a page of the WPMU main site.
Description
Show a list of all the WPMU sub-sites
This WordPress MU plugin installs a new sidebar widget that can display the children sites of your main mother site.
It also creates a new PHP function that can be included in any template to display an ordered list that can be designed as a block of information using CSS.
If you don’t like the widget or don’t use sidebars, you can also include the list in the content of any page or post of your blog,
by simply adding the special `[!YDWPMUBL]` special tag, or include it in a template with the `<?php yd_display_wpmu_bloglist() ?>` function.
The list design is highly customizable allowing different settings when displayed as a widget on the home page and other blog pages, and when used inside templates. You can choose to display the list in multiple columns.
The plugin uses cache to avoid multiple database query.
It has its own widget control pannel and admin options page.
It is fully internationalized.
Base package includes .pot file for translation of the interface, and English and French versions.
The plugin can be (and is) used to display text in any language and charset, including Chinese.
Active support
Drop me a line on my YD WPMU Bloglist plugin support site to report bugs, ask for a specific feature or improvement, or just tell me how you’re using the plugin.
Description en Français :
Ce plug-in WordPress installe un nouveau widget dans votre barre latérale qui peut afficher les “sous-sites” de votre site principal WordPress MU dans une présentation en bloc multi-colonnes.
Si vous n’aimez pas le principe du widget ou n’utilisez pas de barres latérales, vous pouvez inclure la liste des blogs n’impore où dans le contenu des pages et billets de votre blog, simplement en insérant un “tag” spécial.
Le plugin utilise un système de cache pour éviter les requêtes de base de données redondantes.
Il a son propre panneau de contrôle et sa page d’option dans l’administration.
Il est entièrement internationalisé.
La distribution standard inclut le fichier de traduction .pot et les versions française et anglaise.
Le plugin peut fonctionner avec n’importe quelle langue ou jeu de caractères y compris le chinois.
Pour toute aide ou information en français, laissez-moi un commentaire sur le site de support du plugin YD WPMU Bloglist Widget.
Funding Credits
Original development of this plugin has been paid for by Wellcom.fr. Please visit their site!
Le développement d’origine de ce plugin a été financé par Wellcom.fr. Allez visiter leur site !
Translation credits
Dutch translation by Rene
German translation by Rian Kramer
If you want to contribute to a translation of this plugin, please drop me a line by e-mail or leave a comment at the bottom of this page.

Epson Stylus SX105 sous Ubuntu Linux : faire fonctionner le scanner
What’s inside a Verbatim JH8626 external USB hard drive?
Taking apart a Sony VAIO to replace the hard disk drive
Disque dur : Comment j’ai perdu et récupéré toutes mes données
WordPress fast page updates. At last.
le 4 March 2010 à 8:49 h
Outstanding, this feature has been much needed.
However, will this work in the new WordPress 3.0 Multisite now that WPMU is discontinued?
le 4 March 2010 à 11:16 h
@Anonymous: it’s too early to say how it will work with 3.0, but I am confident we can make it work when it’s there.
le 4 March 2010 à 15:15 h
The order and limit does not function.
Maybe because the vars $tmp_order and $tmp_limit was not setted in yd_get_all_wpmu_blogs function.
le 4 March 2010 à 15:31 h
@Luis: Thanks for reporting the bug, I will correct that ASAP.
le 4 March 2010 à 16:02 h
There was no alt attribute in “a” tag. It is a XHTML error. If you want this (for any reason) maybe you should not add it if the attribute value is empty (for users that not want it).
le 4 March 2010 à 16:36 h
I have translated the plugin to Spanish and Galician. If you say me where, I can send it to you.
le 4 March 2010 à 18:43 h
@Luis: I will correct the “alt” attribute in the <a> tag the way you suggested. And include the Spanish and Galician translation in version 0.1.1 that will ship tonight or tomorrow. I send you an e-mail so you can send them over to me. Thanks a lot!
le 5 March 2010 à 1:07 h
@All: version 0.1.1 has been released. It includes many bugfixes and a Spanish version, thanks to Luis of Arume in Spain. Please upgrade.
le 10 March 2010 à 16:50 h
Great plugin!
Not quite getting the code to hide the post count..can you help?
le 13 March 2010 à 3:47 h
Just want to say this is a great plugin. Thank you for sharing.
le 25 March 2010 à 6:06 h
Having issues with the generated links…instead of : blah.drunkencoders.com i get: drunkencoders.com/blah.drunkencoders.com …any thoughts?
le 25 March 2010 à 6:19 h
Got it to work by forcing VHOST detection at line 1075-1081…thanks for the great plugin
le 28 March 2010 à 0:45 h
I’m having the same issue as Jason… how do I fix this?
le 5 April 2010 à 20:41 h
Same thing here , the links are duplicated , same as Jason !!
Please advise.
le 7 April 2010 à 14:28 h
@Jason: can you send me the modified code? (my e-mail address is indicated at the top of the php files) — I could include it as an optional fix in a new release. It would benefit other people having the same issue. Thanks.
le 21 April 2010 à 15:35 h
Great plugin, but I have the same issue of duplicate links using wpmu 2.9.2 with buddypress 1.2.3.
Thx
le 22 April 2010 à 12:36 h
Same problem for me, but I fixed it by replacing lines 438-439 with :
$html .= $options[$i]['before_item'] .
‘<a href="http://' . $blog['siteurl'] . '" target="_blank"';
Now links point to right subdomains and o9pen in new page/tab.
Thank you for plugin!
le 22 April 2010 à 14:41 h
@Marius: thanks to pointing me towards the right direction for this bug. I will put a bugfix in a new release of the plugin very soon.
le 4 May 2010 à 0:44 h
@All:
I’m pleased to annouce that version 1.0.0 of the YD WPMU Bloglist Widget plugin is just out. After more than 500 persons downloaded this plugin, with no more bug report, the beta testing period is now officially considered over.
The stable version 1.0.0 includes the aforementioned bugfix, plus an improved options page design and a Dutch translation.
le 5 May 2010 à 15:35 h
i like so much this plugin. Thanks a lot for great job!
le 4 June 2010 à 2:14 h
Maravilhoso Plugin. No “tema home do wpress”, existe um comando na ‘home.htm’ e lá tem ainda a atualização daquele blog. Tentei descobrir como incluir um “blog atualizado em”, logo após a contagem dos “posts”, mas eu não sei PHP, apenas arrisco, portanto, não tive sucesso. Dever haver um comando que faça isso.
A “Tabela” é perfeita e pode usar com CSS. Se descobrires como fazer o dia da atualização do Blog/MU, seria muito bom.
Eu gostei mesmo!
[made in brazil, gaúcho]
le 4 June 2010 à 8:32 h
@Reinaldo
I don’t speak Brazilian but Google Translate makes me believe you want to be able to include a “blog actualized today” icon after the post count for blogs that have received a new post in the last 24 hours. Am I right?
I will consider including this interesting feature in a future release: the idea would be to give a specific CSS style to list items corresponding to blogs that have been updated in the last 24 hours.
Using CSS, you can then add the icon the way you want.
le 19 June 2010 à 23:52 h
I’m sure that in order to have proper sort ordering by postcount, you have to modify the functions:
function yd_asort_by_postcount( $a, $b ) {
return ($a["post_count"] > $b["post_count"] ? true : false );
}
function yd_asort_by_postcount_desc( $b, $a ) {
return ( $a["post_count"] > $b["post_count"] ? true : false);
}
so far it sorts by postcount alphabetically, not numerically
le 24 June 2010 à 14:17 h
@Bohdan:
You are right, this looks very much like a bug. I will release a bugfix ASAP.
Thank you very much for noticing.
le 24 June 2010 à 15:02 h
@All:
Version 1.0.2 was just released, including the bugfix suggested by @Bohdan and a German translation of the plugin. Download it here:
http://downloads.wordpress.org/plugin/yd-wpmu-bloglist-widget.zip
le 24 June 2010 à 17:43 h
@All:
I am pleased to announce that the latest version of this plugin is fully compatible with WordPress 3.0
le 26 June 2010 à 1:29 h
If you select Limit: 1 in Data extract and sort options it doesn’t work, it outputs:
“There are currently no active blogs.”
le 26 June 2010 à 12:42 h
I am having problem with the plugin version 1.0.2. Install on wp3.0. The side bar say “there are currently no active blogs”.
le 27 June 2010 à 10:27 h
@Patung
There might be a slight bug with the “limit” feature : if you want to limit to 1 you should actually ask for limit=2 (because the main blog is not listed/counted). I shall correct this problem in a feature release. Limiting to one is usually not very useful anyway…
le 27 June 2010 à 10:31 h
@Robin
I tested v.1.0.2 on WP3.0 last week on a site with 90 blogs and it worked fine, both the template function and the widget. How many blogs do you have in your network? Are they active? Any one else experiencing problems with WP 3.0?
le 27 June 2010 à 18:37 h
I downloaded the latest version of the plugin, and installed onto a wpmu site upgraded to WP 3.0.
Initially I installed in the mu-plugins folder, but no settings page was available, and no widget created.
I then re-installed in the plugins directory, the plugin was available for activation. On activation, the settings page was available, but when I went to the widget page for any theme, no widget was available, and the plugin had been deactivated.
Any help apprciated.
le 28 June 2010 à 17:28 h
@Richard
I think you are not familiar with the way plugin installation works on wpmu (or on a WP3.0 site network). If you want the plugin (and its widget) to be available in all your networks’ blog admin, you should enable the plugin “site-wide” (wpmu) or “network-wide” (wp3); otherwise, the plugin and widget are only available in the main blog’s admin (and so you can see the widget only in the main blog’s theme page). I believe this is probably the case here from what you tell me.
le 16 July 2010 à 2:52 h
Can I make a request? Option to exclude blogs by ID.
le 22 July 2010 à 0:19 h
I think this is a marvelous plugin, it can be even better (for me) if there is a way to limit (restrict) the listing to a particular segment of my blog tree. I have children on my installation with children of their own, and in certain instances, I would like to have the plugin operate on a site by site (or network by network) basis. Is this even a possibility?
le 23 July 2010 à 11:59 h
@Brian:
Not right now, I might consider this feature for a future release if there is enough interest or if someone pays for the additional developments.
le 23 July 2010 à 12:23 h
@ Brian
How could we create children blogs under children blogs? I checked for this option.But failed.
I f I have two children blogs B and C registered by X and Y .The X and Y are not able to offer blogs for Xb and Xc .I tried from my admin panel If there is a option .But I didn’t find that thing.
le 25 July 2010 à 0:39 h
@ Asshu
There is an older WPMU plugin that I used to accommodate this.
Plugin Name: MU Multi-Site
Plugin URI: http://www.jerseyconnect.net/development/
Description: Adds a Sites panel for site admins to create and manipulate multiple sites.
Version: 0.0.7
Author: D Dean
Author URI: http://www.jerseyconnect.net/
This would allow me to register X.com and Y.com as TLDs and then offer Sub-sites from there… A.X.com B.X.com, A.Y.com etc… I hope this is enlightening for you. It appears as though you have to still use this plugin in 3.0 to accomplish this.
le 30 July 2010 à 7:12 h
@ Brian
Thank you !
le 30 July 2010 à 7:15 h
@brian
Sorry ! I can’t able to find any link to plugin there at http://www.jerseyconnect.net/development/.
le 17 August 2010 à 17:40 h
Hello,
Could your widget allow the user to select which sub-blogs to display instead of displaying all of them?
le 17 August 2010 à 19:30 h
@ jane
Good IdeA !
le 28 August 2010 à 6:28 h
…..“There are currently no active blogs.”……..
I did set (WP3 with Buddypress) privacy for “I would like to block search engines, but allow normal visitors” and all my listed blogs are not active yet.
When i set privacy to “I would like my site to be visible to everyone, including search engines (like Google, Bing, Technorati) and archivers”, can i see my blogs in widget again. How can i get to work your plugin for kicked google and other spyware ?
Ciao tom