How to Display and Manage your Users in WordPress

How to Display and Manage your Users in WordPress

If you are reading this, then I guess that you run a multi-user or multi-author WordPress sites, and you may want to showcase your users on different sections of your wordpress powered site.

The first thing you will need to do is copy and paste the following code in either your theme’s functions.php file or in a site-specific plugin.

function wpb_recently_registered_users() { 

global $wpdb;

$recentusers = '
<ul class="recently-user">';

$usernames = $wpdb->get_results("SELECT user_nicename, user_url, user_email FROM $wpdb->users ORDER BY ID DESC LIMIT 5");

foreach ($usernames as $username) {

if (!$username->user_url) :

$recentusers .= '
<li>' .get_avatar($username->user_email, 45) .$username->user_nicename."</a></li>


else :

$recentusers .= '
<li>' .get_avatar($username->user_email, 45).'<a href="'.$username->user_url.'">'.$username->user_nicename."</a></li>


$recentusers .= '</ul>


return $recentusers;

Now you can display the users on your site by using the following template tag in your theme’s template file such as sidebar.php, footer.php etc:

<?php wpb_recently_registered_users(); ?>

If you want to display newly registered users on a specific page without creating a page template, then you can use a shortcode.
Simply add this code in your theme’s functions.php file or the site-specific plugin, just below the code you entered earlier.

add_shortcode('wpb_newusers', 'wpb_recently_registered_users');

This code will create a new shortcode for you to use in your posts, pages, or widgets. Use it like this:


20+ Plugins to Manage Users in WordPress

User Role Editor

User Role Editor adds functionality and flexibility for changing role capabilities for user roles. The plugin shows the list of capabilities of each role, and you can enable or disable the capabilities of specific roles. This plugin also allows you to create a new role with its own set capabilities.

Delete Me

This is a remarkable plugin that helps you manage your users with ease. With the Delete Me Plugin, you can allow your users with specific roles to delete themselves from the Your profile page. You can do all of these using the shortcodes.

You will love this plugin and you will be able to handle it with great ease and flexibility. It allows you to change your default settings and asks for the user’s confirmation before deleting them or their posts, links and comments.

New User Approve

By default, WordPress will accept every new user registration. If you want to prevent every registered user from gaining direct login into the site after they register, use this plugin.

With it enabled, when someone registers, the Administrator (most probably you) will receive a notification email, then you can decide whether to approve or reject the registration. Approved users will get an email with login credentials for granted access to the site.

Capability Manager Enhanced

WordPress comes with a few built in user roles. Each user role has some pre-defined capabilities assigned to them. Capability Manager Enhanced plugin allows you to edit those capabilities and create customized user roles for your WordPress site.

Also Read  How to Get Paid Searching the Web and Make Money

Cimy User Extra Fields

The basic WordPress user profile field is quite simple. Cimy User Extra Fields plugin allows you to extend user profiles by adding extra fields to them. Users can fill out these fields during registration or by editing their profiles.


Members make WordPress more powerful in terms of user accesibility. Aside for enabling editing, creating, and deleting roles and capabilities, it also allows you to set permission to control which content is available for any specific user.

Multisite User Management

Multisite User Management is an amazing tool to smartly handle a WordPress network. With this plugin, you no longer need to add new users to your sites manually.

It works like magic. You can assign a default role to each of your sites and the plugin automatically starts applying it. The plugin is super easy to upload and use.If you find trouble using it, you can easily get in touch with its support team for help. This brilliantly smart plugin is a must have if you are running a multisite.

User Switching

User Switching allows you to quickly switch between user accounts on your site. Instantly log out from your current account and log into the another account simply by clicking the “Switch To” button, once the plugin is activated. It’s particularly handy for user testing during plugin or theme development.

Peter’s Login Redirect

If you want to redirect users to specific page after login, then Peter’s Login Redirect is the plugin for that. Simply activate the plugin and go to the plugin’s settings page. You can redirect users based on username, user role, or capabilities. You can also set a page where users will be redirected after successful registration. 

Advanced Access Manager

Advanced Access Manager is powerful plugin that controls access to specific areas of your site like posts, pages, categories, widgets or menus for a specific user, role or visitor. This plugin also lets you manage roles and Capabilities so you can create, update or delete any user role or capability.

Other features include securing admin login by limiting login tries, controlling access to media files, tracking logged-in user activities, and the capability to filter backend menu and metaboxes or widgets.

Also Read  How to Add Favicon to your Wordpress Powered Site

Simple Local Avatars

WordPress comes with a built-in user profile photo handling through Gravatar. However, some of your users may not have a Gravatar photo. Simple Local Avatars allows your users to upload a photo from their profile page. WordPress will then use this local image as user’s photo on your site.

User Access Manager

This plugin allows you to manage your access to your posts, pages and files. With User Access Manager plugin you can add registered users to your user group and files and set up their rights to the group.

This makes your posts accessible only to those writers who is authorized with such powers. This plugin is most useful to those blog owners who wants manages multiple writers and wants to restrict their activity to writing only in specific areas of your blog.


PauPress brings CRM (Contact Relationship Management) functionalities to WordPress. This plugin allows you to build user profile and add as many custom fields as you need to provide more details about the users. With this plugin, you can keep track of each user on the site by monitoring their activities and logs.


Sometimes you may want to tweak the WordPress user interface for some users on your website. Adminimize allows you to hide unnecessary items from WordPress menu. You can configure each and every aspect of WordPress admin area on your site for each user role.

Account Locker Lite

Sometimes you may want to restrict a user’s access to your WordPress site without deleting their account or changing their password. Account Locker Lite allows you to block a user account without deleting it. This is particularly helpful if you don’t want to lose a user’s account because there are posts associated with them that you would like to still credit to them. 

Profile Builder

Another very handy and a must have a plugin for site owners is the Profile Builder plugin. You can customize your website with this plugin and add a  front-end menu for all your users. By doing this you can allow your users to easily modify their profiles.

It also allows easy frontend registration to its users. The administrator of the site can customize the basic user fields or add custom user fields to the front-end forms.

Force Strong Passwords

Passwords are the first barrier between your site’s admin area and hackers. Using weak passwords makes your WordPress site vulnerable to hacking attacks. Force Strong Passwords plugin enforces strong passwords for users with capability of publishing or editing posts on your WordPress site. 

Also Read  How to Remove Login Shake in Wordpress

User Meta Manager

User Meta Manager is a handy tool for modifying user metadata as well as adding custom meta. So, if you want to add new user input for example, telephone number or address, this is a good plugin to get that done.

WP Useronline

Many community sites and forums have widgets that can display online users. You can do that in WordPress with WP Useronline plugin. It allows you to display users currently visiting your website.


WP-Members is a free membership management plugin that restricts content to registered users. While WordPress by default allows all content to be viewable by all, this plugin restricts all posts by default. You can however change the setting to restrict only some of the content.

The plugin comes with additional registration fields including name, address, phone, and email but if you need to, you can create your own custom registration fields.

WP Idle Logout

This plugin is great to choose the timing after which you want a particular user to log out from your site. By using this plugin you can ensure that your users are logged into your site for a specific period of time. By doing so, you also make sure that the user finishes her task within a time limit.

To do these you need not handle any complicated settings. All of it can be handled and configured from the admin end.

Prevent Concurrent Logins

By default WordPress users can sign into an account from multiple locations at the same time. This could affect the security of a multi author WordPress site. If you run a paid membership site, then this could also affect your profits. Prevent Concurrent Logins plugin disables this behavior and only allows one session per user at a time.

User Submitted Posts

If you do not want to give other users access to your WordPress admin area, then there are other ways you can allow users to submit content on your WordPress site. User Submitted Posts plugin allows you to add a form to the front-end of your WordPress site where your users can submit posts to your website.

Now you have it, remember to share and comment below

If you have found a spelling error, please, notify us by selecting that text and pressing Ctrl+Enter.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close Menu


Spelling error report

The following text will be sent to our editors: