Plugin css location
-
Hello, I made a custom plugin for my login page but I cant figure out how to move my custom plugin css to the plugin folder. I thought I was supposed to change
/login/styles.css
to/styles.css
but that didnt work.`function my_login() {
echo ‘<link rel=”stylesheet” type=”text/css” href=”‘ . get_bloginfo(‘stylesheet_directory’) . ‘/login/styles.css” />’;
}
add_action(‘login_head’, ‘my_login’);
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Plugin css location’ is closed to new replies.