Sorry, to have bothered you. The problem has been SOLVED. Cause was hardcoded jQuery 1.5 in various php files of the solidwp theme. More specifically (to learn from our mistakes):
jQuery was called twice hardcoded in header.php, once via wp_enqueue_script also in header.php. These three were incorrect. wp_enqueue_script doesn't belong in header.php and the other two should never be hardcoded in whatever file.
In header.php stood in line 12 t/m 17 the following.
<?php wp_enqueue_script("jquery"); ?>
<?php wp_head(); ?>
<script type="text/javascript" src="<?php bloginfo("template_url"); ?>/js/jquery.min.js"></script>
<script type="text/javascript" src="<?php bloginfo("template_url"); ?>/js/jquery-1.8.1.min.js"></script>
Because <?php wp_head(); ?> was called again a little further on, this code has been removed.
In _admin/functions-setup.php jQuery 1.5 was loaded in the footer. This is now loaded in the header instead of the footer for better compatability with plug-ins that are dependant on jQuery.
Jan de Boer
Posted 12 years ago on Saturday September 8, 2012 |
Permalink