User counter on my site
-
Hello guys, i’m a beginner in wordpress.
I want to insert a counter of registered user
i found this php code :<?php $wpcode_user_count = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->users;");?> We Are <?php echo '' . $wpcode_user_count ; ?> Users
but i want to insert digit before number
When i display it i got only for exemple :
we are 12 users but i would like to display it : we are 0012 user
for limited registration
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘User counter on my site’ is closed to new replies.