Created
March 6, 2013 01:24
-
-
Save oritromax/5095970 to your computer and use it in GitHub Desktop.
All Wordpress Tricks Related with login page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function custom_login_logo() { | |
echo '<style type="text/css">h1 a { background: url(http://www.abcd.com/image.png) 50% 50% no-repeat !important; }</style>'; | |
} | |
add_action('login_head', 'custom_login_logo'); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function change_wp_login_url() { | |
echo bloginfo('url'); | |
} | |
add_filter('login_headerurl', 'change_wp_login_url'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function change_wp_login_title() { | |
echo get_option('blogname'); | |
} | |
add_filter('login_headertitle', 'change_wp_login_title'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function change_wp_login_title() { | |
echo "Some Text"; | |
} | |
add_filter('login_headertitle', 'change_wp_login_title'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment