Changeset 2060223
- Timestamp:
- 03/30/2019 08:06:14 PM (7 years ago)
- Location:
- wp-costum-login-logo
- Files:
-
- 4 edited
-
branches/1.1/readme.txt (modified) (2 diffs)
-
branches/1.1/wp-custom-login-logo.php (modified) (1 diff)
-
tags/1.1/readme.txt (modified) (2 diffs)
-
tags/1.1/wp-custom-login-logo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-costum-login-logo/branches/1.1/readme.txt
r603888 r2060223 3 3 Tags: login, admin, image, logo 4 4 Requires at least: 2.7 5 Tested up to: 3.4.25 Tested up to: 5.1.1 6 6 Stable tag: 1.1 7 7 … … 10 10 == Description == 11 11 12 This plugin is deprecated! It works but no further development. 13 12 14 Just create one image called wp-custom-login-logo.png and put in the plugin folder. After this Activate the plugin. 13 15 I've created this because i use wordpress as a CMS and sometimes users like their logo in the login form. 14 For more plugins visit [ My WP Blog](http://antoniocampos.no-ip.com)16 For more plugins visit [my wordpress blog](https://antoniocampos.net) 15 17 16 18 == Installation == -
wp-costum-login-logo/branches/1.1/wp-custom-login-logo.php
r603888 r2060223 8 8 Author URI: http://antoniocampos.no-ip.com 9 9 10 Copyright 2012 Antonio Campos (email : [email protected])10 Copyright 2012 Antonio Campos (email : [email protected]) 11 11 12 This program is free software; you can redistribute it and/or modify13 it under the terms of the GNU General Public License as published by14 the Free Software Foundation; either version 2 of the License, or15 (at your option) any later version.12 This program is free software; you can redistribute it and/or modify 13 it under the terms of the GNU General Public License as published by 14 the Free Software Foundation; either version 2 of the License, or 15 (at your option) any later version. 16 16 17 This program is distributed in the hope that it will be useful,18 but WITHOUT ANY WARRANTY; without even the implied warranty of19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the20 GNU General Public License for more details.17 This program is distributed in the hope that it will be useful, 18 but WITHOUT ANY WARRANTY; without even the implied warranty of 19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 GNU General Public License for more details. 21 21 22 You should have received a copy of the GNU General Public License 23 along with this program; if not, write to the Free Software 24 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 */ 26 function login_css() { 27 echo '<style type="text/css"> 28 #login h1 a { background-image: url('.get_bloginfo('url').'/wp-content/plugins/wp-costum-login-logo/wp-custom-login-logo.png) !important; } 22 You should have received a copy of the GNU General Public License 23 along with this program; if not, write to the Free Software 24 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 */ 26 if (!defined('ABSPATH')) { 27 exit; 28 } 29 function login_css() 30 { 31 echo '<style type="text/css"> 32 #login h1 a { background-image: url(' . get_bloginfo('url') . '/wp-content/plugins/wp-costum-login-logo/wp-custom-login-logo.png) !important; } 29 33 </style>'; 30 34 } 31 35 add_action('login_head', 'login_css'); 32 36 33 function my_login_logo_url() { 34 return get_bloginfo( 'url' ); 37 function my_login_logo_url() 38 { 39 return get_bloginfo('url'); 35 40 } 36 add_filter( 'login_headerurl', 'my_login_logo_url');41 add_filter('login_headerurl', 'my_login_logo_url'); 37 42 38 function my_login_logo_url_title() { 43 function my_login_logo_url_title() 44 { 39 45 return ''; 40 46 } 41 add_filter( 'login_headertitle', 'my_login_logo_url_title' ); 42 43 ?> 47 add_filter('login_headertitle', 'my_login_logo_url_title'); -
wp-costum-login-logo/tags/1.1/readme.txt
r2060222 r2060223 1 1 === WP Custom Login Form Image === 2 Contributors: antoniocampos2 Contributors: Antoniocampos 3 3 Tags: login, admin, image, logo 4 4 Requires at least: 2.7 … … 6 6 Stable tag: 1.1 7 7 8 This plugin changes the image in the top of login form.8 [deprecated] This plugin changes the image in the top of login form. 9 9 10 10 == Description == 11 11 12 This plugin is deprecated! It works but no further development 13 12 14 Just create one image called wp-custom-login-logo.png and put in the plugin folder. After this Activate the plugin. 13 15 I've created this because i use wordpress as a CMS and sometimes users like their logo in the login form. 14 For more plugins visit [ My WP Blog](https://antoniocampos.net)16 For more plugins visit [my wordpress blog](https://antoniocampos.net) 15 17 16 18 == Installation == -
wp-costum-login-logo/tags/1.1/wp-custom-login-logo.php
r603888 r2060223 8 8 Author URI: http://antoniocampos.no-ip.com 9 9 10 Copyright 2012 Antonio Campos (email : [email protected])10 Copyright 2012 Antonio Campos (email : [email protected]) 11 11 12 This program is free software; you can redistribute it and/or modify13 it under the terms of the GNU General Public License as published by14 the Free Software Foundation; either version 2 of the License, or15 (at your option) any later version.12 This program is free software; you can redistribute it and/or modify 13 it under the terms of the GNU General Public License as published by 14 the Free Software Foundation; either version 2 of the License, or 15 (at your option) any later version. 16 16 17 This program is distributed in the hope that it will be useful,18 but WITHOUT ANY WARRANTY; without even the implied warranty of19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the20 GNU General Public License for more details.17 This program is distributed in the hope that it will be useful, 18 but WITHOUT ANY WARRANTY; without even the implied warranty of 19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 GNU General Public License for more details. 21 21 22 You should have received a copy of the GNU General Public License 23 along with this program; if not, write to the Free Software 24 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 */ 26 function login_css() { 27 echo '<style type="text/css"> 28 #login h1 a { background-image: url('.get_bloginfo('url').'/wp-content/plugins/wp-costum-login-logo/wp-custom-login-logo.png) !important; } 22 You should have received a copy of the GNU General Public License 23 along with this program; if not, write to the Free Software 24 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25 */ 26 if (!defined('ABSPATH')) { 27 exit; 28 } 29 function login_css() 30 { 31 echo '<style type="text/css"> 32 #login h1 a { background-image: url(' . get_bloginfo('url') . '/wp-content/plugins/wp-costum-login-logo/wp-custom-login-logo.png) !important; } 29 33 </style>'; 30 34 } 31 35 add_action('login_head', 'login_css'); 32 36 33 function my_login_logo_url() { 34 return get_bloginfo( 'url' ); 37 function my_login_logo_url() 38 { 39 return get_bloginfo('url'); 35 40 } 36 add_filter( 'login_headerurl', 'my_login_logo_url');41 add_filter('login_headerurl', 'my_login_logo_url'); 37 42 38 function my_login_logo_url_title() { 43 function my_login_logo_url_title() 44 { 39 45 return ''; 40 46 } 41 add_filter( 'login_headertitle', 'my_login_logo_url_title' ); 42 43 ?> 47 add_filter('login_headertitle', 'my_login_logo_url_title');
Note: See TracChangeset
for help on using the changeset viewer.