I have WPMU 1.3 installed and everything seems to be working fine. On the main "portal" page (when you go to the main site), I would like to add a list of all the blogs on the site as well as a list of recent posts from across all blogs.
In the WordPress Codex there are the following widgets listed that would seem to provide what I am seeking:
http://codex.wordpress.org/WPMU_List_All_Blogs_Widget
http://codex.wordpress.org/WPMU_List_All_Postings_Widget
http://codex.wordpress.org/WPMU_List_New_Blogs_Widget (listed as untested)
However, I can't seem to get this code to work.
- I have tried created a widgets.php file in my mu-plugins directory. That gave me an error that register_sidebar_widget was not a known function.
- I tried putting a similar file in plugins and that didn't work either.
- I tried editing the widgets.php file in the wp-admin directory and this, too, did not work.
In further searching around (grep is your friend), I can't find a 'register_sidebar_widget' function but there is a 'wp_register_sidebar_widget' function that looks like it takes different parameters (and I did try modifying the widget code but that didn't work). The widget code snippets also seem to call functions that don't appear in the code base such as 'list_all_wpmu_posts'... at least, I couldn't find such a function in the code when I searched it.
So at this point I am led to conclude that either:
1. There is some place else I need to put this.
2. These code snippets rely on some other plugin or add-on that I don't have installed with WPMU 1.3.
3. These code snippets are for an older version of WPMU, perhaps one that relied on the widgets plugin when it was needed and won't work with WPMU 1.3.
In my ideal world, I would like these functions not as sidebar widgets but as something that I could put on the main home page. However, I'd also like the "List All Blogs" as a widget that I can put onto each of the sidebars of the blogs in the site (there will only be 5-20 blogs). Right now I'll take whatever I can get!
Any help or suggestions would be greatly appreciated.
Thanks,
Dan