Skip to main content

Posts

Showing posts with the label customize login screen

Change the WordPress Login page logo link without plugin.

Are you making a site for your client and frustrated with the login page logo linking to the WordPress site? Well you are not the only one. But there is a very easy way to change this behavior without any plugin. All you have to do is add the following line to your functions.php file within your theme folder. add_filter("login_headerurl","the_url"); function the_url($url) { return get_bloginfo('siteurl');//return the current wp blog url } This will link the logo to your own wordpress blog. If you don't know how to change the default WordPress logo with one of your logo, then follow this post that wonderfully illustrates the same. More On The Topic: The official wordpress documentation on this can be found here . If you have any queries please use the comment form below.

Customizing the wordpress login page without Plugin

Every one love to see their site totally branded. It does feel good when your users see the WordPress login page when they have to login, may be just to post a comment. Biggest problem come when you are developing for a client. Well though most of them don't know the solution is simple. You don't have to rely on any plugin just to do few modifications on the login page. You just have to add few lines to your functions.php file within your theme folder. "This is the final result, after adding the below code to functions.php" add_action("login_head", "my_login_head"); function my_login_head() { echo "<style>body.login #login h1 a { background: url('".get_bloginfo('template_url')."/styles/logo.gif') no-repeat scroll center top transparent; height: 49px;width: 229px; margin-left:auto;margin-right:auto; } body {background: url('".get_bloginfo('template_url')."/styles/bg.jpg') re...