I was trying to create a template to customize my WP admin dashboard, not only a css mod but a entirely renew to my customers.
I’ve successfully created a page template for a custom login page, and it worked fine, but now, the biggest problem is how to redirect admin pages to custom ones? And plus, how to call admin functions on this page?
Any help will be appreciated, thanks
Codex has documentation on creating custom login pages – Customize Login Form > Make Custom Login Page, using
wp_login_form()
function. This should load everything necessary to log user in.However, unlike login, replacing admin would be much more involved and have many approaches. Typically to access admin function in non-admin context admin PHP files have to be loaded manually which is rather fragile and prone to errors on WordPress version updates.