Version Description
2021-09-24 =
* Bugfix: Login button {text & hover} color live preview in customizer.
* Enhancement: Added a filter loginpress_form_logo
to change the form logo.
* Enhancement: Added a filter loginpress_body_background_image
to change the background image.
* Enhancement: Added a filter loginpress_body_after_background_image
to change the background image for theme 8 Wedding #2
.
* Enhancement: Added a filter loginpress_login_background_image
to change the background image for theme 17 Photographers
.
* Enhancement: Added a filter loginpress_login_after_background_image
to change the background image for theme 6 Startup
& theme 10 Bikers
.
* Enhancement: Added a filter loginpress_login_form_background_image
to change the login form background image.
* Enhancement: Added a filter loginpress_lostpassword_form_background_image
to change the lost password form background image.
Release Info
Developer | hiddenpearls |
Plugin | Custom Login Page Customizer | LoginPress |
Version | 1.5.7 |
Comparing to | |
See all releases |
Code changes from version 1.5.6 to 1.5.7
- css/style-login.php +7 -2
- js/customize-controls.js +28 -7
- loginpress.php +2 -2
- readme.txt +12 -2
@@ -272,6 +272,7 @@ function loginpress_box_shadow( $shadow, $opacity, $default_shadow = 0, $inset =
|
|
272 |
margin: 0;
|
273 |
}
|
274 |
#login::after{
|
|
|
275 |
<?php if ( ( $loginpress_theme_tem == 'default6' || $loginpress_theme_tem == 'default10' ) && ! empty( $loginpress_background_img ) && $loginpress_display_bg ) : ?>
|
276 |
background-image: url(<?php echo $loginpress_background_img; ?>);
|
277 |
|
@@ -295,6 +296,7 @@ function loginpress_box_shadow( $shadow, $opacity, $default_shadow = 0, $inset =
|
|
295 |
}
|
296 |
|
297 |
#login{
|
|
|
298 |
<?php if ( $loginpress_theme_tem == 'default17' && ! empty( $loginpress_background_img ) && $loginpress_display_bg ) : ?>
|
299 |
background-image: url(<?php echo $loginpress_background_img; ?>);
|
300 |
<?php elseif ( $loginpress_theme_tem == 'default17' && isset( $loginpress_display_bg ) && ! $loginpress_display_bg ) : ?>
|
@@ -402,6 +404,7 @@ body.login #loginpress_video-background{
|
|
402 |
<?php endif; ?>
|
403 |
}
|
404 |
body.login:after{
|
|
|
405 |
<?php if ( $loginpress_theme_tem == 'default8' && ! empty( $loginpress_background_img ) && $loginpress_display_bg ) : ?>
|
406 |
background-image: url(<?php echo $loginpress_background_img; ?>);
|
407 |
<?php elseif ( $loginpress_theme_tem == 'default8' && isset( $loginpress_display_bg ) && ! $loginpress_display_bg ) : ?>
|
@@ -424,7 +427,7 @@ body.login:after{
|
|
424 |
<?php endif; ?>
|
425 |
}
|
426 |
body.login {
|
427 |
-
|
428 |
<?php if ( in_array( $loginpress_theme_tem, array( 'default6', 'default8', 'default10', 'default17' ) ) && ! empty( $loginpress_background_img ) && $loginpress_display_bg ) : ?>
|
429 |
background-image: url();
|
430 |
<?php elseif ( in_array( $loginpress_theme_tem, array( 'default6', 'default8', 'default10', 'default17' ) ) && isset( $loginpress_display_bg ) && ! $loginpress_display_bg ) : ?>
|
@@ -465,6 +468,7 @@ body.login {
|
|
465 |
}
|
466 |
|
467 |
.login h1 a {
|
|
|
468 |
<?php if ( ! empty( $loginpress_logo_img ) ) : ?>
|
469 |
background-image: url( <?php echo $loginpress_logo_img; ?> ) <?php echo loginpress_important(); ?>;
|
470 |
<?php endif; ?>
|
@@ -540,7 +544,7 @@ body.login {
|
|
540 |
<?php endif; ?>
|
541 |
}
|
542 |
#loginform {
|
543 |
-
|
544 |
<?php if ( ! empty( $loginpress_form_display_bg ) && true == $loginpress_form_display_bg ) : ?>
|
545 |
background: transparent;
|
546 |
<?php endif; ?>
|
@@ -621,6 +625,7 @@ box-shadow: <?php echo loginpress_box_shadow( $loginpress_textfield_shadow, $log
|
|
621 |
}
|
622 |
|
623 |
#lostpasswordform {
|
|
|
624 |
<?php if ( ! empty( $loginpress_forget_form_bg_img ) ) : ?>
|
625 |
background-image: url(<?php echo $loginpress_forget_form_bg_img; ?>);
|
626 |
<?php endif; ?>
|
272 |
margin: 0;
|
273 |
}
|
274 |
#login::after{
|
275 |
+
<?php $loginpress_background_img = apply_filters( 'loginpress_login_after_background_image', $loginpress_background_img ); ?>
|
276 |
<?php if ( ( $loginpress_theme_tem == 'default6' || $loginpress_theme_tem == 'default10' ) && ! empty( $loginpress_background_img ) && $loginpress_display_bg ) : ?>
|
277 |
background-image: url(<?php echo $loginpress_background_img; ?>);
|
278 |
|
296 |
}
|
297 |
|
298 |
#login{
|
299 |
+
<?php $loginpress_background_img = apply_filters( 'loginpress_login_background_image', $loginpress_background_img ); ?>
|
300 |
<?php if ( $loginpress_theme_tem == 'default17' && ! empty( $loginpress_background_img ) && $loginpress_display_bg ) : ?>
|
301 |
background-image: url(<?php echo $loginpress_background_img; ?>);
|
302 |
<?php elseif ( $loginpress_theme_tem == 'default17' && isset( $loginpress_display_bg ) && ! $loginpress_display_bg ) : ?>
|
404 |
<?php endif; ?>
|
405 |
}
|
406 |
body.login:after{
|
407 |
+
<?php $loginpress_background_img = apply_filters( 'loginpress_body_after_background_image', $loginpress_background_img ); ?>
|
408 |
<?php if ( $loginpress_theme_tem == 'default8' && ! empty( $loginpress_background_img ) && $loginpress_display_bg ) : ?>
|
409 |
background-image: url(<?php echo $loginpress_background_img; ?>);
|
410 |
<?php elseif ( $loginpress_theme_tem == 'default8' && isset( $loginpress_display_bg ) && ! $loginpress_display_bg ) : ?>
|
427 |
<?php endif; ?>
|
428 |
}
|
429 |
body.login {
|
430 |
+
<?php $loginpress_background_img = apply_filters( 'loginpress_body_background_image', $loginpress_background_img ); ?>
|
431 |
<?php if ( in_array( $loginpress_theme_tem, array( 'default6', 'default8', 'default10', 'default17' ) ) && ! empty( $loginpress_background_img ) && $loginpress_display_bg ) : ?>
|
432 |
background-image: url();
|
433 |
<?php elseif ( in_array( $loginpress_theme_tem, array( 'default6', 'default8', 'default10', 'default17' ) ) && isset( $loginpress_display_bg ) && ! $loginpress_display_bg ) : ?>
|
468 |
}
|
469 |
|
470 |
.login h1 a {
|
471 |
+
<?php $loginpress_logo_img = apply_filters( 'loginpress_form_logo', $loginpress_logo_img ); ?>
|
472 |
<?php if ( ! empty( $loginpress_logo_img ) ) : ?>
|
473 |
background-image: url( <?php echo $loginpress_logo_img; ?> ) <?php echo loginpress_important(); ?>;
|
474 |
<?php endif; ?>
|
544 |
<?php endif; ?>
|
545 |
}
|
546 |
#loginform {
|
547 |
+
<?php $loginpress_form_background_img = apply_filters( 'loginpress_login_form_background_image', $loginpress_form_background_img ); ?>
|
548 |
<?php if ( ! empty( $loginpress_form_display_bg ) && true == $loginpress_form_display_bg ) : ?>
|
549 |
background: transparent;
|
550 |
<?php endif; ?>
|
625 |
}
|
626 |
|
627 |
#lostpasswordform {
|
628 |
+
<?php $loginpress_forget_form_bg_img = apply_filters( 'loginpress_lostpassword_form_background_image', $loginpress_forget_form_bg_img ); ?>
|
629 |
<?php if ( ! empty( $loginpress_forget_form_bg_img ) ) : ?>
|
630 |
background-image: url(<?php echo $loginpress_forget_form_bg_img; ?>);
|
631 |
<?php endif; ?>
|
@@ -1166,20 +1166,29 @@ jQuery(document).ready(function($) {
|
|
1166 |
}
|
1167 |
});
|
1168 |
});
|
1169 |
-
|
1170 |
-
|
|
|
1171 |
wp.customize( 'loginpress_customization[button_hover_text_color]', function(value) {
|
1172 |
value.bind( function(loginPressVal) {
|
1173 |
if ( loginPressVal == '' ) {
|
|
|
1174 |
loginpress_find('.wp-core-ui #login .button-primary').on( 'mouseover', function() {
|
1175 |
-
|
1176 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1177 |
} else {
|
|
|
1178 |
loginpress_find('.wp-core-ui #login .button-primary').on( 'mouseover', function() {
|
1179 |
$(this).css( 'color', loginPressVal );
|
1180 |
}).on( 'mouseleave', function() {
|
1181 |
-
if ( typeof
|
1182 |
-
$(this).css( 'color',
|
1183 |
} else {
|
1184 |
$(this).css( 'color', '' );
|
1185 |
}
|
@@ -1199,13 +1208,25 @@ jQuery(document).ready(function($) {
|
|
1199 |
});
|
1200 |
});
|
1201 |
|
1202 |
-
// Update the login form button
|
1203 |
wp.customize( 'loginpress_customization[button_text_color]', function(value) {
|
1204 |
value.bind( function(loginPressVal) {
|
1205 |
if ( loginPressVal == '' ) {
|
|
|
1206 |
loginpress_find('.wp-core-ui #login .button-primary').css( 'color', '' );
|
1207 |
} else {
|
1208 |
loginpress_find('.wp-core-ui #login .button-primary').css( 'color', loginPressVal );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1209 |
}
|
1210 |
});
|
1211 |
});
|
1166 |
}
|
1167 |
});
|
1168 |
});
|
1169 |
+
var loginPressBtnTxtClr;
|
1170 |
+
var loginPressBtnTxtHvr;
|
1171 |
+
// Update the login form button text color on hover in real time...
|
1172 |
wp.customize( 'loginpress_customization[button_hover_text_color]', function(value) {
|
1173 |
value.bind( function(loginPressVal) {
|
1174 |
if ( loginPressVal == '' ) {
|
1175 |
+
loginPressBtnTxtHvr = undefined;
|
1176 |
loginpress_find('.wp-core-ui #login .button-primary').on( 'mouseover', function() {
|
1177 |
+
$(this).css( 'color', loginPressVal );
|
1178 |
+
}).on( 'mouseleave', function() {
|
1179 |
+
if ( typeof loginPressBtnTxtClr !== "undefined" || loginPressBtnTxtClr === null ) {
|
1180 |
+
$(this).css( 'color', loginPressBtnTxtClr );
|
1181 |
+
} else {
|
1182 |
+
$(this).css( 'color', '' );
|
1183 |
+
}
|
1184 |
+
});
|
1185 |
} else {
|
1186 |
+
loginPressBtnTxtHvr = loginPressVal;
|
1187 |
loginpress_find('.wp-core-ui #login .button-primary').on( 'mouseover', function() {
|
1188 |
$(this).css( 'color', loginPressVal );
|
1189 |
}).on( 'mouseleave', function() {
|
1190 |
+
if ( typeof loginPressBtnTxtClr !== "undefined" || loginPressBtnTxtClr === null ) {
|
1191 |
+
$(this).css( 'color', loginPressBtnTxtClr );
|
1192 |
} else {
|
1193 |
$(this).css( 'color', '' );
|
1194 |
}
|
1208 |
});
|
1209 |
});
|
1210 |
|
1211 |
+
// Update the login form button text color in real time...
|
1212 |
wp.customize( 'loginpress_customization[button_text_color]', function(value) {
|
1213 |
value.bind( function(loginPressVal) {
|
1214 |
if ( loginPressVal == '' ) {
|
1215 |
+
loginPressBtnTxtClr = undefined;
|
1216 |
loginpress_find('.wp-core-ui #login .button-primary').css( 'color', '' );
|
1217 |
} else {
|
1218 |
loginpress_find('.wp-core-ui #login .button-primary').css( 'color', loginPressVal );
|
1219 |
+
|
1220 |
+
loginpress_find('.wp-core-ui #login .button-primary').on( 'mouseover', function() {
|
1221 |
+
if ( typeof loginPressBtnTxtHvr !== "undefined" || loginPressBtnTxtHvr === null ) {
|
1222 |
+
$(this).css( 'color', loginPressBtnTxtHvr );
|
1223 |
+
} else {
|
1224 |
+
$(this).css( 'color', '' );
|
1225 |
+
}
|
1226 |
+
}).on( 'mouseleave', function() {
|
1227 |
+
$(this).css( 'color', loginPressVal );
|
1228 |
+
});
|
1229 |
+
loginPressBtnTxtClr = loginPressVal;
|
1230 |
}
|
1231 |
});
|
1232 |
});
|
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: LoginPress - Customizing the WordPress Login
|
4 |
* Plugin URI: https://loginpress.pro/
|
5 |
* Description: LoginPress is the best <code>wp-login</code> Login Page Customizer plugin by <a href="https://wpbrigade.com/">WPBrigade</a> which allows you to completely change the layout of login, register and forgot password forms.
|
6 |
-
* Version: 1.5.
|
7 |
* Author: WPBrigade
|
8 |
* Author URI: https://WPBrigade.com/
|
9 |
* Text Domain: loginpress
|
@@ -22,7 +22,7 @@ if ( ! class_exists( 'LoginPress' ) ) :
|
|
22 |
/**
|
23 |
* @var string
|
24 |
*/
|
25 |
-
public $version = '1.5.
|
26 |
|
27 |
/**
|
28 |
* @var The single instance of the class
|
3 |
* Plugin Name: LoginPress - Customizing the WordPress Login
|
4 |
* Plugin URI: https://loginpress.pro/
|
5 |
* Description: LoginPress is the best <code>wp-login</code> Login Page Customizer plugin by <a href="https://wpbrigade.com/">WPBrigade</a> which allows you to completely change the layout of login, register and forgot password forms.
|
6 |
+
* Version: 1.5.7
|
7 |
* Author: WPBrigade
|
8 |
* Author URI: https://WPBrigade.com/
|
9 |
* Text Domain: loginpress
|
22 |
/**
|
23 |
* @var string
|
24 |
*/
|
25 |
+
public $version = '1.5.7';
|
26 |
|
27 |
/**
|
28 |
* @var The single instance of the class
|
@@ -4,7 +4,7 @@ Tested up to: 5.8
|
|
4 |
Contributors: WPBrigade, hiddenpearls, AbdulWahab610
|
5 |
Author URI: https://wpbrigade.com/?utm_source=loginpress-lite&utm_medium=author-url-link
|
6 |
Tags: wp-login, login, login customizer, custom login, wordpress login,
|
7 |
-
Stable tag: 1.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -220,6 +220,16 @@ Please visit <a target="_blank" rel="friend" href="https://loginpress.pro?utm_so
|
|
220 |
|
221 |
== Changelog ==
|
222 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
= 1.5.6 – 2021-09-07 =
|
224 |
* Bugfix: PHP warning if footer string is empty.
|
225 |
* Enhancement: Translations added for {Login Order} settings.
|
@@ -611,5 +621,5 @@ Please visit <a target="_blank" rel="friend" href="https://loginpress.pro?utm_so
|
|
611 |
|
612 |
== Upgrade Notice ==
|
613 |
|
614 |
-
= 1.5.
|
615 |
* Important Release, upgrade immediately. Compatible with 5.8
|
4 |
Contributors: WPBrigade, hiddenpearls, AbdulWahab610
|
5 |
Author URI: https://wpbrigade.com/?utm_source=loginpress-lite&utm_medium=author-url-link
|
6 |
Tags: wp-login, login, login customizer, custom login, wordpress login,
|
7 |
+
Stable tag: 1.5.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
220 |
|
221 |
== Changelog ==
|
222 |
|
223 |
+
= 1.5.7 – 2021-09-24 =
|
224 |
+
* Bugfix: Login button {text & hover} color live preview in customizer.
|
225 |
+
* Enhancement: Added a filter `loginpress_form_logo` to change the form logo.
|
226 |
+
* Enhancement: Added a filter `loginpress_body_background_image` to change the background image.
|
227 |
+
* Enhancement: Added a filter `loginpress_body_after_background_image` to change the background image for theme 8 `Wedding #2`.
|
228 |
+
* Enhancement: Added a filter `loginpress_login_background_image` to change the background image for theme 17 `Photographers`.
|
229 |
+
* Enhancement: Added a filter `loginpress_login_after_background_image` to change the background image for theme 6 `Startup` & theme 10 `Bikers`.
|
230 |
+
* Enhancement: Added a filter `loginpress_login_form_background_image` to change the login form background image.
|
231 |
+
* Enhancement: Added a filter `loginpress_lostpassword_form_background_image` to change the lost password form background image.
|
232 |
+
|
233 |
= 1.5.6 – 2021-09-07 =
|
234 |
* Bugfix: PHP warning if footer string is empty.
|
235 |
* Enhancement: Translations added for {Login Order} settings.
|
621 |
|
622 |
== Upgrade Notice ==
|
623 |
|
624 |
+
= 1.5.7 =
|
625 |
* Important Release, upgrade immediately. Compatible with 5.8
|