List-all Function
-
I am new to WordPress MU and am trying to setup an index page that lists all of the blogs within my site. I am using the List-All Project from http://wpmudev.org/project/List-All.
I have tried using the list_all_wpmu_blogs fucntion, but I am unable to get it working.
I am calling the function from my home.php page using:
<?php list_all_wpmu_blogs(LIMIT, DISPLAY, BEGIN_WRAP, END_WRAP, ORDER); ?>The error I am getting is:
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘LIMIT’ at line 1]
SELECT blog_id, last_updated FROM wp_blogs WHERE public = ‘1’ LIMIT LIMITAny idea why I am getting this error? Also is there a better method to setup an index page.
The topic ‘List-all Function’ is closed to new replies.