JS to Footer – Login/Register Issues – UserPro Forums https://forum.userproplugin.com/forums/topic/js-to-footer-loginregister-issues/feed/ Sun, 05 May 2024 04:43:48 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/js-to-footer-loginregister-issues/#post-15407 <![CDATA[JS to Footer – Login/Register Issues]]> https://forum.userproplugin.com/forums/topic/js-to-footer-loginregister-issues/#post-15407 Tue, 31 Dec 2013 02:22:19 +0000 I used below to move all javascript to footer, but cannot log in or register now. Any suggestions?

function custom_clean_head() {
remove_action(‘wp_head’, ‘wp_print_scripts’);
remove_action(‘wp_head’, ‘wp_print_head_scripts’, 9);
remove_action(‘wp_head’, ‘wp_enqueue_scripts’, 1);
}
add_action( ‘wp_enqueue_scripts’, ‘custom_clean_head’ );

]]>
https://forum.userproplugin.com/forums/topic/js-to-footer-loginregister-issues/#post-15487 <![CDATA[Reply To: JS to Footer – Login/Register Issues]]> https://forum.userproplugin.com/forums/topic/js-to-footer-loginregister-issues/#post-15487 Wed, 01 Jan 2014 09:30:53 +0000 admin You’re obviously not enqueuing the userpro scripts.min.js. Please correct this and make sure it’s queued.

]]>
https://forum.userproplugin.com/forums/topic/js-to-footer-loginregister-issues/#post-15488 <![CDATA[Reply To: JS to Footer – Login/Register Issues]]> https://forum.userproplugin.com/forums/topic/js-to-footer-loginregister-issues/#post-15488 Wed, 01 Jan 2014 09:31:09 +0000 admin “Moved to Support”

]]>