Design - Written by Kerry on Thursday, December 25, 2008 22:11 - 16 Comments

Branded Admin for WordPress 2.7 Released

Branded Admin 1.1Had a little spare time before holiday travel and I finished up the ‘Branded Admin’ Plugin for WordPress 2.7. WordPress 2.7 actually made this plugin much easier to implement. There are a few css restrictions based on the height values of the image used in the header & padding values in the css. I will explain them below. One of the things I would like to implement in a future version is an admin page for settings so that the css and php files will not have to be editied manually.

Download Link

Branded Admin
Download Latest Version 1.1

zip, 12k – 1442 downloads

Check out the screenshots below:

click either image for a lightbox view

Branded Admin for WordPress 2.7 - BEFORE


Branded Admin for WordPress 2.7 - AFTER

Instructions

The images can be found in the plugins images folder (plugins default images). They are named ‘branded-header.png’ (500×55) & ‘branded-footer.png’ (40×40). If you use the same names for your images you will not need to edit any image names in the plugin files. If you have images ready to use and named differently, copy them to the plugin’s images folder and change the following:

1) ‘branded-admin.php’ file line 36

echo 'newdiv.innerHTML = "<a href="' . get_settings('siteurl') . '" title="Click to View Site"><img src=' . get_settings('siteurl') . '/wp-content/plugins/branded-admin/images/branded-header.png /></a>"; ';

2) ‘branded-admin.css’ file line 33

#footer_branded {
clear: both;
width: 100%;
vertical-align: middle;
background: url(images/branded-footer.png) #464646 no-repeat 20px 5px;
color: #999;
}

Even though the location of the images may look different in these two files they are both in the images folder of the plugin. So edit the two locations with the names of your images and upload to the plugins images folder:

/wp-content/plugins/branded-admin/images’

Be sure to notice in the screenshots the header and the footer. Mine are pretty simplistic, minor changes. You can do what ever you want here. My header image is 500×55 and my footer icon is 40×40. I believe you can go as large as you like with the header graphic (within constraints of the admin layout) so be creative. There is one css change you will have to make that coordinates directly with the height of the header graphic. It is explained below.

Header and Height of #wphead

#wphead {
height:71px;
background-color: #464646;
}
#wp-logo-branded {
margin: 8px 5px 8px 15px;
}

The height attribute of the #wphead DIV in the css above must equal the height of your header image plus the top and bottom margins of the #wp-logo-branded DIV.

i.e. My image height is 55 (as noted in the first paragraph of the instructions). The top & bottom margin of the #wp-logo-branded DIV = 16 (8+8).
55 + 16 = 71.

Download Link

Branded Admin
Download Latest Version 1.1

zip, 12k – 1442 downloads

As always if you have questions or concerns please leave a reply.

 Digg  Facebook  StumbleUpon  Technorati  Deli.cio.us  Twitter  Sphinn  Mixx  Google  DZone 


16 Comments

You can follow responses to this entry through the RSS 2.0 feed. You can leave a response or trackback from your own site.

uhubuhu
Dec 28, 2008
10:57 am
 

Hi there,

Your plugins seem to be very useful.
Unfortunately the download links for BOTH the branded-admin-for-wordpress and
the branded-login-screen-plugin do NOT work.

The downloaded files cannot be opened.
Could you please fix them? Thanks

danny
Dec 29, 2008
09:02 am
 

As mentioned the zip file made for download doesn’t unpack correctly.

Kerry
Dec 30, 2008
12:04 am
 

@Everyone – Please try and download the zip again from the direct download link.

http://kerrywebster.com/wp-downloads/branded-admin-1.1.zip

I originally zipped it with 7Zip. It must have had issues. It has been rezipped with WinZip. Sorry for any problems caused.

Kerry
Jan 9, 2009
12:33 am
 

All links should be fixed throughout the site. I had two plugins beating each other up.

Florian Woegerer
Jan 11, 2009
03:11 pm
 

branded_admin.php includes 4 line breaks at the bottom…those should be removed otherwise other plugins which use hooks wont work properly.

i.
Jan 20, 2009
08:21 am
 

Thanks. The footer looks messed up in firefox, tho.

Kerry
Jan 20, 2009
09:23 pm
 

@i. – Fixed in current download. Needed a height value on the #footer_branded div.

WPCult
Jan 29, 2009
01:04 am
 

Was curious about the admin plugin, if you had updated it for 2.7, and here i see you have! Sweet!

San Diego Web Design
May 11, 2009
03:51 am
 

nice plugin! tried it and it worked. nice! thanks for sharing.

Felix
May 11, 2009
05:57 am
 

Cool plug-in! I’m currently installing it on my blog. Thanks!

Mitch
Jun 1, 2009
09:22 am
 

Hi Kerry, yep great plugin, now I don’t have to make the changes manually after every wp update. One thing I noticed is the footer isn’t in the ‘wp-wrap’ div so the your footer always sits 50px below the wrap and therefore you have to scroll to see the footer regardless of the monitor size. I’ve just added a negative 50px your footer div to combat this.

Kerry
Jul 16, 2009
10:42 pm
 

@Mitch – missed your comment. Thanks for the tip. I will go over the css when I update this plugin. Thanks again.

Trackbacks

Leave a Reply



BasecampHighrise

Comment



 

Design, News - Nov 10, 2009 21:27 - 0 Comments

My Entries in the WordCamp Boston Logo Contest

More In Design


News - Jan 25, 2010 4:37 - 6 Comments

Branded Login Screen 2.0 Released

More In News


How To - Jul 15, 2008 23:59 - 10 Comments

How WordPress 2.6 Broke My Permalink Structure…

More In How To




Login