Hi all, I was working on a project where the clients site was using a plugin WP-user front end to handle logging in and out of the site. And you know, the plugin works totally fine but in this particular case, we are rebuilding all the plugins into templates to reduce the plugin dependencies, increase load time and reduce JS/CSS conflicts.
So I came across this excellent tutorial from Bill Erickson on how to add a custom logo to the wordpress login template. I also added a couple of steps such as removing the registration button, as I want all registrants to sign up via Wp Forms which enables a white list and also sends data to Hubspot. The other step is just making the background white, which is added into the same template file.
Let’s get started shall we?
The first step is going to the root directory of your current theme, and creating a new file called login-logo.php.
Next copy and paste this code into your new template file, and make sure to change the author details to your own, and theme details to the one you are using:
Make sure you upload the logo to the correct file path which is /assets/images/your-filename.png, or any other file path you create under your assets folder. You should definitely play around eight he height and width attributes to suit your logo, and once you are happy you can save your template file.
I also changed the template file to white.
Next, open your functions.php file and enqueue the login template we just created. Additionally, I chose to de register the registration link, as I only want clients to register via WpForms which contains my whitelist and also sends data to Hubspot.
This is what my functions.php file looks like:
That is it, and now you can view your custom login page:
Adding client logos to their login pages gives a nice custom login page that is personalised and on brand. You can add any styles or colours you want, just add the CSS into the login-logo.php file.
Alpha Omega Digital is a WordPress web development agency based in Melbourne, Australia but also services clients from Sydney, Brisbane, Newcastle, Perth, Adelaide, Darwin and Hobart.
free converter says
Greetings! Very helpful advice on this article! It is the little changes that make the biggest changes. Thanks a lot for sharing!
Sex Toys says
naturally like your web-site but you have to check the spelling on quite a few of your posts. Several of them are rife with spelling problems and I find it very troublesome to tell the truth nevertheless I’ll certainly come back again.
cheapest mba online says
I don’t even know how I finished up right here, however I assumed this submit used to be good. I do not recognize who you might be but certainly you are going to a famous blogger in the event you are not already 😉 Cheers!
USB Flash Drive says
I discovered your weblog website on google and test a couple of of your early posts. Proceed to maintain up the superb operate. I just extra up your RSS feed to my MSN News Reader. Seeking forward to reading extra from you in a while!…
the wave academy says
A large percentage of of what you assert happens to be astonishingly accurate and it makes me wonder why I hadn’t looked at this with this light before. Your article truly did turn the light on for me as far as this particular subject goes. However at this time there is actually one particular point I am not too cozy with so whilst I make an effort to reconcile that with the actual main idea of your issue, allow me see what the rest of the visitors have to say.Nicely done.
criminal says
I urge you steer clear of this site. My personal experience with it has been nothing but frustration as well as doubts about scamming practices. Proceed with extreme caution, or even better, look for an honest site for your needs.
muliaplay says
Do you mind if I quote a few of your posts as long as I provide credit and sources back to your weblog? My blog is in the exact same area of interest as yours and my users would definitely benefit from a lot of the information you present here. Please let me know if this alright with you. Thanks!
online mba near me says
I have been browsing online greater than 3 hours lately, yet I by no means found any fascinating article like yours. It¦s beautiful value sufficient for me. Personally, if all site owners and bloggers made good content material as you probably did, the web will be a lot more useful than ever before.
Data SGP 2024 says
Thankyou for helping out, fantastic info .
The Lost Frontier Handbook Review says
Wow! Thank you! I continuously wanted to write on my blog something like that. Can I include a part of your post to my website?
porsche specialist Malaysia says
Wow that was unusual. I just wrote an extremely long comment but after I clicked submit my comment didn’t show up. Grrrr… well I’m not writing all that over again. Regardless, just wanted to say excellent blog!
fitspresso says
You have brought up a very excellent points, appreciate it for the post.
LeanBiome Review says
Wow! Thank you! I permanently wanted to write on my blog something like that. Can I implement a fragment of your post to my blog?
criminal says
I strongly recommend stay away from this site. The experience I had with it has been purely disappointment along with suspicion of fraudulent activities. Be extremely cautious, or alternatively, look for a trustworthy platform to fulfill your requirements.
Diesel UTV says
I was recommended this blog through my cousin. I am no longer sure whether or not this publish is written via him as nobody else know such certain approximately my difficulty. You are incredible! Thank you!
Java Burn says
Very interesting topic, appreciate it for posting.
scam says
I strongly recommend to avoid this site. My personal experience with it was purely disappointment along with suspicion of fraudulent activities. Be extremely cautious, or even better, look for a more reputable service to fulfill your requirements.
revisao de veiculo blindado says
Heya this is kind of of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually code with HTML. I’m starting a blog soon but have no coding expertise so I wanted to get advice from someone with experience. Any help would be enormously appreciated!
scam says
I highly advise stay away from this site. The experience I had with it was nothing but disappointment and suspicion of deceptive behavior. Proceed with extreme caution, or better yet, seek out a trustworthy service for your needs.
bmw workshop near me says
Greetings from California! I’m bored to death at work so I decided to check out your site on my iphone during lunch break. I enjoy the info you provide here and can’t wait to take a look when I get home. I’m shocked at how quick your blog loaded on my phone .. I’m not even using WIFI, just 3G .. Anyhow, very good blog!
scam says
I urge you steer clear of this site. The experience I had with it has been only disappointment and doubts about fraudulent activities. Be extremely cautious, or better yet, find a trustworthy site to fulfill your requirements.
scam says
I strongly recommend steer clear of this site. My own encounter with it has been only dismay along with doubts about fraudulent activities. Proceed with extreme caution, or better yet, find an honest site to meet your needs.
Coconut charcoal says
We’re a group of volunteers and opening a new scheme in our community. Your website offered us with valuable info to work on. You have done a formidable job and our entire community will be thankful to you.
fitspresso reviews says
FitSpresso: What Is It? FitSpresso is a natural weight loss aid that targets the root cause of excess body fat.
mpo808 says
Magnificent site. Plenty of useful info here. I am sending it to some friends ans additionally sharing in delicious. And obviously, thank you to your effort!
erecprime review says
F*ckin’ amazing issues here. I am very satisfied to look your post. Thanks so much and i’m having a look forward to contact you. Will you kindly drop me a mail?
slot qris says
Very interesting information!Perfect just what I was looking for!
lose money says
I urge you steer clear of this site. The experience I had with it has been only disappointment and doubts about scamming practices. Exercise extreme caution, or even better, look for a trustworthy site to fulfill your requirements.
harga bajaringan says
Some times its a pain in the ass to read what people wrote but this internet site is really user friendly! .
scam says
I highly advise to avoid this site. My personal experience with it was purely frustration as well as concerns regarding fraudulent activities. Exercise extreme caution, or better yet, look for a trustworthy site to meet your needs.
puravive says
I think other web site proprietors should take this website as an model, very clean and excellent user friendly style and design, let alone the content. You are an expert in this topic!
scam says
I urge you to avoid this site. My own encounter with it was nothing but dismay along with doubts about scamming practices. Exercise extreme caution, or alternatively, seek out an honest service for your needs.
java burn says
Good post. I learn something more difficult on different blogs everyday. It should at all times be stimulating to read content from other writers and practice just a little one thing from their store. I’d desire to use some with the content material on my blog whether you don’t mind. Natually I’ll provide you with a hyperlink in your web blog. Thanks for sharing.
renew says
excellent submit, very informative. I wonder why the other specialists of this sector do not notice this. You must proceed your writing. I’m sure, you have a great readers’ base already!
this link guys, and stop the previous attack, we had one of our landing page in the previous links I provide says
I highly advise to avoid this site. The experience I had with it has been purely dismay along with concerns regarding scamming practices. Proceed with extreme caution, or better yet, look for a trustworthy service to meet your needs.
glass lids says
Hello There. I discovered your blog the usage of msn. This is a really neatly written article. I will be sure to bookmark it and return to learn more of your helpful info. Thank you for the post. I will certainly comeback.
mp3juices says
Heya i am for the primary time here. I came across this board and I find It really useful & it helped me out a lot. I am hoping to present one thing again and help others such as you aided me.