Version Description
- Enhanced UI for easy usage (Added an option to hide/show settings block)
- Added option for Logo Width and Height
Download this release
Release Info
Developer | libinvbabu |
Plugin | Erident Custom Login and Dashboard |
Version | 2.0.0 |
Comparing to | |
See all releases |
Code changes from version 1.5.1 to 2.0.0
- er-custom-login.php +64 -12
- readme.txt +13 -7
- screenshot-1.png +0 -0
er-custom-login.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Erident Custom Login and Dashboard
|
4 |
Plugin URI: http://www.eridenttech.com/wp-plugins/erident-custom-login-and-dashboard
|
5 |
Description: Customize completely your WordPress Login Screen and Dashboard. Add your company logo to login screen, change background colors, styles etc. Customize your Dashboard footer text also for complete branding.
|
6 |
-
Version:
|
7 |
Author: Libin V Babu
|
8 |
Author URI: http://www.libin.in/
|
9 |
License: GPL
|
@@ -63,6 +63,8 @@ function right_admin_footer_text_output($er_right) {
|
|
63 |
/* Login Logo */
|
64 |
function er_login_logo() {
|
65 |
$er_logo = get_option('wp_erident_dashboard_image_logo');
|
|
|
|
|
66 |
|
67 |
$er_login_width = get_option('wp_erident_dashboard_login_width');
|
68 |
$er_login_radius = get_option('wp_erident_dashboard_login_radius');
|
@@ -111,6 +113,9 @@ function er_login_logo() {
|
|
111 |
background-image: url(<?php echo $er_logo ?>);
|
112 |
padding-bottom: 30px;
|
113 |
margin: 0 auto;
|
|
|
|
|
|
|
114 |
}
|
115 |
body.login #login {
|
116 |
width:<?php echo $er_login_width ?>px;
|
@@ -165,6 +170,8 @@ function wp_erident_dashboard_install() {
|
|
165 |
add_option("wp_erident_dashboard_data_left", 'Powered by www.libin.in', '', 'yes');
|
166 |
add_option("wp_erident_dashboard_data_right", '© 2013 All Rights Reserved', '', 'yes');
|
167 |
add_option("wp_erident_dashboard_image_logo", plugins_url('images/default-logo.png', __FILE__), '', 'yes');
|
|
|
|
|
168 |
add_option("wp_erident_dashboard_power_text", 'Powered by www.libin.in', '', 'yes');
|
169 |
|
170 |
add_option("wp_erident_dashboard_login_width", '350', '', 'yes');
|
@@ -204,6 +211,8 @@ function wp_erident_dashboard_remove() {
|
|
204 |
delete_option('wp_erident_dashboard_data_left');
|
205 |
delete_option('wp_erident_dashboard_data_right');
|
206 |
delete_option('wp_erident_dashboard_image_logo');
|
|
|
|
|
207 |
delete_option('wp_erident_dashboard_power_text');
|
208 |
|
209 |
delete_option('wp_erident_dashboard_login_width');
|
@@ -273,14 +282,15 @@ function wp_erident_dashboard_html_page() {
|
|
273 |
?>
|
274 |
|
275 |
<div class="wrap">
|
276 |
-
<div id="icon-options-general" class="icon32"><br></div>
|
277 |
-
<h2>Erident Custom Login and Dashboard Settings</h2>
|
278 |
-
<p><i>Plugin Loads default values for all below entries. Please change the values to yours.</i></p>
|
279 |
-
<form class="wp-erident-dashboard" method="post" action="options.php">
|
280 |
<?php wp_nonce_field('update-options'); ?>
|
281 |
|
282 |
<div class="postbox">
|
283 |
-
<
|
|
|
284 |
<span class="postbox-title-action">(These settings will be reflected when a user/admin logins to the WordPress Dashboard)</span>
|
285 |
</h3>
|
286 |
<div class="inside">
|
@@ -307,7 +317,8 @@ value="<?php echo esc_html( get_option('wp_erident_dashboard_data_right') ); ?>"
|
|
307 |
</div><!-- end postbox -->
|
308 |
|
309 |
<div class="postbox">
|
310 |
-
<
|
|
|
311 |
<span class="postbox-title-action">(The following settings will be reflected on the "wp-login.php" page)</span>
|
312 |
</h3>
|
313 |
<div class="inside">
|
@@ -390,10 +401,11 @@ value="<?php echo get_option('wp_erident_top_bg_ypos'); ?>" />
|
|
390 |
|
391 |
|
392 |
<div class="postbox">
|
393 |
-
<
|
|
|
394 |
<span class="postbox-title-action">(Change the default WordPress logo and powered by text)</span>
|
395 |
</h3>
|
396 |
-
<div class="inside">
|
397 |
<table>
|
398 |
<tr valign="top">
|
399 |
<th scope="row">Logo Url:</th>
|
@@ -403,6 +415,24 @@ value="<?php echo get_option('wp_erident_dashboard_image_logo'); ?>" /> <span cl
|
|
403 |
<span class="description">(URL path to image to replace default WordPress Logo. (You can upload your image with the WordPress media uploader)</span>
|
404 |
</td>
|
405 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
406 |
<tr valign="top">
|
407 |
<th scope="row">Powered by Text:</th>
|
408 |
<td><input class="er-textfield" name="wp_erident_dashboard_power_text" type="text" id="wp_erident_dashboard_power_text"
|
@@ -417,7 +447,8 @@ value="<?php echo get_option('wp_erident_dashboard_power_text'); ?>" />
|
|
417 |
|
418 |
|
419 |
<div class="postbox">
|
420 |
-
<
|
|
|
421 |
<span class="postbox-title-action">(The following settings will change the Login Form style)</span>
|
422 |
</h3>
|
423 |
<div class="inside">
|
@@ -681,7 +712,8 @@ value="<?php echo get_option('wp_erident_login_bg_ypos'); ?>" />
|
|
681 |
|
682 |
|
683 |
<div class="postbox">
|
684 |
-
<
|
|
|
685 |
</h3>
|
686 |
<div class="inside">
|
687 |
<table border="0">
|
@@ -709,7 +741,7 @@ value="<?php echo get_option('wp_erident_login_bg_ypos'); ?>" />
|
|
709 |
|
710 |
|
711 |
<input type="hidden" name="action" value="update" />
|
712 |
-
<input type="hidden" name="page_options" value="wp_erident_dashboard_data_left,wp_erident_dashboard_data_right,wp_erident_dashboard_image_logo,wp_erident_dashboard_power_text,wp_erident_dashboard_login_width,wp_erident_dashboard_login_radius,wp_erident_dashboard_login_border,wp_erident_dashboard_border_thick,wp_erident_dashboard_border_color,wp_erident_dashboard_login_bg,wp_erident_dashboard_text_color,wp_erident_dashboard_delete_db,wp_erident_top_bg_color,wp_erident_top_bg_image,wp_erident_top_bg_repeat,wp_erident_login_bg_image,wp_erident_login_bg_repeat,wp_erident_dashboard_link_color,wp_erident_dashboard_link_shadow,wp_erident_dashboard_check_shadow,wp_erident_dashboard_form_shadow,wp_erident_dashboard_check_form_shadow,wp_erident_top_bg_xpos,wp_erident_top_bg_ypos,wp_erident_login_bg_xpos,wp_erident_login_bg_ypos,wp_erident_dashboard_input_text_color,wp_erident_dashboard_label_text_size,wp_erident_dashboard_input_text_size" />
|
713 |
|
714 |
<p>
|
715 |
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
@@ -774,9 +806,29 @@ value="<?php echo get_option('wp_erident_login_bg_ypos'); ?>" />
|
|
774 |
jQuery('#ilctabscolorpicker8').farbtastic("#wp_erident_dashboard_input_text_color");
|
775 |
jQuery("#wp_erident_dashboard_input_text_color").click(function(){jQuery('#ilctabscolorpicker8').slideDown()});
|
776 |
jQuery("#wp_erident_dashboard_input_text_color").blur(function(){jQuery('#ilctabscolorpicker8').slideUp()});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
777 |
});
|
778 |
|
779 |
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
780 |
<?php
|
781 |
}
|
782 |
?>
|
3 |
Plugin Name: Erident Custom Login and Dashboard
|
4 |
Plugin URI: http://www.eridenttech.com/wp-plugins/erident-custom-login-and-dashboard
|
5 |
Description: Customize completely your WordPress Login Screen and Dashboard. Add your company logo to login screen, change background colors, styles etc. Customize your Dashboard footer text also for complete branding.
|
6 |
+
Version: 2.0.0
|
7 |
Author: Libin V Babu
|
8 |
Author URI: http://www.libin.in/
|
9 |
License: GPL
|
63 |
/* Login Logo */
|
64 |
function er_login_logo() {
|
65 |
$er_logo = get_option('wp_erident_dashboard_image_logo');
|
66 |
+
$er_logo_width = get_option('wp_erident_dashboard_image_logo_width');
|
67 |
+
$er_logo_height = get_option('wp_erident_dashboard_image_logo_height');
|
68 |
|
69 |
$er_login_width = get_option('wp_erident_dashboard_login_width');
|
70 |
$er_login_radius = get_option('wp_erident_dashboard_login_radius');
|
113 |
background-image: url(<?php echo $er_logo ?>);
|
114 |
padding-bottom: 30px;
|
115 |
margin: 0 auto;
|
116 |
+
background-size: <?php echo $er_logo_width ?>px <?php echo $er_logo_height ?>px;
|
117 |
+
width: <?php echo $er_logo_width ?>px;
|
118 |
+
height: <?php echo $er_logo_height ?>px;
|
119 |
}
|
120 |
body.login #login {
|
121 |
width:<?php echo $er_login_width ?>px;
|
170 |
add_option("wp_erident_dashboard_data_left", 'Powered by www.libin.in', '', 'yes');
|
171 |
add_option("wp_erident_dashboard_data_right", '© 2013 All Rights Reserved', '', 'yes');
|
172 |
add_option("wp_erident_dashboard_image_logo", plugins_url('images/default-logo.png', __FILE__), '', 'yes');
|
173 |
+
add_option("wp_erident_dashboard_image_logo_width", '274', '', 'yes');
|
174 |
+
add_option("wp_erident_dashboard_image_logo_height", '63', '', 'yes');
|
175 |
add_option("wp_erident_dashboard_power_text", 'Powered by www.libin.in', '', 'yes');
|
176 |
|
177 |
add_option("wp_erident_dashboard_login_width", '350', '', 'yes');
|
211 |
delete_option('wp_erident_dashboard_data_left');
|
212 |
delete_option('wp_erident_dashboard_data_right');
|
213 |
delete_option('wp_erident_dashboard_image_logo');
|
214 |
+
delete_option('wp_erident_dashboard_image_logo_width');
|
215 |
+
delete_option('wp_erident_dashboard_image_logo_height');
|
216 |
delete_option('wp_erident_dashboard_power_text');
|
217 |
|
218 |
delete_option('wp_erident_dashboard_login_width');
|
282 |
?>
|
283 |
|
284 |
<div class="wrap">
|
285 |
+
<div id="icon-options-general" class="icon32"><br></div>
|
286 |
+
<h2>Erident Custom Login and Dashboard Settings</h2>
|
287 |
+
<p><i>Plugin Loads default values for all below entries. Please change the values to yours.</i><br/><span style="background: #f9ff0a;">Click on the header of each block to open it.</span></p>
|
288 |
+
<form class="wp-erident-dashboard" method="post" action="options.php">
|
289 |
<?php wp_nonce_field('update-options'); ?>
|
290 |
|
291 |
<div class="postbox">
|
292 |
+
<div class="handlediv" title="Click to toggle"><br></div>
|
293 |
+
<h3 class="hndle" title="Click to toggle"><span>Dashboard Settings</span>
|
294 |
<span class="postbox-title-action">(These settings will be reflected when a user/admin logins to the WordPress Dashboard)</span>
|
295 |
</h3>
|
296 |
<div class="inside">
|
317 |
</div><!-- end postbox -->
|
318 |
|
319 |
<div class="postbox">
|
320 |
+
<div class="handlediv" title="Click to toggle"><br></div>
|
321 |
+
<h3 class="hndle" title="Click to toggle"><span>Login Screen Background</span>
|
322 |
<span class="postbox-title-action">(The following settings will be reflected on the "wp-login.php" page)</span>
|
323 |
</h3>
|
324 |
<div class="inside">
|
401 |
|
402 |
|
403 |
<div class="postbox">
|
404 |
+
<div class="handlediv" title="Click to toggle"><br></div>
|
405 |
+
<h3 class="hndle" title="Click to toggle"><span>Login Screen Logo</span>
|
406 |
<span class="postbox-title-action">(Change the default WordPress logo and powered by text)</span>
|
407 |
</h3>
|
408 |
+
<div class="inside openinside">
|
409 |
<table>
|
410 |
<tr valign="top">
|
411 |
<th scope="row">Logo Url:</th>
|
415 |
<span class="description">(URL path to image to replace default WordPress Logo. (You can upload your image with the WordPress media uploader)</span>
|
416 |
</td>
|
417 |
</tr>
|
418 |
+
|
419 |
+
<tr valign="top">
|
420 |
+
<th scope="row">Logo Width:</th>
|
421 |
+
<td><input class="er-textfield-small" name="wp_erident_dashboard_image_logo_width" type="text" id="wp_erident_dashboard_image_logo_width"
|
422 |
+
value="<?php echo get_option('wp_erident_dashboard_image_logo_width'); ?>" />px
|
423 |
+
<br />
|
424 |
+
<span class="description">Your Logo width(Enter in pixels). Default: 274px</span>
|
425 |
+
</td>
|
426 |
+
</tr>
|
427 |
+
<tr valign="top">
|
428 |
+
<th scope="row">Logo Height:</th>
|
429 |
+
<td><input class="er-textfield-small" name="wp_erident_dashboard_image_logo_height" type="text" id="wp_erident_dashboard_image_logo_height"
|
430 |
+
value="<?php echo get_option('wp_erident_dashboard_image_logo_height'); ?>" />px
|
431 |
+
<br />
|
432 |
+
<span class="description">Your Logo Height(Enter in pixels). Default: 63px</span>
|
433 |
+
</td>
|
434 |
+
</tr>
|
435 |
+
|
436 |
<tr valign="top">
|
437 |
<th scope="row">Powered by Text:</th>
|
438 |
<td><input class="er-textfield" name="wp_erident_dashboard_power_text" type="text" id="wp_erident_dashboard_power_text"
|
447 |
|
448 |
|
449 |
<div class="postbox">
|
450 |
+
<div class="handlediv" title="Click to toggle"><br></div>
|
451 |
+
<h3 class="hndle" title="Click to toggle"><span>Login Form Settings</span>
|
452 |
<span class="postbox-title-action">(The following settings will change the Login Form style)</span>
|
453 |
</h3>
|
454 |
<div class="inside">
|
712 |
|
713 |
|
714 |
<div class="postbox">
|
715 |
+
<div class="handlediv" title="Click to toggle"><br></div>
|
716 |
+
<h3 class="hndle" title="Click to toggle"><span>Plugin Un-install Settings</span>
|
717 |
</h3>
|
718 |
<div class="inside">
|
719 |
<table border="0">
|
741 |
|
742 |
|
743 |
<input type="hidden" name="action" value="update" />
|
744 |
+
<input type="hidden" name="page_options" value="wp_erident_dashboard_data_left,wp_erident_dashboard_data_right,wp_erident_dashboard_image_logo,wp_erident_dashboard_image_logo_width,wp_erident_dashboard_image_logo_height,wp_erident_dashboard_power_text,wp_erident_dashboard_login_width,wp_erident_dashboard_login_radius,wp_erident_dashboard_login_border,wp_erident_dashboard_border_thick,wp_erident_dashboard_border_color,wp_erident_dashboard_login_bg,wp_erident_dashboard_text_color,wp_erident_dashboard_delete_db,wp_erident_top_bg_color,wp_erident_top_bg_image,wp_erident_top_bg_repeat,wp_erident_login_bg_image,wp_erident_login_bg_repeat,wp_erident_dashboard_link_color,wp_erident_dashboard_link_shadow,wp_erident_dashboard_check_shadow,wp_erident_dashboard_form_shadow,wp_erident_dashboard_check_form_shadow,wp_erident_top_bg_xpos,wp_erident_top_bg_ypos,wp_erident_login_bg_xpos,wp_erident_login_bg_ypos,wp_erident_dashboard_input_text_color,wp_erident_dashboard_label_text_size,wp_erident_dashboard_input_text_size" />
|
745 |
|
746 |
<p>
|
747 |
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
806 |
jQuery('#ilctabscolorpicker8').farbtastic("#wp_erident_dashboard_input_text_color");
|
807 |
jQuery("#wp_erident_dashboard_input_text_color").click(function(){jQuery('#ilctabscolorpicker8').slideDown()});
|
808 |
jQuery("#wp_erident_dashboard_input_text_color").blur(function(){jQuery('#ilctabscolorpicker8').slideUp()});
|
809 |
+
|
810 |
+
$( ".postbox .hndle" ).on( "mouseover", function() {
|
811 |
+
$( this ).css( "cursor", "pointer" );
|
812 |
+
});
|
813 |
+
|
814 |
+
/* Sliding the panels */
|
815 |
+
jQuery(".postbox").on('click', '.handlediv', function(){
|
816 |
+
jQuery(this).siblings(".inside").slideToggle();
|
817 |
+
});
|
818 |
+
jQuery(".postbox").on('click', '.hndle', function(){
|
819 |
+
jQuery(this).siblings(".inside").slideToggle();
|
820 |
+
});
|
821 |
});
|
822 |
|
823 |
</script>
|
824 |
+
<style type="text/css">
|
825 |
+
.inside {
|
826 |
+
display: none;
|
827 |
+
}
|
828 |
+
.inside.openinside {
|
829 |
+
display: block;
|
830 |
+
}
|
831 |
+
</style>
|
832 |
<?php
|
833 |
}
|
834 |
?>
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Erident Custom Login and Dashboard ===
|
2 |
Contributors: libinvbabu
|
3 |
Donate link: http://www.libin.in
|
4 |
-
Tags: login, customisation, admin, dashboard, customise, erident, custom, form, logo, branding
|
5 |
Requires at least: 3.0.0
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag:
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -14,7 +14,7 @@ Dashboard footer etc.
|
|
14 |
|
15 |
== Description ==
|
16 |
|
17 |
-
TOP RATED PLUGIN for Login Page Customization
|
18 |
|
19 |
Fastest support for the plugin. If you have any queries,
|
20 |
visit the WordPress [support forum](http://wordpress.org/support/plugin/erident-custom-login-and-dashboard).
|
@@ -26,7 +26,7 @@ visit the WordPress [support forum](http://wordpress.org/support/plugin/erident-
|
|
26 |
1. Add Image/Color Background to Login Form.
|
27 |
1. Pick color using awesome jQuery color picker
|
28 |
1. Change Texts/Links Color and size on Login Form
|
29 |
-
1. Replace the WordPress Logo on the Login Form with your own.
|
30 |
1. Enable/Disable shadow for the Links on Login Form
|
31 |
1. Enable/Disable shadow for the Login Form
|
32 |
1. Preserve previous settings upon WordPress/plugins update!
|
@@ -50,6 +50,8 @@ visit the WordPress [support forum](http://wordpress.org/support/plugin/erident-
|
|
50 |
* Login Screen Background Repeat
|
51 |
* Login Screen Background Position
|
52 |
* Logo Url
|
|
|
|
|
53 |
* Powered by Text
|
54 |
* Login form width
|
55 |
* Login Form Border Style/Radius/Color/Thickness
|
@@ -109,6 +111,10 @@ make sure to backup your changes before updating.
|
|
109 |
|
110 |
== Changelog ==
|
111 |
|
|
|
|
|
|
|
|
|
112 |
= 1.5.1 =
|
113 |
* Fixed a small bug
|
114 |
* Help texts improved and added new FAQ question
|
@@ -137,5 +143,5 @@ make sure to backup your changes before updating.
|
|
137 |
|
138 |
== Upgrade Notice ==
|
139 |
|
140 |
-
=
|
141 |
-
This version
|
1 |
=== Erident Custom Login and Dashboard ===
|
2 |
Contributors: libinvbabu
|
3 |
Donate link: http://www.libin.in
|
4 |
+
Tags: login, customisation, admin, dashboard, customise, erident, custom, form, logo, customize, branding
|
5 |
Requires at least: 3.0.0
|
6 |
+
Tested up to: 3.7.1
|
7 |
+
Stable tag: 2.0.0
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
14 |
|
15 |
== Description ==
|
16 |
|
17 |
+
TOP RATED PLUGIN for Login Page Customization, celebrating 1 year of success!!! Customize completely your WordPress Login Screen and Dashboard easily. Add your company logo to login screen, change background images, colors, styles etc. Customize your Dashboard footer text also for complete branding.
|
18 |
|
19 |
Fastest support for the plugin. If you have any queries,
|
20 |
visit the WordPress [support forum](http://wordpress.org/support/plugin/erident-custom-login-and-dashboard).
|
26 |
1. Add Image/Color Background to Login Form.
|
27 |
1. Pick color using awesome jQuery color picker
|
28 |
1. Change Texts/Links Color and size on Login Form
|
29 |
+
1. Replace the WordPress Logo on the Login Form with your own (Now support your own size logo).
|
30 |
1. Enable/Disable shadow for the Links on Login Form
|
31 |
1. Enable/Disable shadow for the Login Form
|
32 |
1. Preserve previous settings upon WordPress/plugins update!
|
50 |
* Login Screen Background Repeat
|
51 |
* Login Screen Background Position
|
52 |
* Logo Url
|
53 |
+
* Logo width
|
54 |
+
* Logo height
|
55 |
* Powered by Text
|
56 |
* Login form width
|
57 |
* Login Form Border Style/Radius/Color/Thickness
|
111 |
|
112 |
== Changelog ==
|
113 |
|
114 |
+
= 2.0.0 =
|
115 |
+
* Enhanced UI for easy usage (Added an option to hide/show settings block)
|
116 |
+
* Added option for Logo Width and Height
|
117 |
+
|
118 |
= 1.5.1 =
|
119 |
* Fixed a small bug
|
120 |
* Help texts improved and added new FAQ question
|
143 |
|
144 |
== Upgrade Notice ==
|
145 |
|
146 |
+
= 2.0.0 =
|
147 |
+
This version has enhanced UI for settings page and new options!
|
screenshot-1.png
CHANGED
Binary file
|