All Projects → Log1x → modern-login

Log1x / modern-login

Licence: MIT license
A whitelabeled and modernized wp-login.php

Programming Languages

CSS
56736 projects
PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to modern-login

remove-gutenberg-panel
Removes the Try Gutenberg panel from the WP-Admin Dashboard, introduced in WordPress 4.9.5 Beta 1. We only want to try Gutenberg once it's ready. Not now.
Stars: ✭ 16 (-73.33%)
Mutual labels:  wp-admin
disable-drop-cap
Plugin to disable drop cap in Gutenberg editor paragraph block.
Stars: ✭ 11 (-81.67%)
Mutual labels:  wp-plugin
WPKirk
A WP Bones skeleton Plugin
Stars: ✭ 28 (-53.33%)
Mutual labels:  wp-plugin
Woocommerce-Fawry-Payment-Gateway
Fawry payment gateway is a powerful payment processor that helps you pay through credit cart & Fawry Machines.
Stars: ✭ 21 (-65%)
Mutual labels:  wp-plugin
statify
Statify – statistics plugin for WordPress
Stars: ✭ 67 (+11.67%)
Mutual labels:  wp-plugin
lifterlms
LifterLMS, a WordPress LMS Solution: Easily create, sell, and protect engaging online courses.
Stars: ✭ 146 (+143.33%)
Mutual labels:  wp-plugin
wp-graphql-upload
Upload support and functionality for WPGraphQL as specified by graphql-multipart-request-spec.
Stars: ✭ 26 (-56.67%)
Mutual labels:  wp-plugin
admin-menu-manager
Manage the WordPress admin menu using a simple drag & drop interface.
Stars: ✭ 60 (+0%)
Mutual labels:  wp-admin
view-admin-as
View the WordPress admin as a different role, switch between users, temporarily change your capabilities, set default screen settings for roles, manage your roles and capabilities.
Stars: ✭ 44 (-26.67%)
Mutual labels:  wp-plugin
acf-overview
ACF Overview allows to quick view configuration of all field groups
Stars: ✭ 19 (-68.33%)
Mutual labels:  wp-plugin
acf-image-aspect-ratio-crop
Image Aspect Ratio Crop field for Advanced Custom Fields
Stars: ✭ 100 (+66.67%)
Mutual labels:  wp-plugin
Wp Graphql
🚀 GraphQL API for WordPress
Stars: ✭ 3,097 (+5061.67%)
Mutual labels:  wp-plugin
wordpress
Free PWA & SPA for Wordpress & Woocommerce
Stars: ✭ 103 (+71.67%)
Mutual labels:  wp-plugin
acf-flexible-content-preview
Transforms ACF's flexible content field's layout list into a modal with image previews.
Stars: ✭ 21 (-65%)
Mutual labels:  wp-plugin
wp-mail-catcher
A fast, lightweight plugin that saves emails sent by your WordPress website.
Stars: ✭ 16 (-73.33%)
Mutual labels:  wp-plugin
wp-graphql-gravity-forms
GraphQL API for interacting with Gravity Forms.
Stars: ✭ 119 (+98.33%)
Mutual labels:  wp-plugin
admin-columns
Admin Columns allows you to manage and organize columns in the posts, users, comments, and media lists tables in the WordPress admin panel. Transform the WordPress admin screens into beautiful, clear overviews.
Stars: ✭ 65 (+8.33%)
Mutual labels:  wp-admin

Modern Login

Latest Stable Version Total Downloads

Here lives a simple mu-plugin to whitelabel and modernize wp-login.php. No admin panels, no bloat – just a simple filter to optionally customize the CSS properties with your color palette.

Screenshot

Requirements

Installation

Bedrock

Install via Composer:

$ composer require log1x/modern-login

Manual

Download the release .zip and install into wp-content/plugins.

Customization

To customize the color palette, simply pass an array containing one or more of the colors you would like to change to the login_color_palette filter:

add_filter('login_color_palette', function () {
    return [
        'brand' => '#0073aa',
        'trim' => '#181818',
        'trim-alt' => '#282828',
    ];
});

Text color will automatically be inverted to #fff or #111 determined by the relative luminance of the element's background color.

Changing the Logo

The logo uses the first letter of the login header text set by WordPress. You can customize this using the login_headertext filter:

/**
 * Change the WordPress login header to the blog name.
 *
 * @return string
 */
add_filter('login_headertext', function () {
    return get_bloginfo('name');
});

Development

Modern Login is built using TailwindCSS and compiled with Laravel Mix.

$ yarn

In order to ease development, Modern Login makes use of wp-env to quickly setup a WordPress instance with everything needed (this requires Docker).

$ npx wp-env start

In another terminal tab/window, you can start browser sync and webpack to watch for changes:

$ yarn start

You can test color values and other settings in tests/mu-plugins/mu.php.

Bug Reports

If you discover a bug in Modern Login, please open an issue.

Contributing

Contributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.

License

Modern Login is provided under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].