One of many personal / business projects I have been working on is creating a business network for small business owners and self-employed individuals such as myself that works similar to BNI. I want this network to have an online presence, a members only secured area that requires password entry, and a home web page for anyone to view and learn about the network before requesting membership and access to the members only area. Initially I started with a Ning network account but wanted more control over what got displayed and how without too much hacking and also without hacking to pay for upgrades when otherwise Ning is free. Plus Ning has annoying adsense ads on the right (which I got rid of. ask me how). Well, I thought, WordPress is very extensible, I’m sure I can create my business network with WordPress by password protecting the WordPress blog installation and customizing the WordPress login screen.
I’m based in Oakland, California so I bought the domain name oaklandbusinessnetwork.com and created a one page information website for the network so prospective members have a place to go to learn a bit more about the network and me before they join. The website also points to the Ning network web address which I will use for recruiting. In the top right corner is a link to “Members login”. In the drectory /members I installed WordPress. I found and installed Angsuman’s Authenticated WordPress Plugin. It password protects your entire blog so that even on entry you’re taken to the typical blue WordPress login screen (see pic at left). Fabulous!
But, wait. I wanted more. Though I don’t care that people know the members area is basically a password protected WordPress blog, ’cause I’d tell anyone who listens how fabulous WordPress is, the login screen messed with the branding. Plus, I never had the opportunity or need to change the look of the login screen until now. So, I created a custom login screen by changing just two images in the WordPress installation, changing a colors in the admin CSS stylesheet and changing text in the login file and you can to.
What you’ll need to create a custom login screen for you WordPress blog:
- Image one, top and main image, is located here in your WordPress installation: /wp-admin/images/login-bkg-tile.gif
- Image two, bottom image, is located here: /wp-admin/images/login-bkg-bottom.gif
- The location of the login file is: /wp-login.php
- The location of the admin stylesheet: /wp-admin/wp-admin.css
- Photoshop or other image editor
- Dreamweaver or other FTP access and web editing software
What to do to create a custom login screen for your WordPress blog:
1. You don’t necessarily need the bottom image unless you want the round corners. Opening up the top image in Photoshop will show you the blue login image with the WordPress logo only. Its about 420px by 700px (see image on the left). Of course the form info (username, password and login button) is separate. Just take a screenshot of the login screen with the username, password and login button already on it (see image above) and design your own login screen around it so that your new design does not interfere with the form that will be placed on top of it once you upload the new image again on your server. If you do use the bottom image, I’d suggest that you create a new file with the exact dimensions of both the bottom and top images together. Place the bottom image inside this new file, at the bottom of course. And place the top image also in the new file. Then, place the login screenshot with the form on top, again so you can design around the username, password and login form elements. Now you can design around the form and within the given dimensions. You’ll just have to slice or crop the top and bottom images when your done. Save the top and bottom images with the same names as the original files and upload them back onto your server.
2. Now, you’ll probably also want to change the style of the text and text box that appears over the username when you log out or when an error is displayed. See image below. Go to the wp-admin.css file and look for:
#login #login_error {
background: #0e3350;
border: 1px solid #2571ab;
color: #ebcd4e;
font-size: 11px;
font-weight: bold;
padding: .6em;
width: 310px;
margin: 0 50px;
text-align: center;
}
Replace the colors (see bolded number and letter combinations above) with those that match your new login image colors. You can fin the colors by using the color picker in your Photoshop software or go to: HTML color codes chart to choose the right colors. After you’ve change colors (and maybe the border thickness from 1px to 2px or more, for example), save the file and upload it back on to your server in the directory it belongs.
3. Now, if you want to change the message that appears in the error text box on logout, go to the wp-login.php file and do a search for the line “Successfully logged you out”. It should be on or near line 343. Unless you know PHP, don’t use an apostrophe. No contractions like “you’re” or “don’t”. And don’t use quotes either. It messes with syntax. After you’ve change the text, save the file and upload it back on to your server in the directory it belongs.
Here are the finish products of my Oakland Business Network members login screen customizations:


Now you know how I created a more customized WordPress login screen and password protected the WordPress blog installation for my business network and you can do the same for your WordPress network or community blog.

