[WordPress] 外掛分享: Remember Admin Login Colors

首頁外掛目錄 › Remember Admin Login Colors
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.5.0 上架:2026-09-09

內容簡介

Remember Admin Login Colors 外掛能夠記住使用者在 WordPress 控制台選擇的顏色方案,並在下次登入時自動應用。這樣可提升使用者體驗,讓登入頁面更具個人化。

【主要功能】
• 支援所有九種內建的 WordPress 管理顏色方案
• 根據使用者的瀏覽器記住最近登入的顏色方案
• 自動更新使用者更改的顏色方案
• 應用顏色於登入、重設密碼等頁面
• 允許開發者自訂登入顏色樣式表

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.5.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Remember Admin Login Colors」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

After a successful login, the plugin remembers that user’s selected WordPress admin color scheme in a secure browser cookie. The next time that browser displays wp-login.php, the login page uses the remembered colors.
Features:

Supports all nine bundled WordPress admin color schemes.
Reads colors from WordPress’s registered admin schemes instead of maintaining copied palettes.
Remembers the most recently logged-in user’s scheme per browser/device.
Updates immediately when a user changes their own admin color scheme.
Applies matching colors to login, lost-password, reset-password, registration, notices, links, inputs, buttons, checkboxes, and login help controls.
Uses a standard enqueued stylesheet for the plugin’s login color rules.
Allows developers to replace the plugin’s default login color stylesheet from the active theme.
Automatically loads an optional style-login.css from the active theme after the ralc color stylesheet.
Preserves WordPress’s native login layout, shadows, radii, and logo presentation.
Falls back to the standard Fresh scheme on a browser’s first visit.
No settings screen or database options required.

Customizing the Login Styles
Remember Admin Login Colors includes a default login stylesheet that uses the colors from the remembered WordPress admin color scheme.
Developers can customize these styles without modifying the plugin files.
Replacing the plugin color stylesheet
The plugin’s default stylesheet is located at:
assets/css/login-colors.css
To customize it, copy the file to the active theme using the following location:
ralc/login-colors.css
For example:
wp-content/themes/your-theme/ralc/login-colors.css
The theme copy completely replaces the plugin’s standard login color stylesheet. This allows developers to modify how the remembered color scheme is applied without editing plugin files.
Because the customized stylesheet is stored in the theme, plugin updates will not overwrite these changes.
The plugin continues to generate the remembered admin color values dynamically and makes them available through the following CSS custom properties:

–ralc-page
–ralc-panel
–ralc-text
–ralc-primary
–ralc-hover
–ralc-button-text

These variables can be used anywhere in the replacement stylesheet.
Additional theme login styling
The plugin also supports an optional:
style-login.css
file in the active theme.
The two stylesheets serve different purposes:

ralc/login-colors.css is a complete replacement for the plugin’s standard login color stylesheet. A developer copies it into the theme and modifies it.
style-login.css remains the site’s final login stylesheet and can be used for additional customization beyond the plugin’s color scheme, including logo sizing, layout, typography, spacing, and other site-specific styling.

When both files are present, the stylesheet order is:

WordPress login styles.
The ralc login color stylesheet, either the plugin copy or the theme replacement.
The theme’s optional style-login.css file.

This allows style-login.css to provide final site-specific overrides.

延伸相關外掛

文章
Filter
Mastodon