• I am using Joe Kohlmann’s ‘WordPress Admin Redesign” for my admin panel theme. I am curious how to incorporate this theme into the wp-login.php and wp-register.php without changing the file’s css tags?

    Oh yea, the function he is using is:

    function new_css() {
    echo ‘<link rel=”stylesheet” media=”screen” type=”text/css” href=”‘ . get_settings(‘siteurl’) . ‘/wp-content/plugins/adred_files/wp-admin-new.css” />’;
    }

    add_action(‘admin_head’, ‘new_css’);

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you checked with the plugin’s author and their site? That information may be there already. Or ask them directly.

    Thread Starter dommega

    (@dommega)

    Yes, I have and it seems that it is not so well supported. Is there an add_action tag I am missing, or is there some other easy way to do it?

    You could simply copy the contents of the “wp-admin-new.css” into the wp-admin.css, located in wordpress/wp-admin/. Or, you could edit wp-login.php and wp-register.php, replacing:
    <link rel="stylesheet" href="<?php echo get_settings('siteurl'); ?>/wp-admin/wp-admin.css" type="text/css" />
    with
    <link rel="stylesheet" href="<?php echo get_settings('siteurl'); ?>/wp-content/plugins/adred_files/wp-admin-new.css" type="text/css" />

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Admin Theme for Login/ Register’ is closed to new replies.