26 responses so far ↓
1 Charity, Linux, WordPress | The BookmarkMoney Blog // Mar 4, 2008 at 1:38 am
[...] WordPress Pad has a great tutorial on customizing your WordPress login page. [...]
2 robert // Apr 28, 2008 at 9:09 am
How do i change the color of the text” username” and “password” Thanks in advance for your help
3 Janice // Apr 28, 2008 at 5:48 pm
Nice to see this. I will put this to work today. I also would like to know how to change the colors.
4 kemio // Apr 29, 2008 at 11:18 pm
Robert, to replace text color of the username and password, look for:
textarea, input, select {
background: #f4f4f4;
border: 1px solid #b2b2b2;
color: #000;
font: 13px Verdana, Arial, Helvetica, sans-serif;
margin: 1px;
padding: 3px;
}
change “000″ at “color: #000″ to whatever html color you wish. If you’ve upgraded your WP blog to 2.5, look for:
#wphead h1, #dashmenu a.current:hover, #login form input {
color: #555; }
in the file located at p-admin/css/colors-fresh.css
Also, you can install a plugin to customize your login screen: http://wordpress.org/extend/plugins/search.php?q=custom+login
Hope this helps.
-Kemi
5 Big League Players Club // Oct 18, 2008 at 4:39 am
This blog Is very informative , I am really pleased to post my comment on this blog . It helped me with ocean of knowledge so I really belive you will do much better in the future . Good job web master .
6 Kredit // Oct 30, 2008 at 4:29 pm
Excelent posts and comments. I wish good luck from Kredit
7 Autoversicherung // Nov 11, 2008 at 8:01 am
Realy good post. I wish good luck from Autoversicherung
8 Autoversicherung // Nov 25, 2008 at 1:22 pm
Great article. I have this bookmarked. Thanks from Autoversicherung
9 tina // Mar 16, 2009 at 1:58 am
It is very useful. Thank you.
10 Jessica // Jun 17, 2009 at 7:39 pm
Thank you so much!
If the Angusman’s plugin loops back to your login page, you can find a good fix here:
http://ask.metafilter.com/109416/WordPress-27-and-Angsumans-Authenticated-WordPress-Plugin
Worked for me on WordPress 2.8
11 AMELIA19 // Jan 29, 2010 at 11:41 am
When you are embarrassed and don’t really know the way to create the custom essay paper, you will have a possibility to buy essay in the perfect term papers writing service. This would really save valuable time.
12 Dougal Ramon // Oct 22, 2011 at 1:45 am
Computer is infected! Will not let me download any antivirus software!!?
13 iphone 4 unlock // Nov 6, 2011 at 4:45 am
What is Windows Defender?
14 buy facebook likes // Nov 11, 2011 at 3:31 pm
Help With Facebook Like Page Notifications? Help With Facebook Like Page Notifications?
15 iphone 4 unlock // Nov 12, 2011 at 5:52 am
Unlock iPhone 4 baseband 3.10.01 & firmware 4.2.1? What is the price of factory unlock iphone 4 in USA ?
16 unlock iphone 4 // Nov 30, 2011 at 6:39 am
UNLOCK IPHONE 4 ON THREE NETWORK? Hi, i recently had my iphone stolen. I found the culprit and got my iphone back but theres a problem, they have pin locked it. Naturally i want to get back into my iphone but cant. Anyway i can bypass the pin number? Thanks.
17 how to buy unlocked iphone 4 // Dec 18, 2011 at 8:51 pm
Substantial knowledge how to unlock iphone 3g for tmobile how to unlock apple iphone 4 Info regarding how to unlock iphone 3g free
18 how do you unlock an iphone // Dec 24, 2011 at 8:02 am
Do you require information on how to unlock iphone for free how to unlock your iphone Theme how to factory unlock iphone 4
19 unlock iphone 4.1 free // Jan 26, 2012 at 10:44 am
It is possible to unlock iPhone 4 if you are not easily thrilled with the assistance which is available from your favorite iPhone vendor. To cling this particular apart, you don?t must technology knowledgeable. By employing bing, there’s precious an unlock iphone 4 4.2.1 baseband
20 Clement // Jan 26, 2012 at 11:12 am
safely and securely via educating an overview how to unlock iphone 4g 4.1 unlock iphone 4 4.1 firmware 02.10.04 You are able to unlock iPhone 4 if you aren’t 100 % satisfied with the ideas accessible a iPhone carrier. To handle this type of out there, you don?t will need to be know-how smart. With the use of yahoo and google, you will see prized details plus
21 how to unlock iphone 4 4.1 // Jan 26, 2012 at 2:26 pm
You are able to unlock iPhone 4 discover to the full thrilled with the requirements you can buy from your own personal iPhone specialist. To handle this situation released, anyone don?t must professional knowledge. By means of search engines like bi jailbreak and unlock iphone 3gs 4.1
22 Malcolm // Jan 26, 2012 at 2:29 pm
Find out more with regards to how to unlock the iphone 4 how to unlock iphone 3g 3.1.3 It is easy to unlock iPhone 4 if you’re not very well content with the help you can find at your current iPhone agency. To bring the idea out, you will don?t will have to be specialist clever. When you use search engines like yahoo, you will see che
23 Alfred // Jan 27, 2012 at 1:18 pm
Examine to understand about how to unlock an iphone 3gs unlock iphone 4 baseband 2.10.4 You might unlock iPhone 4 if you aren’t thoroughly contented with the support which is available from your actual iPhone supplier. To place this unique through, most people don?t really should be technical expertise. By making use of searchengines l
24 iphone 4 3.10 unlock // Jan 27, 2012 at 1:26 pm
You possibly can unlock iPhone 4 if you aren’t properly thrilled with the help offered your favorite iPhone company. To take this important finally out, we don?t has to be technology bloggers knowledge. When you use the major search engines, you can unlock iphone 4 ios4.1
25 Toby // Jan 28, 2012 at 9:24 pm
Were you aware How you can unlock iphone 4 4.1 baseband unlock iphone 4.1 You may unlock iPhone 4 if you are not wholly thrilled with the skills offered by your own personal iPhone business. To bring this amazing away, most people don?t be specialist expertise. By way of search engines, there’s treasured information and s
26 unlock iphone vodafone // Jan 28, 2012 at 10:25 pm
You can actually unlock iPhone 4 discover absolutely happy about the requirements at your new iPhone issuer. To include the around, you’ll don?t require being technology clever. Through the help of the search engines, there can be found important da unlock iphone 3g 4.0
Leave a Comment