Admin Custom Login - Version 3.1.3

Version Description

Download this release

Release Info

Developer weblizar
Plugin Icon 128x128 Admin Custom Login
Version 3.1.3
Comparing to
See all releases

Code changes from version 3.1.2 to 3.1.3

admin-custom-login.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Admin Custom Login
4
- * Version: 3.1.2
5
  * Description: Customize Your WordPress Login Screen Amazingly - Add Own Logo, Add Social Profiles, Login Form Positions, Background Image Slide Show
6
  * Author: Weblizar
7
  * Author URI: https://weblizar.com/plugins/
1
  <?php
2
  /**
3
  * Plugin Name: Admin Custom Login
4
+ * Version: 3.1.3
5
  * Description: Customize Your WordPress Login Screen Amazingly - Add Own Logo, Add Social Profiles, Login Form Positions, Background Image Slide Show
6
  * Author: Weblizar
7
  * Author URI: https://weblizar.com/plugins/
includes/design/text_and_color.php CHANGED
@@ -281,25 +281,6 @@ if ( ! defined( 'ABSPATH' ) ) exit;
281
  <tr class="" style="border-bottom:none;">
282
  <td>
283
  <select id="headline_font_style" class="standard-dropdown" name="headline_font_style">
284
- <optgroup label="Default Fonts">
285
- <option value="Arial" <?php selected($RPP_Font_Style, 'Arial' ); ?>><?php esc_html_e('Arial', WEBLIZAR_ACL)?></option>
286
- <option value="Arial Black" <?php selected($RPP_Font_Style, 'Arial Black' ); ?>><?php esc_html_e('Arial Black', WEBLIZAR_ACL)?></option>
287
- <option value="Courier New" <?php selected($RPP_Font_Style, 'Courier New' ); ?>><?php esc_html_e('Courier New', WEBLIZAR_ACL)?></option>
288
- <option value="Georgia" <?php selected($RPP_Font_Style, 'Georgia' ); ?>><?php esc_html_e('Georgia', WEBLIZAR_ACL)?></option>
289
- <option value="Grande" <?php selected($RPP_Font_Style, 'Grande' ); ?>><?php esc_html_e('Grande', WEBLIZAR_ACL)?></option>
290
- <option value="Helvetica Neue" <?php selected($RPP_Font_Style, 'Helvetica Neue' ); ?>><?php esc_html_e('Helvetica Neue', WEBLIZAR_ACL)?></option>
291
- <option value="Impact" <?php selected($RPP_Font_Style, 'Impact' ); ?>><?php esc_html_e('Impact', WEBLIZAR_ACL)?></option>
292
- <option value="Lucida" <?php selected($RPP_Font_Style, 'Lucida' ); ?>><?php esc_html_e('Lucida', WEBLIZAR_ACL)?></option>
293
- <option value="Lucida Grande" <?php selected($RPP_Font_Style, 'Lucida Grande' ); ?>><?php esc_html_e('Lucida Grande', WEBLIZAR_ACL)?></option>
294
- <option value="OpenSansBold" <?php selected($RPP_Font_Style, 'OpenSansBold' ); ?>><?php esc_html_e('OpenSansBold', WEBLIZAR_ACL)?></option>
295
- <option value="Palatino" <?php selected($RPP_Font_Style, 'Palatino' ); ?>><?php esc_html_e('Palatino', WEBLIZAR_ACL)?></option>
296
- <option value="Sans" <?php selected($RPP_Font_Style, 'Sans' ); ?>><?php esc_html_e('Sans', WEBLIZAR_ACL)?></option>
297
- <option value="Sans-Serif" <?php selected($RPP_Font_Style, 'Sans-Serif' ); ?>><?php esc_html_e('Sans-Serif', WEBLIZAR_ACL)?></option>
298
- <option value="Tahoma" <?php selected($RPP_Font_Style, 'Tahoma' ); ?>><?php esc_html_e('Tahoma', WEBLIZAR_ACL)?></option>
299
- <option value="Times New Roman"<?php selected($RPP_Font_Style, 'Times New Roman' ); ?>><?php esc_html_e('Times New Roman', WEBLIZAR_ACL)?></option>
300
- <option value="Trebuchet" <?php selected($RPP_Font_Style, 'Trebuchet' ); ?>><?php esc_html_e('Trebuchet', WEBLIZAR_ACL)?></option>
301
- <option value="Verdana" <?php selected($RPP_Font_Style, 'Verdana' ); ?>><?php esc_html_e('Verdana', WEBLIZAR_ACL)?></option>
302
- </optgroup>
303
  <optgroup label="Google Fonts">
304
  <?php
305
  // fetch the Google font list
@@ -345,25 +326,6 @@ if ( ! defined( 'ABSPATH' ) ) exit;
345
  <tr class="" style="border-bottom:none;">
346
  <td>
347
  <select id="input_font_style" class="standard-dropdown" name="input_font_style" >
348
- <optgroup label="Default Fonts">
349
- <option value="Arial" <?php selected($RPP_Font_Style, 'Arial' ); ?>><?php esc_html_e('Arial', WEBLIZAR_ACL)?></option>
350
- <option value="Arial Black" <?php selected($RPP_Font_Style, 'Arial Black' ); ?>><?php esc_html_e('Arial Black', WEBLIZAR_ACL)?></option>
351
- <option value="Courier New" <?php selected($RPP_Font_Style, 'Courier New' ); ?>><?php esc_html_e('Courier New', WEBLIZAR_ACL)?></option>
352
- <option value="Georgia" <?php selected($RPP_Font_Style, 'Georgia' ); ?>><?php esc_html_e('Georgia', WEBLIZAR_ACL)?></option>
353
- <option value="Grande" <?php selected($RPP_Font_Style, 'Grande' ); ?>><?php esc_html_e('Grande', WEBLIZAR_ACL)?></option>
354
- <option value="Helvetica Neue" <?php selected($RPP_Font_Style, 'Helvetica Neue' ); ?>><?php esc_html_e('Helvetica Neue', WEBLIZAR_ACL)?></option>
355
- <option value="Impact" <?php selected($RPP_Font_Style, 'Impact' ); ?>><?php esc_html_e('Impact', WEBLIZAR_ACL)?></option>
356
- <option value="Lucida" <?php selected($RPP_Font_Style, 'Lucida' ); ?>><?php esc_html_e('Lucida', WEBLIZAR_ACL)?></option>
357
- <option value="Lucida Grande" <?php selected($RPP_Font_Style, 'Lucida Grande' ); ?>><?php esc_html_e('Lucida Grande', WEBLIZAR_ACL)?></option>
358
- <option value="OpenSansBold" <?php selected($RPP_Font_Style, 'OpenSansBold' ); ?>><?php esc_html_e('OpenSansBold', WEBLIZAR_ACL)?></option>
359
- <option value="Palatino" <?php selected($RPP_Font_Style, 'Palatino' ); ?>><?php esc_html_e('Palatino', WEBLIZAR_ACL)?></option>
360
- <option value="Sans" <?php selected($RPP_Font_Style, 'Sans' ); ?>><?php esc_html_e('Sans', WEBLIZAR_ACL)?></option>
361
- <option value="Sans-Serif" <?php selected($RPP_Font_Style, 'Sans-Serif' ); ?>><?php esc_html_e('Sans-Serif', WEBLIZAR_ACL)?></option>
362
- <option value="Tahoma" <?php selected($RPP_Font_Style, 'Tahoma' ); ?>><?php esc_html_e('Tahoma', WEBLIZAR_ACL)?></option>
363
- <option value="Times New Roman"<?php selected($RPP_Font_Style, 'Times New Roman' ); ?>><?php esc_html_e('Times New Roman', WEBLIZAR_ACL)?></option>
364
- <option value="Trebuchet" <?php selected($RPP_Font_Style, 'Trebuchet' ); ?>><?php esc_html_e('Trebuchet', WEBLIZAR_ACL)?></option>
365
- <option value="Verdana" <?php selected($RPP_Font_Style, 'Verdana' ); ?>><?php esc_html_e('Verdana', WEBLIZAR_ACL)?></option>
366
- </optgroup>
367
  <optgroup label="Google Fonts">
368
  <?php
369
  // fetch the Google font list
@@ -406,25 +368,6 @@ if ( ! defined( 'ABSPATH' ) ) exit;
406
  <tr class="" style="border-bottom:none;">
407
  <td>
408
  <select id="link_font_style" class="standard-dropdown" name="link_font_style">
409
- <optgroup label="Default Fonts">
410
- <option value="Arial" <?php selected($RPP_Font_Style, 'Arial' ); ?>><?php esc_html_e('Arial', WEBLIZAR_ACL)?></option>
411
- <option value="Arial Black" <?php selected($RPP_Font_Style, 'Arial Black' ); ?>><?php esc_html_e('Arial Black', WEBLIZAR_ACL)?></option>
412
- <option value="Courier New" <?php selected($RPP_Font_Style, 'Courier New' ); ?>><?php esc_html_e('Courier New', WEBLIZAR_ACL)?></option>
413
- <option value="Georgia" <?php selected($RPP_Font_Style, 'Georgia' ); ?>><?php esc_html_e('Georgia', WEBLIZAR_ACL)?></option>
414
- <option value="Grande" <?php selected($RPP_Font_Style, 'Grande' ); ?>><?php esc_html_e('Grande', WEBLIZAR_ACL)?></option>
415
- <option value="Helvetica Neue" <?php selected($RPP_Font_Style, 'Helvetica Neue' ); ?>><?php esc_html_e('Helvetica Neue', WEBLIZAR_ACL)?></option>
416
- <option value="Impact" <?php selected($RPP_Font_Style, 'Impact' ); ?>><?php esc_html_e('Impact', WEBLIZAR_ACL)?></option>
417
- <option value="Lucida" <?php selected($RPP_Font_Style, 'Lucida' ); ?>><?php esc_html_e('Lucida', WEBLIZAR_ACL)?></option>
418
- <option value="Lucida Grande" <?php selected($RPP_Font_Style, 'Lucida Grande' ); ?>><?php esc_html_e('Lucida Grande', WEBLIZAR_ACL)?></option>
419
- <option value="OpenSansBold" <?php selected($RPP_Font_Style, 'OpenSansBold' ); ?>><?php esc_html_e('OpenSansBold', WEBLIZAR_ACL)?></option>
420
- <option value="Palatino" <?php selected($RPP_Font_Style, 'Palatino' ); ?>><?php esc_html_e('Palatino', WEBLIZAR_ACL)?></option>
421
- <option value="Sans" <?php selected($RPP_Font_Style, 'Sans' ); ?>><?php esc_html_e('Sans', WEBLIZAR_ACL)?></option>
422
- <option value="Sans-Serif" <?php selected($RPP_Font_Style, 'Sans-Serif' ); ?>><?php esc_html_e('Sans-Serif', WEBLIZAR_ACL)?></option>
423
- <option value="Tahoma" <?php selected($RPP_Font_Style, 'Tahoma' ); ?>><?php esc_html_e('Tahoma', WEBLIZAR_ACL)?></option>
424
- <option value="Times New Roman"<?php selected($RPP_Font_Style, 'Times New Roman' ); ?>><?php esc_html_e('Times New Roman', WEBLIZAR_ACL)?></option>
425
- <option value="Trebuchet" <?php selected($RPP_Font_Style, 'Trebuchet' ); ?>><?php esc_html_e('Trebuchet', WEBLIZAR_ACL)?></option>
426
- <option value="Verdana" <?php selected($RPP_Font_Style, 'Verdana' ); ?>><?php esc_html_e('Verdana', WEBLIZAR_ACL)?></option>
427
- </optgroup>
428
  <optgroup label="Google Fonts">
429
  <?php
430
  // fetch the Google font list
@@ -469,25 +412,6 @@ if ( ! defined( 'ABSPATH' ) ) exit;
469
  <tr class="" style="border-bottom:none;">
470
  <td>
471
  <select id="button_font_style" class="standard-dropdown" name="button_font_style" >
472
- <optgroup label="Default Fonts">
473
- <option value="Arial" <?php selected($RPP_Font_Style, 'Arial' ); ?>><?php esc_html_e('Arial', WEBLIZAR_ACL)?></option>
474
- <option value="Arial Black" <?php selected($RPP_Font_Style, 'Arial Black' ); ?>><?php esc_html_e('Arial Black', WEBLIZAR_ACL)?></option>
475
- <option value="Courier New" <?php selected($RPP_Font_Style, 'Courier New' ); ?>><?php esc_html_e('Courier New', WEBLIZAR_ACL)?></option>
476
- <option value="Georgia" <?php selected($RPP_Font_Style, 'Georgia' ); ?>><?php esc_html_e('Georgia', WEBLIZAR_ACL)?></option>
477
- <option value="Grande" <?php selected($RPP_Font_Style, 'Grande' ); ?>><?php esc_html_e('Grande', WEBLIZAR_ACL)?></option>
478
- <option value="Helvetica Neue" <?php selected($RPP_Font_Style, 'Helvetica Neue' ); ?>><?php esc_html_e('Helvetica Neue', WEBLIZAR_ACL)?></option>
479
- <option value="Impact" <?php selected($RPP_Font_Style, 'Impact' ); ?>><?php esc_html_e('Impact', WEBLIZAR_ACL)?></option>
480
- <option value="Lucida" <?php selected($RPP_Font_Style, 'Lucida' ); ?>><?php esc_html_e('Lucida', WEBLIZAR_ACL)?></option>
481
- <option value="Lucida Grande" <?php selected($RPP_Font_Style, 'Lucida Grande' ); ?>><?php esc_html_e('Lucida Grande', WEBLIZAR_ACL)?></option>
482
- <option value="OpenSansBold" <?php selected($RPP_Font_Style, 'OpenSansBold' ); ?>><?php esc_html_e('OpenSansBold', WEBLIZAR_ACL)?></option>
483
- <option value="Palatino" <?php selected($RPP_Font_Style, 'Palatino' ); ?>><?php esc_html_e('Palatino', WEBLIZAR_ACL)?></option>
484
- <option value="Sans" <?php selected($RPP_Font_Style, 'Sans' ); ?>><?php esc_html_e('Sans', WEBLIZAR_ACL)?></option>
485
- <option value="Sans-Serif" <?php selected($RPP_Font_Style, 'Sans-Serif' ); ?>><?php esc_html_e('Sans-Serif', WEBLIZAR_ACL)?></option>
486
- <option value="Tahoma" <?php selected($RPP_Font_Style, 'Tahoma' ); ?>><?php esc_html_e('Tahoma', WEBLIZAR_ACL)?></option>
487
- <option value="Times New Roman"<?php selected($RPP_Font_Style, 'Times New Roman' ); ?>><?php esc_html_e('Times New Roman', WEBLIZAR_ACL)?></option>
488
- <option value="Trebuchet" <?php selected($RPP_Font_Style, 'Trebuchet' ); ?>><?php esc_html_e('Trebuchet', WEBLIZAR_ACL)?></option>
489
- <option value="Verdana" <?php selected($RPP_Font_Style, 'Verdana' ); ?>><?php esc_html_e('Verdana', WEBLIZAR_ACL)?></option>
490
- </optgroup>
491
  <optgroup label="Google Fonts">
492
  <?php
493
  // fetch the Google font list
281
  <tr class="" style="border-bottom:none;">
282
  <td>
283
  <select id="headline_font_style" class="standard-dropdown" name="headline_font_style">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
284
  <optgroup label="Google Fonts">
285
  <?php
286
  // fetch the Google font list
326
  <tr class="" style="border-bottom:none;">
327
  <td>
328
  <select id="input_font_style" class="standard-dropdown" name="input_font_style" >
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
329
  <optgroup label="Google Fonts">
330
  <?php
331
  // fetch the Google font list
368
  <tr class="" style="border-bottom:none;">
369
  <td>
370
  <select id="link_font_style" class="standard-dropdown" name="link_font_style">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
371
  <optgroup label="Google Fonts">
372
  <?php
373
  // fetch the Google font list
412
  <tr class="" style="border-bottom:none;">
413
  <td>
414
  <select id="button_font_style" class="standard-dropdown" name="button_font_style" >
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
415
  <optgroup label="Google Fonts">
416
  <?php
417
  // fetch the Google font list
init.php CHANGED
@@ -134,6 +134,7 @@ function acl_advanced_login_form_plugin() {
134
  $top_page = unserialize(get_option('Admin_custome_login_top'));
135
  if($top_page['top_bg_type'] == "slider-background" && $dashboard_page['dashboard_status'] == "enable"){
136
  wp_enqueue_script('modernizr',WEBLIZAR_NALF_PLUGIN_URL.'js/modernizr.custom.86080.js');
 
137
  wp_enqueue_style('demo', WEBLIZAR_NALF_PLUGIN_URL.'css/demo.css');
138
  // wp_enqueue_style('fonts', WEBLIZAR_NALF_PLUGIN_URL.'fonts/stylesheet.css');
139
  }
134
  $top_page = unserialize(get_option('Admin_custome_login_top'));
135
  if($top_page['top_bg_type'] == "slider-background" && $dashboard_page['dashboard_status'] == "enable"){
136
  wp_enqueue_script('modernizr',WEBLIZAR_NALF_PLUGIN_URL.'js/modernizr.custom.86080.js');
137
+ // wp_enqueue_script('google-font',WEBLIZAR_NALF_PLUGIN_URL.'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js');
138
  wp_enqueue_style('demo', WEBLIZAR_NALF_PLUGIN_URL.'css/demo.css');
139
  // wp_enqueue_style('fonts', WEBLIZAR_NALF_PLUGIN_URL.'fonts/stylesheet.css');
140
  }
login-form-screen.php CHANGED
@@ -83,7 +83,9 @@ add_action( 'admin_print_scripts', 'acl_admin_font' );
83
  function acl_admin_font() {
84
  wp_enqueue_script('wl-acl-font',WEBLIZAR_NALF_PLUGIN_URL.'js/webfonts.js', array('jquery'), true, false);
85
  }
86
- ?> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js">>
 
 
87
  WebFont.load({
88
  google: {
89
  families: ['<?php echo esc_attr($text_and_color_page["heading_font_style"]); ?>'] // saved value
@@ -237,9 +239,9 @@ function acl_admin_font() {
237
  font-family:<?php echo esc_attr($text_and_color_page['heading_font_style']); ?> !important;
238
  }
239
  #reg_passmail{
240
- color:<?php echo esc_attr($text_and_color_page['heading_font_color']); ?>;
241
- font-size:<?php echo esc_attr($text_and_color_page['heading_font_size']); ?>px;
242
- font-family:<?php echo esc_attr($text_and_color_page['heading_font_style']); ?>;
243
  }
244
 
245
  body.login #loginform p.submit .button-primary, body.wp-core-ui .button-primary {
83
  function acl_admin_font() {
84
  wp_enqueue_script('wl-acl-font',WEBLIZAR_NALF_PLUGIN_URL.'js/webfonts.js', array('jquery'), true, false);
85
  }
86
+ ?>
87
+ <script src="https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js"></script>
88
+ <script type="text/javascript">
89
  WebFont.load({
90
  google: {
91
  families: ['<?php echo esc_attr($text_and_color_page["heading_font_style"]); ?>'] // saved value
239
  font-family:<?php echo esc_attr($text_and_color_page['heading_font_style']); ?> !important;
240
  }
241
  #reg_passmail{
242
+ color:<?php echo esc_attr($text_and_color_page['heading_font_color']); ?> !important;
243
+ font-size:<?php echo esc_attr($text_and_color_page['heading_font_size']); ?>px !important;
244
+ font-family:<?php echo esc_attr($text_and_color_page['heading_font_style']); ?> !important;
245
  }
246
 
247
  body.login #loginform p.submit .button-primary, body.wp-core-ui .button-primary {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.weblizar.com/
4
  Tags: admin login page, custom login page, custom admin login, custom login, customize wordpress login page, design wordpress login
5
  Requires at least: 4.0
6
  Tested up to: 5.3.2
7
- Stable tag: 3.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -189,6 +189,9 @@ Please use WordPress [support forum](http://wordpress.org/support/plugin/admin-c
189
 
190
  For more information, see [Weblizar](http://www.weblizar.com/)
191
 
 
 
 
192
  3.1.2 = [24-01-2020]
193
  * Minor bugs fixed.
194
 
4
  Tags: admin login page, custom login page, custom admin login, custom login, customize wordpress login page, design wordpress login
5
  Requires at least: 4.0
6
  Tested up to: 5.3.2
7
+ Stable tag: 3.1.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
189
 
190
  For more information, see [Weblizar](http://www.weblizar.com/)
191
 
192
+ 3.1.3 = [30-01-2020]
193
+ * Font Bug Fixed.
194
+
195
  3.1.2 = [24-01-2020]
196
  * Minor bugs fixed.
197