Hello,
I downloaded the "list all blogs" plugin and I am just wondering how to use it.
These were the instructions with the plugin:
Place "list-all.php" in your mu-plugins directory.
To put a list call list_all_wpmu_blogs(LIMIT, DISPLAY, BEGIN_WRAP, END_WRAP, ORDER);
Parameters:
LIMIT: can be any number or left blank for unlimited.
DISPLAY: Can be either 'name' which displays the blogs name or 'url' which displays the address
BEGIN_WRAP: html or other code that you would like if front of the generated html. Example: '<p>'
END_WRAP: html or other code that you would like after the generated html. Example: '</p>'
ORDER: Can be 'updated' which lists blogs by last updated, 'first_created' which lists blogs by the first blog to the latest, or 'last_created' which lists blogs from the latest to the first createdExample:
list_all_wpmu_blogs('100', 'name', '<p>', '</p>', 'updated');
The above code limites the list to 100 blogs and orders them by last updated.
I put the list-all.php file in the mu-plugins folder, but I do not know how to insert the code. I put in "list_all_wpmu_blogs('100', 'name', '<p>', '</p>', 'updated');" and it does not work. I do not know the proper code to "call" the list.
Could someone please help me. I know this is simple.
Thanks,
Wade