By default, WordPress makes it easy to create WordPress Account for users from your Dashboard after fine installation. For that, all you have to do is enter valid email address along with username assigning them user roles as well. However, since it is the global rule which almost every people use creating a user account for a long period every day, it is not the best answer always. Sometimes, the site owners may want to give access to their site’s Dashboard, at least, for a limited period of time. That can be for various purposes like testing, confirmation, suggestions, etc. For that, they’ll need to have to create a Temporary User Account in WordPress without sabotaging the site itself. And in this article, we will learn how to do that.
Create a Temporary User Account in WordPress
By default, WordPress comes with default user roles.
- Administrator: The main admin of the site who has access to all the administration features.
- Editor: Can publish and manage posts along with the posts of other users.
- Author: Can only publish and manage their own posts.
- Contributor: Cannot publish but only has access to write and manage their own posts.
- Subscriber: Can only edit their personal profiles.
All of the above roles can be defined separately upon WordPress installation.
Temporary Login Without Password Plugin
To Create a Temporary User Account in WordPress, we first need to install Temporary Login Without Password plugin, which we can find easily on the WordPress Repository for free. That can be done via WordPress Admin, Cpanel, or FTP Client services. Just install and activate the plugin. After the activation, go to Users -> Temporary Logins menu from your Dashboard. You’ll now see the new page appearing as screenshot below.
Click on the Create New Button which appears on the top of Temporary Logins page. You’ll now see the new form popping under with some fields in it. This is where you can create a new temporary account in WordPress.
Firstly, you need to provide an email address, then First Name and Last Name. Assign the role you want the user to have and set the expiry date. The account will eventually expire once you select the expiry date. For instance, if the user’s expiry date is 3 days from now, they can’t login to the account after 3 days.
Finally, click the Submit Button to create a new temporary account.
Managing Temporary Accounts
Now, you successfully created your temporary user account. You will be able to see the accounts you created if you go to Users -> Temporary Accounts Page from your Dashboard.
On the box, you can see the different fields like Role, Last Logged In, Expiry, and Action where you can edit, delete, or get links to the particular temporary account.
The temporary account link looks something like this:
If you visit the link, you’ll be able to login to the account just fine.
You can always delete or disable the account before the expiry date of the users.
That is all. This is how we Create Temporary User Account in WordPress using Temporary Login Without Password Plugin. Temporary User accounts are quite useful when you want to give admin access to a developer for support or for performing any routine tasks. If you want a more advanced feature like tracking the temporary user’s performance after they log in to the site, use this plugin along with WP Security Audit Log plugin. They work great together.
If you find our article helpful anyway, give us love by sharing this article. Keep in touch.