WordPress.org

Ready to get started?Download WordPress

Forums

wp_list_sites() ??? (14 posts)

  1. Alexander Zeiher
    Member
    Posted 4 years ago #

    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...

  2. I really need to revive the old list_all plugin....

    http://wpmututorials.com/how-to/making-a-member-list-blog-directory/

  3. Alexander Zeiher
    Member
    Posted 4 years ago #

    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

  4. 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 :)

  5. Frumph
    Member
    Posted 4 years ago #

    Here's the site list widget I wrote, works fine with 3.0

    http://pastebin.com/sLULjVyP

    Enjoy.

    note: also look at function get_blog_list in wp-includes/ms-blogs.php you can do a lot more with that.

  6. thevegastourist
    Member
    Posted 4 years ago #

    I would agree, this should be built into WP3.0.
    Wasn't there something like this before in the original MU??

  7. Mark / t31os
    Moderator
    Posted 4 years ago #

  8. thevegastourist
    Member
    Posted 4 years ago #

    I 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....

  9. Alexander Zeiher
    Member
    Posted 4 years ago #

    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...

  10. sublink
    Member
    Posted 4 years ago #

    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!

  11. Frumph
    Member
    Posted 4 years ago #

    @thevegastourist I put a widget in that pastebin that will work right away for you.

  12. Webzllc
    Member
    Posted 4 years ago #

    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?

  13. socialink
    Member
    Posted 4 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic