Changeset 2973931
- Timestamp:
- 10/02/2023 03:35:14 PM (2 years ago)
- Location:
- ideal-wp-login-logo-changer/trunk
- Files:
-
- 2 edited
-
ideal-wp-login-logo-changer.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ideal-wp-login-logo-changer/trunk/ideal-wp-login-logo-changer.php
r2898156 r2973931 1 1 <?php 2 2 /* 3 Plugin Name: Custom Login Logo For WordPress3 Plugin Name: Custom Login Logo 4 4 description: Change the default WordPress logo by uploading your site logo for the login page. 5 Version: 1.1. 15 Version: 1.1.2 6 6 Author: Hakik Zaman 7 7 Author URI: https://github.com/hakikz … … 22 22 23 23 /*Defining Constant*/ 24 define("IWLLC_VERSION", '1.1.1'); 24 define("IWLLC_VERSION", '1.1.2'); 25 26 /*Add body class for options page*/ 27 function iwllc_admin_body_class( $classes ) { 28 global $pagenow; 29 30 if ( in_array( $pagenow, array( 'options-general.php' ), true ) && $_GET['page'] == 'change_login_logo' ) { 31 $classes .= ' idllc-option-page'; 32 } 33 34 return $classes; 35 } 36 37 add_filter( 'admin_body_class', 'iwllc_admin_body_class' ); 38 39 /*Adding Styles for the option page*/ 40 function iwllc_styles_option_page(){ 41 global $pagenow; 42 43 if ( in_array( $pagenow, array( 'options-general.php' ), true ) && $_GET['page'] == 'change_login_logo' ) { 44 ?> 45 <style type="text/css"> 46 .idllc-option-page table.form-table tbody { 47 background-color: #fff; 48 } 49 50 .idllc-option-page table.form-table tbody tr:not(:last-child) { 51 border-bottom: 1px solid #eee; 52 } 53 54 .idllc-option-page table.form-table tbody th { 55 padding: 15px 10px; 56 } 57 58 </style> 59 <?php 60 } 61 } 62 add_action( 'admin_head', 'iwllc_styles_option_page' ); 25 63 26 64 -
ideal-wp-login-logo-changer/trunk/readme.txt
r2898156 r2973931 1 === Custom Login Logo For WordPress===1 === Custom Login Logo === 2 2 Contributors: hakik, idealwebguru 3 3 Tags: Change WP default logo, WordPress Logo change, Login Logo, Custom logo, WP admin logo, 4 4 Requires at least: 5.8 5 Tested up to: 6. 25 Tested up to: 6.3 6 6 Requires PHP: 5.2.4 7 Stable tag: 1.1. 17 Stable tag: 1.1.2 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 62 62 == Changelog == 63 63 64 = 1.1.2 [02-10-2023] = 65 * Enhancement: Improved the option page style. 66 * Compatibility: WordPress 6.3. 67 64 68 = 1.1.1 [13-04-2023] = 65 69 * Feature: Change the Backgroud of the login page. Can be added color/image for the background of the login page.
Note: See TracChangeset
for help on using the changeset viewer.