WordPress

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');

One thought on “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.

Comments are closed.

Twitter
LinkedIn
YouTube
Instagram