-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
36 lines (26 loc) · 841 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/*
Plugin Name: Clarity Admin UI
Plugin URI: http://alnemec.com/modern-admin-ui/
Description: Clarity WordPress Admin Theme.
Author: Al Nemec
Version: 1.0
Author URI: http://alnemec.com
*/
function my_admin_theme_style() {
wp_enqueue_style('my-admin-theme', plugins_url('wp-admin-master.css', __FILE__));
wp_enqueue_script(
'my-admin-theme-actions',
plugins_url( 'js/wp-clean-admin-master.min.js' , __FILE__ ),
array( 'jquery' )
);
/*$current_color = get_user_option( 'admin_color' );
echo $current_color;*/
}
add_action('admin_enqueue_scripts', 'my_admin_theme_style');
add_action('login_enqueue_scripts', 'my_admin_theme_style');
function my_login_css() {
echo '<link rel="stylesheet" type="text/css" href="' .plugins_url('login.css ', __FILE__). '">';
}
add_action('login_head', 'my_login_css');
?>