跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Frontend Ajax Login & Register

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

Frontend Ajax Login & Register

作者:LogicRays Technologies
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

Frontend Ajax Login & Register provides a seamless user authentication experience directly on your website’s front end. Instead of redirecting users to the default WordPress /wp-login.php page, this plugin displays an intuitive, responsive modal popup for Login, Registration, and Password Recovery without reloading the page.

Simply insert the shortcode [AJAX-LOGIN_REGISTER] into any page, post, widget, or header template to display interactive login and registration buttons.

Key Features:

  • AJAX Powered Authentication: Fast login, signup, and password recovery with instant validation and zero page reloads.
  • Easy Shortcode Integration: Add the login/signup popup anywhere using [AJAX-LOGIN_REGISTER].
  • One-Click “Copy Shortcode” Button: Convenient copy button directly on the settings page with live green confirmation message.
  • Login & Logout Redirections: Easily redirect users to specific pages or posts after successful login or logout.
  • Optional Contact/Phone Field: Enable or disable an optional telephone/contact number field on the registration form (stored in user profile meta).
  • Password Visibility Toggle: Show/hide password option for better user experience.
  • Remember Me Option: Keep users logged in across browser sessions.
  • Fully Customizable Design: Built-in color picker in the admin settings to match your website’s theme (button colors, border colors, text colors, links, and modal background).
  • Modern Admin Settings Panel: Clean, card-based settings interface with iOS-style toggle switches, organized dropdowns, and one-click reset.
  • Keyboard & Click-Outside Friendly: Close the popup easily by pressing ESC or clicking anywhere outside the modal.
  • Client-Side Validation: Form inputs are validated in real-time with jQuery validation.

Shortcode Usage:

Place the following shortcode where you want the login/signup buttons to appear:
[AJAX-LOGIN_REGISTER]

If the user is logged out, the buttons will trigger the popup modals. If the user is already logged in, a clean Logout button will be displayed instead.

屏幕截图

Login popup modal with password toggle and Remember Me option.
Login popup modal with password toggle and Remember Me option.
Registration popup form with client-side validation.
Registration popup form with client-side validation.
Lost password reset modal.
Lost password reset modal.
Modern admin settings panel with color pickers, toggle switch, and Copy Shortcode button.
Modern admin settings panel with color pickers, toggle switch, and Copy Shortcode button.

安装

  1. Download the plugin ZIP file.
  2. Go to Plugins > Add New > Upload Plugin in your WordPress admin dashboard and upload the ZIP file.
  3. Click Install Now and then Activate.
  4. (Optional) Go to Settings > Frontend Ajax Login & Register to customize popup colors, registration fields, and redirection preferences.
  5. Copy the shortcode using the “Copy Shortcode” button and add [AJAX-LOGIN_REGISTER] to any page, post, or template.

常见问题

How do I display the login/signup buttons on my site?

Simply paste the [AJAX-LOGIN_REGISTER] shortcode into any page, post, or widget block. You can also quickly copy it using the “Copy Shortcode” button in the plugin settings.

Can I redirect users to a custom page after login or logout?

Yes! Navigate to Settings > Frontend Ajax Login & Register in your WordPress dashboard. From there, select your desired target pages/posts from the dropdown lists for login and logout redirects.

How do I change the modal and button colors?

Go to Settings > Frontend Ajax Login & Register to customize button background colors, text colors, border colors, link colors, and popup background colors with live color pickers.

Can I collect user phone numbers during registration?

Yes, simply toggle the “In Register Form Add Telephone Number?” switch in the settings. The telephone number will be validated and saved in the user’s profile under “Additional Information”.

评价

此插件暂无评价。

贡献者及开发者

「Frontend Ajax Login & Register」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • LogicRays Technologies
  • Pritesh Modi

帮助将「Frontend Ajax Login & Register」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.3.2

  • Added: One-click “Copy Shortcode” button in the admin settings header with instant green confirmation notice.
  • Added: Proper default color fallbacks for all color picker fields.
  • Fixed: Color picker swatch preview rendering on initial setup before options are saved.
  • Fixed: Page/Post selection bug in login and logout redirection dropdowns.
  • Fixed: Action button layout and alignment between “Save Changes” and “Reset All Settings”.
  • Security: Added CSRF nonce token verification for settings reset action.
  • Improved: Modernized admin settings interface with card layout, enhanced toggle switches, and clean typography.

1.3.1

  • Tested up to WordPress 7.1 compatibility.
  • Updated plugin version to 1.3.1.

1.3

  • Added functionality to close the pop-up by pressing the ESC key and by clicking outside the pop-up.
  • Improved the design of the login, signup, and logout buttons.
  • Added “Remember Me” checkbox functionality to the login form.

1.2

  • Enable/Disable add a telephone number field into the register form.
  • Select Page/Post For Redirect After Login.
  • Select Page/Post For Redirect After Logout.

1.0.0

  • Initial release.

额外信息

  • 版本 1.3.2
  • 最后更新:1 月前
  • 活跃安装数量 不到10
  • WordPress 版本 5.2 或更高版本
  • 已测试的最高版本为 7.1.4
  • PHP 版本 7.2 或更高版本
  • 语言
    English (US)
  • 标签
    Ajax loginFrontendloginpopupregister
  • 高级视图

评级

尚未提交反馈。

您的评价

查看全部评论

贡献者

  • LogicRays Technologies
  • Pritesh Modi

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 周边商品 ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

China 简体中文

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