Snippets
WordPress Change logo on Login page (2 Ways)
If you ever wanted to make WordPress change logo on Login page or customize it, this snippet can help you.
How to Change logo on Login page using WordPress
Note the following WordPress logo on the login page.
![]()
To change it, just add the follow inside of your theme’s functions.php file. If you don’t have this functions.php file, then manually create one.
<?php
function customize_login_logo()
{
//Method 1:
echo '<img src="'. get_template_directory_uri() .'/images/logo.jpg" />';
//Method 2:
echo '<img src="'. get_bloginfo('template_directory') .'/images/logo.jpg" />';
}
add_action('login_head', 'customize_login_logo');
?>If you would like the logo to link back to the blog site, you may use the enhanced code below:
<?php
function customize_login_logo()
{
//Method 1:
echo '<a href="'. get_bloginfo( 'siteurl' ) .'">
<img src="'. get_template_directory_uri() .'/images/logo.jpg" />
</a>';
//Method 2:
echo '<a href="'.get_bloginfo( 'siteurl' ) . '">
<img src="'. get_bloginfo('template_directory') .'/images/logo.jpg" />
</a>';
}
add_action('login_head', 'customize_login_logo');
?>That’s it!
Do you know of any other way to change or customize the logo on WordPress Login page? If yes, please share it with us in your comments below.
I was curious if you ever thought of changing the structure of your site? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having 1 or 2 images. Maybe you could space it out better?
ZeekRewards
February 18, 2012 at 3:03 am
Thanks for the suggestion. Will look into this.
Robert
February 18, 2012 at 11:53 am
Thanks so much for giving my family an update on this matter on your web site. Please be aware that if a fresh post becomes available or in the event that any adjustments occur on the current write-up, I would want to consider reading more and learning how to make good utilization of those tactics you discuss. Thanks for your efforts and consideration of other men and women by making this web site available.
March 3, 2012 at 3:31 pm
great publish, very informative. I ponder why the other specialists of this sector do not understand this. You should continue your writing. I’m sure, you have a great readers’ base already!
Inell Sherle
March 8, 2012 at 6:18 pm
I’m impressed, I must say. Really rarely do I encounter a blog that’s both educative and entertaining, and let me tell you, you have hit the nail on the head. Your idea is outstanding; the issue is something that not enough people are speaking intelligently about. I am very happy that I stumbled across this in my search for something relating to this.
Harry Matushevsky
March 9, 2012 at 11:19 am
Very nice pattern and great written content , nothing else we require : D.
biggest loser coupon club
March 10, 2012 at 3:24 pm
gratious fantastic website you have got above
Amal Raisin
March 11, 2012 at 10:20 pm
Quite insightful publish. Never thought that it was this simple after all. I had spent a beneficial deal of my time looking for someone to explain this subject clearly and you’re the only 1 that ever did that. Kudos to you! Keep it up
Lloyd Northup
March 12, 2012 at 2:08 am
I am commenting to let you be aware of what a superb discovery my wife’s daughter enjoyed using yuor web blog. She came to find lots of issues, most notably what it is like to have a very effective coaching spirit to have most people effortlessly know just exactly chosen grueling things. You undoubtedly surpassed visitors’ expectations. Many thanks for delivering these valuable, trusted, informative and even cool thoughts on your topic to Gloria.
Asa Proulx
March 15, 2012 at 6:41 am
Good to hear that.
Robert
March 17, 2012 at 6:41 am
I am not real great with English but I line up this real easy to understand.
March 15, 2012 at 4:03 pm
Hey There. I found your blog the use of msn. This is a really neatly written article. I’ll make sure to bookmark it and come back to read more of your helpful information. Thanks for the post. I’ll certainly return.
March 20, 2012 at 4:11 pm
My brother suggested I might like this blog. He was once entirely right. This publish actually made my day. You cann’t believe just how a lot time I had spent for this info! Thank you!
Scottsdale virtual office
March 21, 2012 at 9:11 am
Wow, wonderful blog structure! How long have you ever been running a blog for? you make running a blog look easy. The overall look of your website is magnificent, as smartly as the content material!
Volunteer in Haiti
March 21, 2012 at 3:33 pm
Nice post. I was watching continuously this site and I’m impressed! Extremely useful info specifically the last part I care for such info much. I was looking for this particular info for a long time. Thanks and best of luck.
Snow Removal Bloomington Indiana
March 22, 2012 at 3:19 am
I am not rattling good with English but I line up this really easygoing to understand.
hannah monsa
March 22, 2012 at 9:30 am
It is really a great and useful piece of info. I’m glad that you shared this useful info with us. Please keep us informed like this. Thank you for sharing.
Hazel Steckman
March 23, 2012 at 12:44 am
awesome article! and no beating around the bush, i like when people are straight to the point.
Tyson F. Gautreaux
March 27, 2012 at 12:24 am
I used to be more than happy to find this internet-site.I needed to thanks to your time for this glorious read!! I undoubtedly having fun with every little bit of it and I have you bookmarked to take a look at new stuff you blog post.
March 28, 2012 at 5:15 pm
Excellent! it is the term which comes in my opinion after i look at your blog and when I read that which you have to say. Your opinions are very a lot as well mine. We happy that I chose to key in your website to see what you’re thinking about.
March 28, 2012 at 8:46 pm
TYVM, nice job! Just the thing I had to have.
March 29, 2012 at 3:42 pm
A formidable share, I just given this onto a colleague who was doing a little bit analysis on this. And he in actual fact purchased me breakfast as a result of I discovered it for him.. smile. So let me reword that: Thnx for the treat! However yeah Thnkx for spending the time to debate this, I really feel strongly about it and love studying more on this topic. If possible, as you become experience, would you mind updating your weblog with extra details? It’s extremely useful for me. Massive thumb up for this blog publish!
March 30, 2012 at 12:22 pm
thank you for your article,My problem has been resolved.
Dolce Gabbana Hats
March 30, 2012 at 8:51 pm
Get a new template at http://wpthemes4free.org
March 31, 2012 at 2:55 am
Nice read. This blog is awesome.
April 1, 2012 at 4:17 am
Interesting read. This blog is one of my favorites.
Hans Hanzel
April 4, 2012 at 5:54 am
Interesting post. I very much like your blog.
April 4, 2012 at 6:03 pm
Hey there this is kinda of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML. I’m starting a blog soon but have no coding experience so I wanted to get advice from someone with experience. Any help would be enormously appreciated
April 4, 2012 at 6:15 pm
Hi Nydia,
All blogs use WYSIWYG editors. You do not need to code anything in HTML. You can use WordPress to start your own blog. Download it from wordpress.org
Hope that helps.
Robert
April 5, 2012 at 1:29 am
Major thanks for the article post.Much thanks again. Fantastic.
LifeCell Reviews
April 4, 2012 at 11:47 pm
You have observed very interesting details! ps decent site.
Nootropic
April 14, 2012 at 6:04 pm