For multi-user WordPress websites, it’s possible you’ll wish to showcase your users on totally different sections of your web site. For instance, you’ll be able to show a listing of authors with avatars, or add an writer information field, and so on. On this tutorial we’ll present you find out how to show just lately registered users in WordPress. These users don’t must be authors. It may be used for a group web site that permits for person registration.
Very first thing you have to do is copy and paste the next code in your theme’s
features.php file or in a site-specific plugin.
Now you’ll be able to show the users in your web site by utilizing the next template tag in your theme’s template file reminiscent of sidebar.php, footer.php and so on:
If you wish to show newly registered users on a selected web page with out making a web page template, then you should utilize a shortcode.
You May Also Like : How to Set Default Admin Color Scheme for New Users in WordPress
Merely add this code in your theme’s features.php file or the site-specific plugin, just under the code you entered earlier.
This code will create a brand new shortcode so that you can use in your posts, pages, or widgets. Use it like this:
We hope this text helped you show just lately registered users in WordPress. For suggestions and questions, please depart a remark.