Admin Custom Login - Version 2.6.1

Version Description

  • Bug fixed undefined variables + Social icon color bug fixed.
Download this release

Release Info

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

Code changes from version 2.6.0 to 2.6.1

acl-gcaptcha.php CHANGED
@@ -7,8 +7,14 @@ class ACL_gcaptcha_Login_Form {
7
  /** class constructor */
8
  public function __construct() {
9
  $g_page = unserialize(get_option('Admin_custome_login_gcaptcha'));
10
- $site_key = $g_page['site_key'];
11
- $secret_key = $g_page['secret_key'];
 
 
 
 
 
 
12
  $this->public_key = $site_key;
13
  $this->private_key = $secret_key;
14
 
@@ -21,8 +27,7 @@ class ACL_gcaptcha_Login_Form {
21
 
22
 
23
  /** Output the ACL_gcaptcha form field. */
24
- public function captcha_display() {
25
- ?>
26
  <script src="https://www.google.com/recaptcha/api.js" async defer></script>
27
  <div class="g-recaptcha" data-sitekey="<?php echo $this->public_key; ?>" style="margin-bottom:20px;"></div>
28
  <noscript>
@@ -78,8 +83,13 @@ class ACL_gcaptcha_Login_Form {
78
 
79
  // make a GET request to the Google reCAPTCHA Server
80
  $g_page = unserialize(get_option('Admin_custome_login_gcaptcha'));
81
- $site_key = $g_page['site_key'];
82
- $secret_key = $g_page['secret_key'];
 
 
 
 
 
83
  $request = wp_remote_get(
84
  'https://www.google.com/recaptcha/api/siteverify?secret=' . $secret_key . '&response=' . $response . '&remoteip=' . $remote_ip
85
  );
7
  /** class constructor */
8
  public function __construct() {
9
  $g_page = unserialize(get_option('Admin_custome_login_gcaptcha'));
10
+ if(isset($g_page['site_key']) && isset($g_page['secret_key'])){
11
+ $site_key = $g_page['site_key'];
12
+ $secret_key = $g_page['secret_key'];
13
+ }else{
14
+ $site_key = '';
15
+ $secret_key = '';
16
+ }
17
+
18
  $this->public_key = $site_key;
19
  $this->private_key = $secret_key;
20
 
27
 
28
 
29
  /** Output the ACL_gcaptcha form field. */
30
+ public function captcha_display() { ?>
 
31
  <script src="https://www.google.com/recaptcha/api.js" async defer></script>
32
  <div class="g-recaptcha" data-sitekey="<?php echo $this->public_key; ?>" style="margin-bottom:20px;"></div>
33
  <noscript>
83
 
84
  // make a GET request to the Google reCAPTCHA Server
85
  $g_page = unserialize(get_option('Admin_custome_login_gcaptcha'));
86
+ if(isset($g_page['site_key']) && isset($g_page['secret_key'])){
87
+ $site_key = $g_page['site_key'];
88
+ $secret_key = $g_page['secret_key'];
89
+ }else{
90
+ $site_key = '';
91
+ $secret_key = '';
92
+ }
93
  $request = wp_remote_get(
94
  'https://www.google.com/recaptcha/api/siteverify?secret=' . $secret_key . '&response=' . $response . '&remoteip=' . $remote_ip
95
  );
admin-custom-login.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Admin Custom Login
4
- * Version: 2.6.0
5
  * Description: Customize Your WordPress Login Screen Amazingly
6
  * Author: Weblizar
7
  * Author URI: http://weblizar.com/plugins/
@@ -16,13 +16,14 @@ define("WEBLIZAR_NALF_PLUGIN_URL", plugin_dir_url(__FILE__));
16
  define("WEBLIZAR_ACL", "admin-custom-login", true);
17
 
18
  $g_page = unserialize(get_option('Admin_custome_login_gcaptcha'));
19
- $login_enable_gcaptcha = $g_page['login_enable_gcaptcha'];
20
- if($login_enable_gcaptcha=="yes"){
21
- // Gcaptcha code
22
- include('acl-gcaptcha.php');
 
 
23
  }
24
 
25
-
26
  /**
27
  * Redirect user after successful login.
28
  *
@@ -196,8 +197,13 @@ function acl_footer_func() {
196
  jQuery( "#backtoblog" ).append('<div class="divsocial"><?php if($Social_page['social_twitter_link']!=''){?> <a href="<?php echo $Social_page['social_twitter_link']; ?>" class="icon-button twitter"><i class="fab fa-twitter"></i><span></span></a><?php } if($Social_page['social_facebook_link']!=''){?><a href="<?php echo $Social_page['social_facebook_link']; ?>" class="icon-button facebook"><i class="fab fa-facebook-f"></i><span></span></a> <?php } if($Social_page['social_google_plus_link']!=''){?><a href="<?php echo $Social_page['social_google_plus_link']; ?>" class="icon-button google-plus"><i class="fab fa-google-plus-g"></i><span></span></a><?php } if($Social_page['social_linkedin_link']!=''){?><a href="<?php echo $Social_page['social_linkedin_link']; ?>" class="icon-button linkedin"><i class="fab fa-linkedin-in"></i><span></span></a><?php } if($Social_page['social_pinterest_link']!=''){?><a href="<?php echo $Social_page['social_pinterest_link']; ?>" class="icon-button pinterest"><i class="fab fa-pinterest-p"></i><span></span></a><?php } if($Social_page['social_digg_link']!=''){?> <a href="<?php echo $Social_page['social_digg_link']; ?>" class="icon-button digg"><i class="fab fa-digg"></i><span></span></a><?php } if($Social_page['social_youtube_link']!=''){?><a href="<?php echo $Social_page['social_youtube_link']; ?>" class="icon-button youtube"><i class="fab fa-youtube-square"></i><span></span></a><?php } if($Social_page['social_flickr_link']!=''){?><a href="<?php echo $Social_page['social_flickr_link']; ?>" class="icon-button flickr"><i class="fab fa-flickr"></i><span></span></a><?php } if($Social_page['social_tumblr_link']!=''){?><a href="<?php echo $Social_page['social_tumblr_link']; ?>" class="icon-button tumblr"><i class="fab fa-tumblr"></i><span></span></a><?php } if($Social_page['social_skype_link']!=''){?><a href="<?php echo $Social_page['social_skype_link']; ?>" class="icon-button skype"><i class="fab fa-skype"></i><span></span></a><?php } if($Social_page['social_instagram_link']!=''){?><a href="<?php echo $Social_page['social_instagram_link']; ?>" class="icon-button instagram"><i class="fab fa-instagram"></i><span></span></a><?php }if($Social_page['social_telegram_link']!=''){ ?><a href="<?php echo $Social_page['social_telegram_link'];?>" class="icon-button telegram"><i class="fab fa-telegram-plane"></i><span></span></a><?php }if($Social_page['social_whatsapp_link']!=''){ ?><a href="<?php echo $Social_page['social_whatsapp_link'];?>" class="icon-button whatsapp"><i class="fab fa-whatsapp"></i><span></span></a><?php } ?></div>');
197
  <?php }
198
  $login_page = unserialize(get_option('Admin_custome_login_login'));
199
- $tagline_msg= $login_page['tagline_msg'];
200
- $edit_tagline_msg = stripslashes($tagline_msg);
 
 
 
 
 
201
  ?>
202
  jQuery( "#backtoblog" ).append('<div class="divfooter"><?php echo html_entity_decode($edit_tagline_msg);?></div>');
203
  })
@@ -262,6 +268,11 @@ function acl_export_settings() {
262
  $login_bg_position = $login_page['login_bg_position'];
263
  $login_enable_shadow = $login_page['login_enable_shadow'];
264
  $login_shadow_color = $login_page['login_shadow_color'];
 
 
 
 
 
265
 
266
  // Get value of Text and Color page
267
  $text_and_color_page = unserialize(get_option('Admin_custome_login_text'));
@@ -324,12 +335,17 @@ function acl_export_settings() {
324
  $social_youtube_link = $Social_page['social_youtube_link'];
325
  $social_flickr_link = $Social_page['social_flickr_link'];
326
  $social_tumblr_link = $Social_page['social_tumblr_link'];
327
- $social_vkontakte_link = $Social_page['social_vkontakte_link'];
328
  $social_skype_link = $Social_page['social_skype_link'];
329
  $social_instagram_link = $Social_page['social_instagram_link'];
330
  $social_telegram_link = $Social_page['social_telegram_link'];
331
  $social_whatsapp_link = $Social_page['social_whatsapp_link'];
332
-
 
 
 
 
 
 
333
  $ACL_ALL_Settings= serialize(array(
334
  'dashboard_status' => $dashboard_status,
335
  'top_bg_type' => $top_bg_type,
@@ -358,7 +374,11 @@ function acl_export_settings() {
358
  'login_bg_position' => $login_bg_position,
359
  'login_enable_shadow' => $login_enable_shadow,
360
  'login_shadow_color' => $login_shadow_color,
361
-
 
 
 
 
362
  'heading_font_color' => $heading_font_color,
363
  'input_font_color' => $input_font_color,
364
  'link_color' => $link_color,
@@ -399,7 +419,6 @@ function acl_export_settings() {
399
  'social_youtube_link' => $social_youtube_link,
400
  'social_flickr_link' => $social_flickr_link,
401
  'social_tumblr_link' => $social_tumblr_link,
402
- 'social_vkontakte_link' => $social_vkontakte_link,
403
  'social_skype_link' => $social_skype_link,
404
  'social_instagram_link' => $social_instagram_link,
405
  'social_telegram_link' => $social_telegram_link,
@@ -416,7 +435,11 @@ function acl_export_settings() {
416
  'Slidshow_image_label_3' => $Slidshow_image_label_3,
417
  'Slidshow_image_label_4' => $Slidshow_image_label_4,
418
  'Slidshow_image_label_5' => $Slidshow_image_label_5,
419
- 'Slidshow_image_label_6' => $Slidshow_image_label_6
 
 
 
 
420
  ));
421
 
422
  ignore_user_abort( true );
@@ -491,6 +514,10 @@ function acl_import_settings() {
491
  $login_bg_position = $ACL_Settings['login_bg_position'];
492
  $login_enable_shadow = $ACL_Settings['login_enable_shadow'];
493
  $login_shadow_color = $ACL_Settings['login_shadow_color'];
 
 
 
 
494
 
495
  $heading_font_color = $ACL_Settings['heading_font_color'];
496
  $input_font_color = $ACL_Settings['input_font_color'];
@@ -552,6 +579,10 @@ function acl_import_settings() {
552
  $social_telegram_link = $ACL_Settings['social_telegram_link'];
553
  $social_whatsapp_link = $ACL_Settings['social_whatsapp_link'];
554
 
 
 
 
 
555
  $upload_dir = wp_upload_dir();
556
  $plugins_dir = plugins_url();
557
 
@@ -679,7 +710,11 @@ function acl_import_settings() {
679
  'login_bg_repeat' => $login_bg_repeat,
680
  'login_bg_position' => $login_bg_position,
681
  'login_enable_shadow' => $login_enable_shadow,
682
- 'login_shadow_color' => $login_shadow_color
 
 
 
 
683
  ));
684
  update_option('Admin_custome_login_login', $login_page);
685
 
@@ -752,6 +787,15 @@ function acl_import_settings() {
752
  ));
753
  update_option('Admin_custome_login_Slidshow', $Slidshow_image);
754
 
 
 
 
 
 
 
 
 
 
755
  //wp_safe_redirect( admin_url( 'options-general.php?page=admin_custom_login' ) ); exit;
756
  }
757
  add_action( 'admin_init', 'acl_import_settings' );
1
  <?php
2
  /**
3
  * Plugin Name: Admin Custom Login
4
+ * Version: 2.6.1
5
  * Description: Customize Your WordPress Login Screen Amazingly
6
  * Author: Weblizar
7
  * Author URI: http://weblizar.com/plugins/
16
  define("WEBLIZAR_ACL", "admin-custom-login", true);
17
 
18
  $g_page = unserialize(get_option('Admin_custome_login_gcaptcha'));
19
+ if(isset($g_page['login_enable_gcaptcha'])){
20
+ $login_enable_gcaptcha = $g_page['login_enable_gcaptcha'];
21
+ if($login_enable_gcaptcha=="yes"){
22
+ // Gcaptcha code
23
+ include('acl-gcaptcha.php');
24
+ }
25
  }
26
 
 
27
  /**
28
  * Redirect user after successful login.
29
  *
197
  jQuery( "#backtoblog" ).append('<div class="divsocial"><?php if($Social_page['social_twitter_link']!=''){?> <a href="<?php echo $Social_page['social_twitter_link']; ?>" class="icon-button twitter"><i class="fab fa-twitter"></i><span></span></a><?php } if($Social_page['social_facebook_link']!=''){?><a href="<?php echo $Social_page['social_facebook_link']; ?>" class="icon-button facebook"><i class="fab fa-facebook-f"></i><span></span></a> <?php } if($Social_page['social_google_plus_link']!=''){?><a href="<?php echo $Social_page['social_google_plus_link']; ?>" class="icon-button google-plus"><i class="fab fa-google-plus-g"></i><span></span></a><?php } if($Social_page['social_linkedin_link']!=''){?><a href="<?php echo $Social_page['social_linkedin_link']; ?>" class="icon-button linkedin"><i class="fab fa-linkedin-in"></i><span></span></a><?php } if($Social_page['social_pinterest_link']!=''){?><a href="<?php echo $Social_page['social_pinterest_link']; ?>" class="icon-button pinterest"><i class="fab fa-pinterest-p"></i><span></span></a><?php } if($Social_page['social_digg_link']!=''){?> <a href="<?php echo $Social_page['social_digg_link']; ?>" class="icon-button digg"><i class="fab fa-digg"></i><span></span></a><?php } if($Social_page['social_youtube_link']!=''){?><a href="<?php echo $Social_page['social_youtube_link']; ?>" class="icon-button youtube"><i class="fab fa-youtube-square"></i><span></span></a><?php } if($Social_page['social_flickr_link']!=''){?><a href="<?php echo $Social_page['social_flickr_link']; ?>" class="icon-button flickr"><i class="fab fa-flickr"></i><span></span></a><?php } if($Social_page['social_tumblr_link']!=''){?><a href="<?php echo $Social_page['social_tumblr_link']; ?>" class="icon-button tumblr"><i class="fab fa-tumblr"></i><span></span></a><?php } if($Social_page['social_skype_link']!=''){?><a href="<?php echo $Social_page['social_skype_link']; ?>" class="icon-button skype"><i class="fab fa-skype"></i><span></span></a><?php } if($Social_page['social_instagram_link']!=''){?><a href="<?php echo $Social_page['social_instagram_link']; ?>" class="icon-button instagram"><i class="fab fa-instagram"></i><span></span></a><?php }if($Social_page['social_telegram_link']!=''){ ?><a href="<?php echo $Social_page['social_telegram_link'];?>" class="icon-button telegram"><i class="fab fa-telegram-plane"></i><span></span></a><?php }if($Social_page['social_whatsapp_link']!=''){ ?><a href="<?php echo $Social_page['social_whatsapp_link'];?>" class="icon-button whatsapp"><i class="fab fa-whatsapp"></i><span></span></a><?php } ?></div>');
198
  <?php }
199
  $login_page = unserialize(get_option('Admin_custome_login_login'));
200
+ if(isset($login_page['tagline_msg'])){
201
+ $tagline_msg = $login_page['tagline_msg'];
202
+ $edit_tagline_msg = stripslashes($tagline_msg);
203
+ }
204
+ else{
205
+ $edit_tagline_msg = "";
206
+ }
207
  ?>
208
  jQuery( "#backtoblog" ).append('<div class="divfooter"><?php echo html_entity_decode($edit_tagline_msg);?></div>');
209
  })
268
  $login_bg_position = $login_page['login_bg_position'];
269
  $login_enable_shadow = $login_page['login_enable_shadow'];
270
  $login_shadow_color = $login_page['login_shadow_color'];
271
+ $log_form_above_msg = $login_page['log_form_above_msg'];
272
+ $login_msg_fontsize = $login_page['login_msg_fontsize'];
273
+ $login_msg_font_color = $login_page['login_msg_font_color'];
274
+ $tagline_msg = $login_page['tagline_msg'];
275
+
276
 
277
  // Get value of Text and Color page
278
  $text_and_color_page = unserialize(get_option('Admin_custome_login_text'));
335
  $social_youtube_link = $Social_page['social_youtube_link'];
336
  $social_flickr_link = $Social_page['social_flickr_link'];
337
  $social_tumblr_link = $Social_page['social_tumblr_link'];
 
338
  $social_skype_link = $Social_page['social_skype_link'];
339
  $social_instagram_link = $Social_page['social_instagram_link'];
340
  $social_telegram_link = $Social_page['social_telegram_link'];
341
  $social_whatsapp_link = $Social_page['social_whatsapp_link'];
342
+
343
+ $g_page = unserialize(get_option('Admin_custome_login_gcaptcha'));
344
+ $site_key = $g_page['site_key'];
345
+ $secret_key = $g_page['secret_key'];
346
+ $login_enable_gcaptcha = $g_page['login_enable_gcaptcha'];
347
+
348
+
349
  $ACL_ALL_Settings= serialize(array(
350
  'dashboard_status' => $dashboard_status,
351
  'top_bg_type' => $top_bg_type,
374
  'login_bg_position' => $login_bg_position,
375
  'login_enable_shadow' => $login_enable_shadow,
376
  'login_shadow_color' => $login_shadow_color,
377
+ 'log_form_above_msg' => $log_form_above_msg,
378
+ 'login_msg_fontsize' => $login_msg_fontsize,
379
+ 'login_msg_font_color' => $login_msg_font_color,
380
+ 'tagline_msg' => $tagline_msg,
381
+
382
  'heading_font_color' => $heading_font_color,
383
  'input_font_color' => $input_font_color,
384
  'link_color' => $link_color,
419
  'social_youtube_link' => $social_youtube_link,
420
  'social_flickr_link' => $social_flickr_link,
421
  'social_tumblr_link' => $social_tumblr_link,
 
422
  'social_skype_link' => $social_skype_link,
423
  'social_instagram_link' => $social_instagram_link,
424
  'social_telegram_link' => $social_telegram_link,
435
  'Slidshow_image_label_3' => $Slidshow_image_label_3,
436
  'Slidshow_image_label_4' => $Slidshow_image_label_4,
437
  'Slidshow_image_label_5' => $Slidshow_image_label_5,
438
+ 'Slidshow_image_label_6' => $Slidshow_image_label_6,
439
+
440
+ 'site_key' => $site_key,
441
+ 'secret_key' => $secret_key,
442
+ 'login_enable_gcaptcha' => $login_enable_gcaptcha
443
  ));
444
 
445
  ignore_user_abort( true );
514
  $login_bg_position = $ACL_Settings['login_bg_position'];
515
  $login_enable_shadow = $ACL_Settings['login_enable_shadow'];
516
  $login_shadow_color = $ACL_Settings['login_shadow_color'];
517
+ $log_form_above_msg = $ACL_Settings['log_form_above_msg'];
518
+ $login_msg_fontsize = $ACL_Settings['login_msg_fontsize'];
519
+ $login_msg_font_color = $ACL_Settings['login_msg_font_color'];
520
+ $tagline_msg = $ACL_Settings['tagline_msg'];
521
 
522
  $heading_font_color = $ACL_Settings['heading_font_color'];
523
  $input_font_color = $ACL_Settings['input_font_color'];
579
  $social_telegram_link = $ACL_Settings['social_telegram_link'];
580
  $social_whatsapp_link = $ACL_Settings['social_whatsapp_link'];
581
 
582
+ $site_key = $ACL_Settings['site_key'];
583
+ $secret_key = $ACL_Settings['secret_key'];
584
+ $login_enable_gcaptcha = $ACL_Settings['login_enable_gcaptcha'];
585
+
586
  $upload_dir = wp_upload_dir();
587
  $plugins_dir = plugins_url();
588
 
710
  'login_bg_repeat' => $login_bg_repeat,
711
  'login_bg_position' => $login_bg_position,
712
  'login_enable_shadow' => $login_enable_shadow,
713
+ 'login_shadow_color' => $login_shadow_color,
714
+ 'log_form_above_msg' => $log_form_above_msg,
715
+ 'login_msg_fontsize' => $login_msg_fontsize,
716
+ 'login_msg_font_color' => $login_msg_font_color,
717
+ 'tagline_msg' => $tagline_msg
718
  ));
719
  update_option('Admin_custome_login_login', $login_page);
720
 
787
  ));
788
  update_option('Admin_custome_login_Slidshow', $Slidshow_image);
789
 
790
+
791
+ $g_page= serialize(array(
792
+ 'site_key' => $site_key,
793
+ 'secret_key' => $secret_key,
794
+ 'login_enable_gcaptcha' => $login_enable_gcaptcha
795
+
796
+ ));
797
+ update_option('Admin_custome_login_gcaptcha', $g_page);
798
+
799
  //wp_safe_redirect( admin_url( 'options-general.php?page=admin_custom_login' ) ); exit;
800
  }
801
  add_action( 'admin_init', 'acl_import_settings' );
css/socialcss.php CHANGED
@@ -15,7 +15,6 @@ $social_digg_link=$Social_page['social_digg_link'];
15
  $social_youtube_link=$Social_page['social_digg_link'];
16
  $social_flickr_link=$Social_page['social_flickr_link'];
17
  $social_tumblr_link=$Social_page['social_tumblr_link'];
18
- $social_vkontakte_link=$Social_page['social_vkontakte_link'];
19
  $social_skype_link=$Social_page['social_skype_link'];
20
  $social_instagram_link=$Social_page['social_instagram_link'];
21
 
@@ -79,7 +78,7 @@ if($social_icon_size=="large") { ?>
79
 
80
  .icon-button i {
81
  background: none;
82
- color: white;
83
  height: 50px;
84
  left: 0;
85
  line-height: 48px;
@@ -92,13 +91,11 @@ if($social_icon_size=="large") { ?>
92
  width: 50px;
93
  z-index: 10;
94
  }
95
- .icon-button .fa{
96
- color: <?php echo $social_icon_color;?>;
97
- }
98
 
99
- .icon-button:hover .fa{
100
- color: <?php echo $social_icon_color_onhover;?>;
101
  }
 
102
  </style>
103
  <?php } else if($social_icon_size=="mediam") { ?>
104
  <style>
@@ -159,7 +156,7 @@ if($social_icon_size=="large") { ?>
159
 
160
  .icon-button i {
161
  background: none;
162
- color: white;
163
  height: 42px;
164
  left: 0;
165
  line-height: 40px;
@@ -172,13 +169,12 @@ if($social_icon_size=="large") { ?>
172
  width: 42px;
173
  z-index: 10;
174
  }
175
- .icon-button .fa{
176
- color: <?php echo $social_icon_color;?>;
177
- }
178
 
179
- .icon-button:hover .fa{
180
- color: <?php echo $social_icon_color_onhover;?>;
 
181
  }
 
182
  </style>
183
  <?php } else { ?>
184
  <style>
@@ -213,6 +209,11 @@ if($social_icon_size=="large") { ?>
213
  text-decoration: none;
214
  }
215
 
 
 
 
 
 
216
  .icon-button span {
217
  border-radius: 0;
218
  display: block;
@@ -239,7 +240,7 @@ if($social_icon_size=="large") { ?>
239
 
240
  .icon-button i {
241
  background: none;
242
- color: white;
243
  height: 28px;
244
  left: 0;
245
  line-height: 30px;
@@ -252,12 +253,10 @@ if($social_icon_size=="large") { ?>
252
  width: 28px;
253
  z-index: 10;
254
  }
255
- .icon-button .fa{
256
- color: <?php echo $social_icon_color;?>;
257
- }
258
 
259
- .icon-button:hover .fa{
260
- color: <?php echo $social_icon_color_onhover;?>;
261
  }
 
262
  </style>
263
  <?php } ?>
15
  $social_youtube_link=$Social_page['social_digg_link'];
16
  $social_flickr_link=$Social_page['social_flickr_link'];
17
  $social_tumblr_link=$Social_page['social_tumblr_link'];
 
18
  $social_skype_link=$Social_page['social_skype_link'];
19
  $social_instagram_link=$Social_page['social_instagram_link'];
20
 
78
 
79
  .icon-button i {
80
  background: none;
81
+ color: <?php echo $social_icon_color; ?>;
82
  height: 50px;
83
  left: 0;
84
  line-height: 48px;
91
  width: 50px;
92
  z-index: 10;
93
  }
 
 
 
94
 
95
+ .icon-button i:hover {
96
+ color: <?php echo $social_icon_color_onhover; ?>;
97
  }
98
+
99
  </style>
100
  <?php } else if($social_icon_size=="mediam") { ?>
101
  <style>
156
 
157
  .icon-button i {
158
  background: none;
159
+ color: <?php echo $social_icon_color; ?>;
160
  height: 42px;
161
  left: 0;
162
  line-height: 40px;
169
  width: 42px;
170
  z-index: 10;
171
  }
 
 
 
172
 
173
+
174
+ .icon-button i:hover {
175
+ color: <?php echo $social_icon_color_onhover; ?>;
176
  }
177
+
178
  </style>
179
  <?php } else { ?>
180
  <style>
209
  text-decoration: none;
210
  }
211
 
212
+
213
+ .icon-button i:hover {
214
+ color: <?php echo $social_icon_color_onhover; ?>;
215
+ }
216
+
217
  .icon-button span {
218
  border-radius: 0;
219
  display: block;
240
 
241
  .icon-button i {
242
  background: none;
243
+ color: <?php echo $social_icon_color; ?>;
244
  height: 28px;
245
  left: 0;
246
  line-height: 30px;
253
  width: 28px;
254
  z-index: 10;
255
  }
 
 
 
256
 
257
+ .icon-button i:hover {
258
+ color: <?php echo $social_icon_color_onhover; ?>;
259
  }
260
+
261
  </style>
262
  <?php } ?>
includes/Login-form-setting/Login-form-background.php CHANGED
@@ -982,7 +982,7 @@ if(isset($_POST['Action'])){
982
  'login_bg_effect' => 'pattern-1',
983
  'login_bg_image' => WEBLIZAR_NALF_PLUGIN_URL.'/images/3d-background.jpg',
984
  'login_form_opacity' => '10',
985
- 'login_form_width' => '520',
986
  'login_form_radius' => '10',
987
  'login_border_style' => 'solid',
988
  'login_border_thikness' => '4',
982
  'login_bg_effect' => 'pattern-1',
983
  'login_bg_image' => WEBLIZAR_NALF_PLUGIN_URL.'/images/3d-background.jpg',
984
  'login_form_opacity' => '10',
985
+ 'login_form_width' => '358',
986
  'login_form_radius' => '10',
987
  'login_border_style' => 'solid',
988
  'login_border_thikness' => '4',
includes/googlecaptcha-settings/gcaptcha-settings.php CHANGED
@@ -279,7 +279,7 @@ if(isset($_POST['Action'])) {
279
 
280
  'site_key'=>'',
281
  'secret_key'=>'',
282
- 'login_enable_gcaptcha'=>'yes',
283
 
284
  ));
285
  update_option('Admin_custome_login_gcaptcha', $g_page);
279
 
280
  'site_key'=>'',
281
  'secret_key'=>'',
282
+ 'login_enable_gcaptcha'=>'no',
283
 
284
  ));
285
  update_option('Admin_custome_login_gcaptcha', $g_page);
login-form-screen.php CHANGED
@@ -209,7 +209,7 @@ function acl_er_login_logo() {
209
  font-size:<?php echo $text_and_color_page['heading_font_size'] ?>px;
210
  font-family:<?php echo $text_and_color_page['heading_font_style'] ?>;
211
  }
212
-
213
  body.login #loginform p.submit .button-primary, body.wp-core-ui .button-primary {
214
  background: <?php echo $text_and_color_page['button_color'] ?> !important;
215
  font-size:<?php echo $text_and_color_page['button_font_size'] ?>px;
@@ -268,10 +268,10 @@ function acl_er_login_logo() {
268
  border-radius: 25px;
269
  line-height: 1.4;
270
  box-shadow: 0 1px 1px 0 hsla(0, 0%, 0%, 0.1);
271
- font-size: <?php echo $login_page['login_msg_fontsize']; ?>px !important;
272
  text-align: center;
273
  font-weight: 500;
274
- color: <?php echo $login_page['login_msg_font_color']; ?> !important;
275
  }
276
  </style>
277
  <?php
@@ -279,12 +279,14 @@ function acl_er_login_logo() {
279
  add_filter('login_message','message_above_login_form');
280
  function message_above_login_form(){
281
  $login_page = unserialize(get_option('Admin_custome_login_login'));
282
- if($login_page['log_form_above_msg']!=""){
283
- ?>
284
- <p class='login-msg-above'><?php echo $login_page['log_form_above_msg']; ?></p>
285
- <?php
 
 
286
  }
287
-
288
  }
289
  }
290
  $dashboard_page = unserialize(get_option('Admin_custome_login_dashboard'));
209
  font-size:<?php echo $text_and_color_page['heading_font_size'] ?>px;
210
  font-family:<?php echo $text_and_color_page['heading_font_style'] ?>;
211
  }
212
+
213
  body.login #loginform p.submit .button-primary, body.wp-core-ui .button-primary {
214
  background: <?php echo $text_and_color_page['button_color'] ?> !important;
215
  font-size:<?php echo $text_and_color_page['button_font_size'] ?>px;
268
  border-radius: 25px;
269
  line-height: 1.4;
270
  box-shadow: 0 1px 1px 0 hsla(0, 0%, 0%, 0.1);
271
+ font-size: <?php if(isset($login_page['login_msg_fontsize'])) { echo $login_page['login_msg_fontsize']; } else { echo 16; } ?>px !important;
272
  text-align: center;
273
  font-weight: 500;
274
+ color: <?php if(isset($login_page['login_msg_font_color'])) { echo $login_page['login_msg_font_color']; } else { echo "#000"; } ?> !important;
275
  }
276
  </style>
277
  <?php
279
  add_filter('login_message','message_above_login_form');
280
  function message_above_login_form(){
281
  $login_page = unserialize(get_option('Admin_custome_login_login'));
282
+ if(isset($login_page['log_form_above_msg'])){
283
+ $log_form_above_msg = $login_page['log_form_above_msg'];
284
+ if($log_form_above_msg !=""){
285
+ ?>
286
+ <p class='login-msg-above'><?php echo $log_form_above_msg; ?></p>
287
+ <?php
288
  }
289
+ }
290
  }
291
  }
292
  $dashboard_page = unserialize(get_option('Admin_custome_login_dashboard'));
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.weblizar.com/
4
  Tags: 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: 4.9.6
7
- Stable tag: 2.6.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -56,7 +56,6 @@ In this plugin you will able to add social icon to link your social profile with
56
  * Flickr
57
  * Digg
58
  * Tumblr
59
- * Vkontakte
60
  * Skype
61
  * Instagram
62
 
@@ -122,6 +121,7 @@ If you have any question contact us at here: [Plugin Support Forum ](http://word
122
 
123
  For more information, see [Weblizar](http://www.weblizar.com/)
124
 
 
125
  = 2.6.0 - Add Google Captcha settings + Update Font Awesome Library + Update code of google font family + Add Offers Page + Add Display note to user above login form setting + Add tagline message below login form setting + Plugin tested with latest WordPress 4.9.6 version update
126
  = 2.5.9 - Plugin tested with latest WordPress 4.9.5 version update
127
  = 2.5.8 - Plugin text domain updated according to Wordpress.org Guideline
4
  Tags: 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: 4.9.6
7
+ Stable tag: 2.6.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
56
  * Flickr
57
  * Digg
58
  * Tumblr
 
59
  * Skype
60
  * Instagram
61
 
121
 
122
  For more information, see [Weblizar](http://www.weblizar.com/)
123
 
124
+ = 2.6.1 - Bug fixed undefined variables + Social icon color bug fixed.
125
  = 2.6.0 - Add Google Captcha settings + Update Font Awesome Library + Update code of google font family + Add Offers Page + Add Display note to user above login form setting + Add tagline message below login form setting + Plugin tested with latest WordPress 4.9.6 version update
126
  = 2.5.9 - Plugin tested with latest WordPress 4.9.5 version update
127
  = 2.5.8 - Plugin text domain updated according to Wordpress.org Guideline