// make the password strength meter to work on login template page function ft_enqueue_login_scripts() { if ( is_page_template( 'tpl-login.php' ) ) { wp_enqueue_script( 'utils' ); wp_enqueue_script( 'user-profile' ); } } add_action( 'wp_enqueue_scripts', 'ft_enqueue_login_scripts' );
There are currently 1 users browsing this thread. (0 members and 1 guests)