Payament
Free Photos
WordPress Themes

Replacing the WordPress Login Logo

<?php // CUSTOM ADMIN LOGIN HEADER LOGO function my_custom_login_logo() { echo '<style type="text/css"> h1 a { background-image:url('.get_bloginfo('template_directory').'/images/democratic-post-logo-google.jpg) !important; } </style>'; } add_action('login_head', 'my_custom_login_logo'); // Logo Url function gp_change_login_page_url($login_header_url) { return get_bloginfo( 'url' ); } add_filter( 'login_headerurl', 'gp_change_login_page_url' ); //Logo title function gp_change_login_page_title($login_header_title) { return get_bloginfo('title'); } add_filter( 'login_headertitle', 'gp_change_login_page_title' );
This way, the login design can be adjusted to a possible customer’s company design.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.