Se vuelven a dejar todos los JS en la cabecera porque fallan algunas funciones de BP al colocarlos en el pie.
git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@164 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
parent
e6bf89d5ce
commit
55e9bb68bb
@ -38,15 +38,6 @@ define("ghostpool_admin", TEMPLATEPATH . '/lib/admin/inc/');
|
||||
define("ghostpool_bp", TEMPLATEPATH . '/lib/buddypress/');
|
||||
define("BP_THEME_URL", get_template_directory_uri());
|
||||
|
||||
/* * ************************* Change Javascript position***************** */
|
||||
|
||||
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_footer', 'wp_print_scripts', 5 );
|
||||
add_action( 'wp_footer', 'wp_enqueue_scripts', 5 );
|
||||
add_action( 'wp_footer', 'wp_print_head_scripts', 5 );
|
||||
|
||||
/* * ************************* Additional Functions ************************** */
|
||||
|
||||
// Main Theme Options
|
||||
|
||||
Loading…
Reference in New Issue
Block a user