跳至内容
WordPress.org

China 简体中文

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

Plugin Directory

Effortless Personalized Login Logo

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

Effortless Personalized Login Logo

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

描述

This plugin automatically displays your Site Logo on the WordPress login screen. It reads the logo you have set under Appearance → Customize → Site Identity — no settings page, no extra configuration needed.

Features

  • Zero-configuration: reads your Site Logo automatically
  • Automatically applies the correct size and styling
  • Works with WordPress 6.2+ markup
  • Keeps the login screen clean and branded
  • Compatible with multisite
  • Shows a branded prompt when no logo is set yet

安装

  1. Upload the plugin folder to /wp-content/plugins/.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Set your Site Logo:
    • Classic themes: Go to Appearance → Customize → Site Identity.
    • Block themes (e.g. Twenty Twenty-Five): The Customizer is no longer reachable via the menu. Go directly to /wp-admin/customize.php, then open Site Identity.
  4. Your logo will automatically appear on the login screen.

常见问题

What size should the logo be?

A horizontal logo around 320px wide and 100px tall works best, but any image will be resized to fit.

I am using a block theme and cannot find Appearance → Customize. How do I set the logo?

With block themes (such as Twenty Twenty-Five), WordPress removes the Customize menu item from the UI — this applies to both single-site and multisite installations. The Customizer itself is still functional: navigate directly to /wp-admin/customize.php in your browser, open the Site Identity panel, and upload your Site Logo there. The plugin will pick it up automatically.

Does this plugin affect the admin dashboard logo?

No, it only changes the logo on the /wp-login.php and logout screens.

Will it break with future WordPress updates?

It is compatible with the latest login screen markup (as of WP 6.5), and fallback CSS can be added for older versions.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者
  • domclic

帮助将「Effortless Personalized Login Logo」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.0.19

  • Refactor: donate notice file kept as includes/class-donate-notice.php (preserves SVN file history); class remains Effortless_Donate_Notice.

1.0.18

  • Fix: donate notice now correctly displays on Network Admin pages — screen ID normalization strips WordPress’s -network/-user suffix before matching.

1.0.17

  • Refactor: donate notice class renamed Donate_Notice → Effortless_Donate_Notice (WP-standard prefix); file renamed to class-effortless-donate-notice.php. No phpcs:ignore needed anywhere.

1.0.16

  • Fix: donate notice now uses current_screen hook for reliable screen detection on single-site and multisite Network Admin pages.

1.0.15

  • Improvement: added dismissible donate notice on the plugin settings screen.
  • Improvement: added Donate link header field and includes/class-donate-notice.php.

1.0.14

  • Docs: Corrected “Tested up to” header (was erroneously set to 6.0, now 7.0).
  • Docs: Updated short description and Description section to reflect zero-config auto-logo behavior (since 1.0.7, selecting from media library is no longer needed).
  • Docs: Added missing changelog entry for 1.0.13.

1.0.13

  • Maintenance: Internal version bump; no functional changes.

1.0.12

  • Fixed: Logo CSS now overrides all relevant WordPress core login styles (background-size, background-repeat, background-position, width, height) with !important so our styles win in every theme and WP version.
  • Fixed: Added width: 320px !important and max-width: 100% !important to prevent wide logos from overflowing the login box on narrow viewports.
  • Docs: FAQ block-theme entry now explicitly notes the Customizer menu absence applies to multisite installations as well.
  • Code: Added inline comment explaining priority 99 on login_enqueue_scripts.

1.0.11

  • Docs: Clarified installation instructions and added FAQ entry for block themes (e.g. Twenty Twenty-Five), where Appearance → Customize is not accessible via the menu — users can reach it directly at /wp-admin/customize.php.

1.0.10

  • Improved: Enqueue login CSS via wp_add_inline_style() and login-prompt JS via wp_add_inline_script() instead of emitting raw <style> / <script> tags (WordPress best practice)
  • Improved: Login-prompt notice now builds DOM nodes via createElement / textContent instead of innerHTML for safer output
  • Added: EFFOPELO_VERSION constant used for asset cache-busting

1.0.9

  • Fixed: Updated installation instructions to reflect zero-config approach (no settings page since 1.0.7)
  • Fixed: Code formatting to comply with WordPress coding standards

1.0.8

  • Added: Subtle prompt on login page to set site logo if none is configured

1.0.7

  • Changed: Now automatically uses the Site Logo from Appearance → Customize → Site Identity (no settings needed)

1.0.6

  • Fixed: Replaced ABSPATH with WP_UNINSTALL_PLUGIN constant in uninstall.php

1.0.5

  • Fixed: Removed redundant delete_option() from uninstall script

1.0.4

  • Added: uninstall.php to properly clean up settings on plugin deletion

1.0.3

  • Added: ABSPATH direct access protection
  • Updated: Tested up to WordPress 6.9

1.0.2

  • Improved: Removed redundant trim() call and simplified conditional logic
  • Improved: Simplified attachment_id logic (no longer needs ternary)

1.0.1

  • Security: Added CSRF protection to settings form
  • Improved: Better CSS specificity (removed unnecessary !important rules)
  • Improved: Logo height now scales properly with max-height constraint
  • Added: i18n support for translations

1.0.0

  • Initial release

额外信息

  • 版本 1.0.19
  • 最后更新:7 天前
  • 活跃安装数量 不到10
  • WordPress 版本 6.2 或更高版本
  • 已测试的最高版本为 7.0
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    adminbrandingcustomizationloginlogo
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • domclic

支持

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

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • 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.