The MU forums have moved to WordPress.org

Lists all blogs on a WPMU site (9 posts)

  1. joeyy
    Member
    Posted 16 years ago #

    Hi, Im new so not sure how to install the plugin from here http://wpmudevorg.wordpress.com/project/List-All i have uploaded the file but it tells me to call list_all_wpmu_blogs('100', 'name', '<p>', '</p>', 'updated'); were do i put this i want to add this to a page i have made.

    Thanks Joe

  2. theapparatus
    Member
    Posted 16 years ago #

    Depends on what you;re trying to do with it and where you want it to display. You may want to look at the wp-content/themes/home/home.php file within the download to see how other functions are used to display lists.

  3. andrea_r
    Moderator
    Posted 16 years ago #

    You have to wrap that bit of code in php tags.

  4. joeyy
    Member
    Posted 16 years ago #

    Well i want a list of blogs on a page i make in the wp mu admin panel.

    Joe

  5. joeyy
    Member
    Posted 16 years ago #

    I tried that but it jst removes it from the editor.. u meen <?php ?> dont you.

  6. ekusteve
    Member
    Posted 16 years ago #

    This may not be exactly what you are after, but if this is something like what you want:

    http://kentuckyclassroom.org/all-blogs/

    Then see my reply in this thread about increasing get_last_updated from 40 to something larger:

    http://mu.wordpress.org/forums/topic.php?id=6662&page&replies=3

    Then download the file in the zip below, unzip it, open allblogs.php and change any of the wording you want to appear on the page, and upload it to your theme...this will serve as a new page template based on the default Kubrick theme.

    http://kentuckyclassroom.org/allblogs.zip

    Then log into your site, go to write a new page, and on the right side, select Allblogs as the page template and publish.

    Note that there is no pagination, so if you have 1,000 blogs and you set get_last_updated to 1000 or more, then they will all show.

    Steve

  7. Ovidiu
    Member
    Posted 16 years ago #

    @ joey

    you are trying to use php in a widget / post / page ?

    That won't work as php is filtered out like you just found out :-) as it is too dangerous to allow for all users.

  8. andrea_r
    Moderator
    Posted 16 years ago #

    If you want it on a page like this:
    http://homeschooljournal.net/member-directory/

    You'll have to go into your template files, and follow this:
    http://codex.wordpress.org/pages#Creating_your_own_Page_Templates

  9. joeyy
    Member
    Posted 16 years ago #

    Thanks all working now ;)

About this Topic