Customizing your install: Login & Favicon

In a continuing series of posts, we’ll explore what you, the site admin, can do to your MU install to create a customized experience for your user. It is important to make some visual changes to attract users, give them a reason to use your site, and to create a better experience for them. In a bigger sense, this is one small but important element in branding your entire site.

We’ll focus on Binary Moon’s Custom Login plugin. Originally the plugin was developed as a way for web developers installing WordPress for clients to brand their installs. Same applies for MU, really. While it works in the regular plugins folder in MU, and you can edit a core file to turn it on automatically for each new blog, it also works in the mu-plugins folder. Just edit the file to point to the mu-plugins folder instead.

Since it is a small, lightweight plugin, it doesn’t add much to the overall load. Instead of having it in a subfolder, there are so few files – 2 I think, and an image folder with 2 files- you can just place them right in mu-plugins.

Before you do all that, take a look at the graphic files included with the plugin. Edit those as needed to match the look of your site. I find it quite nice if it matches the main theme on the main blog.

Some examples:
- HSJ
- Mommieblogs (in production)

Note how in the second, the included css file has been tweaked to override the default stylesheet to better match the graphics. Also take a look at both site’s main page to see how the login better matches the look and feel.

While you are visiting both places, notice how the favicon matches each site, and is not the default MU character. You can edit any graphic logo that matches (or create one), making sure it is 16 by 16 pixels. You can even use a favicon generator. Name it favicon.ico and place in your root folder, overwriting the one that is there.

These are two small easy changes that once implemented, have given you an edge above the others.

[Post to Twitter] Tweet This Post 



Random Posts

    bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark
    tabs-top  banner ad
    

    8 Responses to “Customizing your install: Login & Favicon”

    1. Huun, good ideia! but which core file should i edit and what exactly should i edit there to make it work automatically?

    2. Greg says:

      Marcus

      I just placed it in my mu-plugins directory and corrected the path in the php file. Worked a treat

    3. Joeby says:

      Hmmm…

      I had this installed and working fine… on my mu install then, made a bonehead move and lost everything yesterday… No, it’s not an April fools joke…

      Today I went to redownload the plugin and it looks different to me… Maybe a new version for 2.5? In any event… Now I can’t seem to get it working…

      Any ideas?

    4. Deryk Wenaus says:

      thanks for this tip :) very helpful.

      I could not get the plugin to work so I just trashed the code that was to make it compatible with regular wordpress. I replaced the main function with this:

      function bm_custom_login() {
      $pluginPath = "/wp-content/mu-plugins/";
      $pluginUrl = get_settings('siteurl') . $pluginPath . plugin_basename(dirname(__FILE__));
      $pluginUrl .= '/bm-custom-login-2.css';
      echo '';
      }

      I also put the plugin in it’s own folder, then just created a new php file in the main mu-plugins directory with only the php inlclude:

      include_once('bm-custom-login/bm-custom-login.php');

      thanks again.

    5. Deryk Wenaus says:

      shoot, the code above is missing the proper echo link. the last line should read:

      echo 'link rel="stylesheet" type="text/css" href="' . $pluginUrl . '" /';
      but you’ll have to add an open bracket right before the word link and a close bracket right before the last closing quote’

    6. I noticed that the two example links don’t appear to be using this plugin. Does that mean that it’s not a viable option anymore? I am looking to add a favicon to a WordPressMU site and I also need to create a custom login for it. Is this plugin still a good choice?

      Blessings,
      Wendy

    7. Worked like a charm! I also installed Gigya for easier login on my site so I had to widen the graphic by double. Because of Gigya’s formatting I also made the footer piece just a clear image to accommodate it’s formatting. There might have been a better way, but hey, it worked! :-) You can see it at http://www.powermaxenergy.com/wp-admin

      Blessings,
      Wendy

    8. How would you create custom favicon for each WPMU blog though? Would have to be done on a theme level?

    Leave a Reply

    *
    To prove you're a person (not a spam script), type the security word shown in the picture.
    Anti-Spam Image