Ich habe es wie folgt eingefügt:
<?php endif;
}
}
add_action('wp_head', 'theme_favicon');
add_action('admin_head', 'theme_favicon');
add_action('login_head', 'theme_favicon');
[COLOR=#ff0000]remove_action('wp_head', 'wp_print_scripts');[/COLOR]
[COLOR=#ff0000]
[/COLOR][COLOR=#ff0000]remove_action('wp_head', 'wp_print_head_scripts', 9);[/COLOR]
[COLOR=#ff0000]
[/COLOR][COLOR=#ff0000]remove_action('wp_head', 'wp_enqueue_scripts', 1);[/COLOR]
[COLOR=#ff0000]
[/COLOR][COLOR=#ff0000]add_action('wp_footer', 'wp_print_scripts', 5);[/COLOR]
[COLOR=#ff0000]
[/COLOR][COLOR=#ff0000]add_action('wp_footer', 'wp_enqueue_scripts', 5);[/COLOR]
[COLOR=#ff0000]
[/COLOR][COLOR=#ff0000]add_action('wp_footer', 'wp_print_head_scripts', 5); [/COLOR]
if ( function_exists( 'add_theme_support' ) ) {
add_theme_support( 'post-thumbnails' );
add_theme_support( 'nav-menus' );
add_theme_support( 'automatic-feed-links' );
add_theme_support( 'post-formats', array( 'aside', 'gallery' ) );
}
Alles anzeigen
er lädt den script zwar in den footer, aber dann habe ich die meldung 'jQuery' ist undefiniert,
und somit funtkioniert die Lightbox nicht mehr.....
Die Seite: http://www.prosafe-ms.com