wordpress语言切换_如何在WordPress中的用户帐户之间即时切换

本文介绍了如何在WordPress中快速切换用户账号,特别是在测试新功能时,需要查看不同用户角色体验时,避免频繁手动登录。文章推荐使用User Switching插件实现这一功能,允许管理员在用户账户间轻松切换,提高工作效率。
摘要由CSDN通过智能技术生成

wordpress语言切换

Do you want to instantly switch between user accounts in WordPress? Sometimes when testing new features on your website, you may need to switch back and forth between user accounts with different user roles. While you can manually log out and login to the new account, it’s not the most efficient use of your time. In this article, we will show you how to instantly switch between user accounts in WordPress.

您是否要在WordPress中的用户帐户之间即时切换? 有时,在测试网站上的新功能时,可能需要在具有不同用户角色的用户帐户之间来回切换。 尽管您可以手动注销并登录到新帐户,但这并不是您最有效的时间使用方式。 在本文中,我们将向您展示如何在WordPress中的用户帐户之间即时切换。

Instantly Switch User Accounts in WordPress
为什么以及何时需要切换用户帐户? (Why and When Do You Need to Switch User Accounts?)

By default, WordPress allows you to add new users and authors to your website. Each user on your website has a user role assigned to them which gives them permissions to perform different tasks on your website.

默认情况下,WordPress允许您将新用户和作者添加到您的网站。 您网站上的每个用户都有一个分配给他们的用户角色 ,这赋予他们在网站上执行不同任务的权限。

You can also allow users to register on your website and set a default user role for all new users by visiting the Settings » General page.

您还可以通过访问设置»常规页面, 允许用户在您的网站上注册并为所有新用户设置默认用户角色。

New Default User Role

As the site owner, you are automatically assigned the administrator user role on your website. This gives you complete control including the ability to manage all user accounts.

作为网站所有者,系统会自动为您分配网站的管理员用户角色 。 这使您可以完全控制,包括管理所有用户帐户的能力。

While testing new features on your website, you may need to see how things would look for users with different user roles and permissions. This is particularly essential when you are running a WordPress membership website or an online store. The manual way to do this is to simply log in using the credentials for each user account and test those features.

在网站上测试新功能时,您可能需要查看具有不同用户角色和权限的用户的情况。 当您运行WordPress会员网站在线商店时,这尤其重要。 手动执行此操作的方法是简单地使用每个用户帐户的凭据登录并测试这些功能。

However, this would take a lot of time. Wouldn’t it be better if you could just switch to any user account instantly and then switch back when you are done testing?

但是,这将花费很多时间。 如果您可以立即切换到任何用户帐户,然后在完成测试后又切换回原来的帐户,这会更好吗?

Let’s take a look at how to instantly switch between user accounts in WordPress without entering passwords.

让我们看一下如何在WordPress中的用户帐户之间即时切换而无需输入密码。

影片教学 (Video Tutorial)

演示地址

If you don’t like the video or want text instructions, then continue reading.

如果您不喜欢该视频或需要文字说明,请继续阅读。

使用插件在用户帐户之间即时切换 (Using a Plugin to Instantly Switch Between User Accounts)

First you need to install and activate the User Switching plugin. For more details, see our step by step guide on how to install a WordPress plugin.

首先,您需要安装并激活用户切换插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。

Once activated, you need to go to the Users page in your WordPress admin. On this page, you will see a ‘Switch to’ link next to each user account.

激活后,您需要转到WordPress管理员中的“ 用户”页面。 在此页面上,您将在每个用户帐户旁边看到一个“切换到”链接。

Swtich to Option

User switching is only available for users with an administrator user role. Once you have switched to a new user account, you can continue testing your website logged in as that user.

用户切换仅适用于具有管理员用户角色的用户。 切换到新的用户帐户后,您可以继续测试以该用户身份登录的网站。

Switch Back Account

Once you are done, you can switch back to your own user account by clicking on the notification displayed on the screen.

完成后,您可以通过单击屏幕上显示的通知来切换回自己的用户帐户。

We hope this article helped you instantly switch between user accounts in WordPress. You may also want to check out our guide on how to allow website visitors to submit blog posts in WordPress without logging into your website.

我们希望本文能帮助您在WordPress中的用户帐户之间即时切换。 您可能还需要查看有关如何允许网站访问者在不登录您的网站的情况下以WordPress提交博客文章的指南。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/plugins/how-to-instantly-switch-between-user-accounts-in-wordpress/

wordpress语言切换

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值