No short code i think. The following code will help $users = $wpdb->get_var("SELECT COUNT(ID) FROM $wpdb->users"); echo $users." registered users."; Code (markup):
Thanks Dsimi Where do I put this code? I tried just pasting it to the footer and a stats widget, but both just showed the same code's text, as is. Any help with this? Cheers.
If u want to show the users number in footer, paste the code into footer.php .But start with php tag like below <?php $users = $wpdb->get_var("SELECT COUNT(ID) FROM $wpdb->users"); echo $users." registered users."; ?> Code (markup):