Call Collapse-O-Matic to wp-register.php
-
Hello,
I’ve been using Collapse-O-Matic for some sites now.
I want to call it to wp-register.phpI was thinking of using something like this to call it:
function my_login_stylesheet() { wp_enqueue_style( 'custom-login', get_stylesheet_directory_uri() . '/style-login.css' ); } add_action( 'login_enqueue_scripts', 'my_login_stylesheet' );
However, since I already have one .css called, will it be ok to call anotehr? And if so, what file should I call?
And should I do it like this?
function my_login_stylesheet() { wp_enqueue_style( 'custom-login', get_stylesheet_directory_uri() . '/style-login.css' ); wp_enqueue_style( 'custom-login', get_stylesheet_directory_uri() . '/ANOTHERstyle-login.css' ); } add_action( 'login_enqueue_scripts', 'my_login_stylesheet' );
Thanks,
R.
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Call Collapse-O-Matic to wp-register.php’ is closed to new replies.