wordpress前端首页_如何在WordPress中添加前端登录页面和小部件

wordpress前端首页

Do you want to add front-end login feature to your WordPress site? Sending users to the default login page usually redirects them to the WordPress admin area. This is very confusing and is bad for user experience. Wouldn’t it be nice if users can login to your WordPress site directly from the front-end? In this article, we will show you how to add a front-end login page in WordPress.

是否要向WordPress网站添加前端登录功能? 将用户发送到默认登录页面通常会将他们重定向到WordPress管理区域。 这非常混乱,不利于用户体验。 如果用户可以直接从前端登录到您的WordPress网站,那不是很好吗? 在本文中,我们将向您展示如何在WordPress中添加前端登录页面。

Adding frontend login in WordPress
为什么以及何时需要在WordPress中进行前端登录? (Why and When You Need Front-end Login in WordPress?)

By default, WordPress sends users to their profile page in WordPress admin area when they sign in. Now if there is something they can do in the admin area, like writing a post, then it is understandable.

默认情况下,WordPress在登录时会将用户发送到WordPress管理区域中的个人资料页面。现在,如果他们可以在管理区域中执行某些操作(例如撰写帖子),则可以理解。

However, in case of WordPress membership sites, all your users don’t need access to the dashboard. In fact, many users will probably feel a bit confused after login.

但是,对于WordPress会员网站,您的所有用户都不需要访问仪表板。 实际上,许多用户登录后可能会感到有些困惑。

Allowing users to login from the front-end of your website will improve user experience. Users will be able to continue doing what they wanted to do.

允许用户从您的网站的前端登录将改善用户体验。 用户将能够继续做他们想做的事情。

Having said that, let’s see how you can add a frontend login page or a widget in WordPress.

话虽如此,让我们看看如何在WordPress中添加前端登录页面或小部件。

在WordPress中添加前端登录 (Adding Frontend Login in WordPress)

To make it easy, we have created a video tutorial on how to how to how to add a front-end login page and widgets that you can watch below.

为简单起见,我们创建了一个视频教程,介绍如何添加前端登录页面和可在下面观看的小部件。

演示地址

However if you just want to follow text-instructions, then you can follow our step by step tutorial on how to how to add a front-end login page and widgets in WordPress.

但是,如果您只想按照文本说明进行操作,则可以按照我们的分步教程进行操作,以了解如何在WordPress中添加前端登录页面和小部件。

First thing you need to do is install and activate the Theme My Login plugin.

您需要做的第一件事是安装并激活主题我的登录插件。

Upon activation, the plugin will create pages for login, logout, forget password, and registration.

激活后,该插件将创建用于登录,注销,忘记密码和注册的页面。

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值