-
Notifications
You must be signed in to change notification settings - Fork 0
Admin login customization
This module allows to change these things on the admin login page:
- Colors
- Logo
- Logo URL
Example:
add_theme_support('rankz-admin-login', '#e50040', 'dist/images/login-logo.png', 'https://example.com');
Set the preferred primary color for buttons and other elements: the function will automatically calculate every other color (darker or brighter) used on the login page based on the primary color. Leave the parameter unset or empty in order to use WordPress' default colors.
Set a local path (e.g. dist/images/login-logo.png
) or an URL (e.g. https://example.com/login-logo.png
) for the logo.
Leave the parameter unset or empty in order to use WordPress' default logo.
Set an URL with or without the http://
or https://
, WordPress will automatically add the http://
. To use https://
declare it in the parameter just like the example.
Leave the parameter unset or empty in order to use WordPress' default URL.