Hallo Forum,
ich bekomme Lightbox einfach nicht zum laufen...
Theme:mh-magazine-lite
Wordpress Version: 4.2.2
Plugins: WP Lightbox 2 & diverse Galerie Plugins probiert
Lokale Installation (Xampp)
Code von der Functions.php:
PHP
if (!function_exists('mh_scripts')) {
function mh_scripts() {
wp_enqueue_style('mh-google-fonts', '//fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,600', array(), null);
wp_enqueue_style('mh-style', get_stylesheet_uri(), false, '1.8.3');
wp_enqueue_script('scripts', get_template_directory_uri() . '/js/scripts.js', array('jquery'));
if (!is_admin()) {
if (is_singular() && comments_open() && (get_option('thread_comments') == 1))
wp_enqueue_script('comment-reply');
}
}
}
add_action('wp_enqueue_scripts', 'mh_scripts');
Alles anzeigen
Habe hier auch versucht jQuery alternativ wie folgt einzubinden, leider auch ohne Erfolg:
PHP
wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js'); wp_enqueue_script( 'jquery' );
Bitte um Unterstützung :)