The Intersection

Technology. Career. Entrepreneurship. Life. by Ei Sabai Nyo

16 Apr, 2013

Using WordPress as a CMS – Customise Admin Login Page    

When you’re using WordPress as a CMS for clients, it’s a good idea to customise the Admin Login page so the client feels the ownership of the Admin console that they will be using. It doesn’t have to be complicated, by placing the following code into functions.php of the current theme, almost half the work of customising is done.

/* ADMIN */
// Use your own external URL logo link
function custom_url_login(){
return "http://www.anansi.com.au/"; /
}
add_filter('login_headerurl', 'custom_url_login');

// Custom WordPress Login Logo/CSS
function login_css() {
wp_enqueue_style( 'login_css', get_template_directory_uri() . '/login.css' );
}
add_action('login_head', 'login_css');

Love what you've just read? Subscribe to our newsletter to receive tips, resources and special offers related to web development & design.
Your name:   Your email:  

One response to “Using WordPress as a CMS – Customise Admin Login Page”

  1. I’d also recommend changing the Admin account to appear as the name of the owner whenever they make a blog post for a more personal touch.

    Also, due to the amount of WordPress hacking that’s going on, it’s also worth creating an Admin Account with no privileges, because this is often the account that gets hacked. But if it has no access to anything, you’re greatly minimizing risk.

Profile PicHello! Welcome to my blog! My name is Ei Sabai and on this blog, I write about technology, career, entrepreneurship and life. I started this blog in 2005 and for a decade, the main focus of this blog was web development. I am rebranding my blog in 2016 so here is to bigger and better things (although I will always be a technologist at heart)! Read more about me or have a look at some of the tips & resources for web professionals.
Subscribe to our newsletter to receive tips, resources and special offers related to web development & design.
We do NOT spam.
Your name:  
Your email:  

Tips & Resources

Tips & Resources
WordPress Web Hosting
Recommended web hosting providers for WordPress 3.0
iPhone Native App Development
Important steps into iPhone app development for beginners
iPhone Web App Development
Tips for iPhone web app development
Coupons for Web Developers
Get discounts on web hosting, domain names, templates, etc
10 Useful jQuery Snippets
Easy-to-use jQuery snippets for any website
HTML Email Newsletter
Step-by-step tutorial on how to code an HTML email newsletter
  • bluehost Hosting $6.95/month
  • Joomla Templates

Recommended Book

Categories