跳至内容
WordPress.org

China 简体中文

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

Plugin Directory

Osom Modal Login

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

Osom Modal Login

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

描述

Osom Modal Login lets you easily create a modal box (pop-up) displaying the WordPress login form. In block themes, Osom Modal Login uses the native WordPress login/out block, so you can introduce this login/out block on the header (or footer) navigation block and it will display a modal box with the login form when clicked. On the other hand, in classic themes it automatically adds a menu item named “Login”, which you can customize, at the end of the selected menu(s). Once you click on it, it will also launch the login modal box.

Alternatively, you can also use the included shortcode or the native login/out block to add the modal login box in any place of the web.

Features

With Osom Modal Login you can customize several parameters in the options page.

Both in classic and block themes:

  • Customize “Login” text.
  • Customize “Logout” text.
  • Set login and logout URL redirection.
  • Display/hide “Remember me” checkbox.
  • Display/hide “Did you forget your password” link.
  • Display/hide Register link.
  • Set Register text link (if displayed).

Only in classic themes:

  • Set the title of the modal box.
  • Select the navigation menu where you want to add login/out item. You can choose more than one or the option ‘none’ if you don’t want to add it in any menu location.

You can also use the built-in shortcode to add the modal box any where in your website or use the WordPress login/out native block with the setting “Display login as form” unselected.

Shortcode usage (optional)

You just need to enclose your custom text in [osom-login] shortcode.
For example: [osom-login] Custom text [/osom-login]

Quick Setup Videos

In classic themes:

In block themes:

If you want more info about the setup and configuration you can check the tutorials below.

Tutorials

  • How to add button styles to Login/out Block in a WordPress Block Theme
  • Add a login modal/pop-up window to a WordPress block theme
  • How to add SVG icons to Osom Modal Login login/logout items
  • How to add a login popup modal in WordPress classic themes

Dev Features

  • The plugin uses Vanilla JavaScript so you can use it even if you dequeue WordPress jQuery. It’s always nice to keep the dependencies to the minimum.

屏幕截图

  • Dashboard plugin view in a classic theme
  • Front-end modal window in a classic theme
  • Dashboard plugin view in a block theme

安装

This plugin can be installed directly from your site.

  1. Log in and navigate to Plugins → Add New.
  2. Type “Osom Modal Login” into the Search and hit Enter.
  3. Locate the Osom Modal Login plugin in the list of search results and click Install Now.
  4. Once installed, click the Activate link.
  5. Now you have the new plugin available on WordPress.

It can also be installed manually.

  1. Download the Osom Modal Login plugin from WordPress.org.
  2. Unzip the package and move to your plugins directory.
  3. Log into WordPress and navigate to the Plugins screen.
  4. Locate Osom Modal Login in the list and click the Activate link.
  5. Now you have the new plugin available on WordPress.

常见问题

Can I use Osom Modal Login with any theme?

Yes, you can use Osom Modal Login with any theme, including a block theme.

Where can I modify Osom Modal Login settings?

You can find the settings page on WordPress left sidebar under OsomPress > Osom Modal Login.

Can I use Osom Modal Login in other locations apart from the menus?

Yes, you can add a login modal window anywhere on the website using the shortcode [osom-login] Custom text [/osom-login].
Alternatively, you can also use the native login/out block.

Can I change the Login/Logout text?

Yes, you can do it.

Can I use Osom Modal Login on WordPress Multisite?

Yes, you can. Take into account that if you set the login or logout URL you will have to use an absolute URL, ie, https://yoursite.com/redirect-page. If you use a relative ULR, such as /redirect-page/, it will point to the the main site URL (of the network).

Is Osom Modal Login compatible with WordPress Multilingual plugin?

Yes, it is.

Will Osom Modal Login work on header/footers created with Elementor?

No at the moment. We will explore to add support on future updates.

评价

Perfecto

Joan Boluda 2024 年 8 月 30 日 2 回复
Simplemente, el mejor plugin para loguearse a través de una ventana modal. Liviano, simple y con un equipo detrás estupendo. Osom.

Fantástico

