Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,887
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
Just do a select query to the wordpress database. and echo the results.
// Query
global $wpdb;
$rows = $wpdb->get_results("
SELECT id, display_name
FROM " . $wpdb->prefix . "users
ORDER BY id DESC LIMIT 20"
);
// Show 'em...
foreach($rows as $row):
echo $row->display_name;
endforeach;
Just change limit, to how many you want to display and DESC to ASC for order.
Enjoy, my last post!