wp_list_sites() ???
-
Is there such thing as a wp_list_sites in 3.0?
When running a multisite install it would be quite usefull to be able to list all sites in the network.
With parameters like include, exclude and so on…
-
This may be a starting point: http://thejudens.com/eric/2009/08/wordpress-mu-list-blogs/
I really need to revive the old list_all plugin….
http://wpmututorials.com/how-to/making-a-member-list-blog-directory/
thx for the links π
Such feature should really be built into wordpress.
Would also be nice with a plugin that forces a top navigationbar into the blogs no matter witch theme the user choses. so the visitor always is able to navigate through the blog network
Would also be nice with a plugin that forces a top navigationbar into the blogs no matter witch theme the user choses. so the visitor always is able to navigate through the blog network
Something like this? http://wordpress.org/extend/plugins/wordpress-admin-bar/
Also there’s buddyPress, but that may be a wee bit of overkill for you π
Here’s the site list widget I wrote, works fine with 3.0
Enjoy.
note: also look at function get_blog_list in wp-includes/ms-blogs.php you can do a lot more with that.
I would agree, this should be built into WP3.0.
Wasn’t there something like this before in the original MU??As Frumph already pointed out.
get_blog_list();http://core.trac.wordpress.org/browser/trunk/wp-includes/ms-blogs.php#L542
http://codex.wordpress.org/WPMU_Functions/get_blog_listI appreciate the help. But some of us are not PHP wizards. I guess I will hard code text widgets until there is a real widget that works…
Thanks….
Something like this? http://wordpress.org/extend/plugins/wordpress-admin-bar/
Also there’s buddyPress, but that may be a wee bit of overkill for you π
well, it has the function of forcing it there, but what iΒ΄m trying to make is a bar where all blogs are listed so you can navigate betwen the diffrent blogs in the network.
and i dont want to dive in and change the code if a new blog is added…But iΒ΄ll give get_blog_list a shot…
I’m working on a WordPress 3 powered site, using the multi-site feature. The idea is to have a main ‘portal’, and spin off multiple sub-sites for each topic.
We’d like to have the listing of sub-sites show up in a site-wide navigation. So we’d have something like ‘Home’, ‘Contact’, and a drop-down of ‘Topics’.
It looks like I can write up a little bit of code to get the site listing, but is there a way to integrate this list into the menu system in WordPress 3 so that we can add pages and links along with it? Would I have to build the menu myself as well?
Thanks!
@thevegastourist I put a widget in that pastebin that will work right away for you.
Ok I have it working in a widget
But I would rather output the list to a page
is there a shortcode to do this?we wrote a function at social ink, called wp_get_multisites. if there’s enough demand, we can widgetize it….
social-ink.net/blog/wp_get_multisites-wordpress3-wp3-generating-dynamic-list-of-multisites-or-replacing-get_blog_list
The topic ‘wp_list_sites() ???’ is closed to new replies.