Ángel Vilches 2024 年 4 月 4 日 1 回复
Además de ser muy liviano, hace a la perfección lo que dice y facilita el proceso de login de los usuarios en la web. Además, sus autores están atentos al feedback y las sugerencias.

Does what it says on the tin

littledinkie 2024 年 3 月 1 日 1 回复
Excellent plugin. Simple to configure. Can be a little tricky when using with Divi but support provided for the plugin is quick and effective. If you are after a simple clean modal login that is easy to style, this is the one. Highly recommend.

Genial

rodriguezleticia 2023 年 1 月 27 日
Fácil, intuitivo. Ya no uso otro.

All OK

jorgetfe 2022 年 7 月 19 日
Excelent!

Simple but very effective.

kylechoi 2022 年 6 月 21 日
I always want to have a modal login functionality for the website. Seems many solutions are hard to figure out and too much.. But Osom modal login is definitely awesome. Easy and simple, and effective. Thank you so much for the great contribution.
阅读所有15条评价

贡献者及开发者

「Osom Modal Login」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • OsomPress
  • esther sola
  • Nahuai Badiola
  • DavidPeralvarez

「Osom Modal Login」插件已被翻译至 7 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Osom Modal Login」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.5.2

  • Improve style enqueueing (thanks @adriansoewono for the suggestion )

1.5.1

  • Fix deprecation for PHP +8.1.

1.5

  • Add login/out block automatically on block themes.
  • Improvements on the form title.

1.4.1

  • Revert conditional loading of styles and scripts due to some issues on edge cases.

1.4

  • Improve conditional loading of styles and scripts. On block themes it will only load the style and script files if the login/out block is present.

1.3.1

  • Improve modal behaviour on block themes.
  • CSS tweaks.

1.3

  • Added new options for block themes. Now you can change the text for the login and logout and also set the URL redirections after login and logout.

1.2

  • Added compatibility with block themes. Now you can use the native login/out block, when the user click on it it will display a modal window with the login form.

1.1.5

  • Small fixes and tested up to WordPress 6.4.

1.1.4

  • Fix new PHP warning (in PHP 8 or superior).

1.1.3

  • Set empty login fields as login failed.

1.1.2

  • Remove Dashicons dependencie.

1.1.1

  • Tested on WordPress 6.0.
  • Fix new PHP notice (in PHP 8 or superior).

1.1

  • Tested on WordPress 5.9.
  • Fix PHP notices.

1.0.8

  • Improve shortcode perfomance.
  • Improve performance for multiple locations.

1.0.7

  • Add option to display register link.

1.0.6

  • Add option to select multiple menu location.

1.0.5

  • Add redirection to the plugin settings page when activated.
  • Tested on WordPress Multisite.
  • Tested with WordPress Multilingual.

1.0.4

  • Add labels for login/logut menu item
  • Removal of the jQuery used and replaced with Vanilla JavaScript
  • Add settings link in plugins page

1.0.3

  • Fix warnings

1.0.2

  • Translation improvements

1.0

  • Initial release.

社区插件

该插件由社区开发和支持。

额外信息

  • 版本 1.5.2
  • 最后更新:13 小时前
  • 活跃安装数量 400+
  • WordPress 版本 5.0 或更高版本
  • 已测试的最高版本为 7.0
  • PHP 版本 5.6 或更高版本
  • 语言

    Catalan 、 English (US) 、 Spanish (Chile) 、 Spanish (Colombia) 、 Spanish (Ecuador) 、 Spanish (Mexico) 、 Spanish (Spain) 和 Spanish (Venezuela).

    翻译成简体中文

  • 标签
    custom loginloginlogin formlogoutmodal
  • 高级视图

评级

5 星(最高 5 星)。
  • 15 条 5 星评价 5 星 15
  • 0 条 4 星评价 4 星 0
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

Your review

查看全部评论

贡献者

  • OsomPress
  • esther sola
  • Nahuai Badiola
  • DavidPeralvarez

支持

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

查看支持论坛

捐助

您愿意支持这个插件的发展吗?

捐助此插件

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

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.