My WordPress version is 3.2.1.
An empty script is placed inside the head tags:
<script type='text/javascript' src='Actual theme path?ver=3.2.1'></script>
I deactivated all my plugins and checked it. But it looks that same. Then I looked into my functions.php
. I can see the following scripts:
wp_enqueue_script('nivo', BFI_TEMPLATEURL . 'scripts/jquery.nivo.slider.js', array('jquery'),'3.2.1');
wp_enqueue_script('bfi', BFI_TEMPLATEURL . 'scripts/bfi.min.js', array('jquery', 'superfish', 'cufonfont', 'ytchromeless', 'flowplayer', 'ajaxupload', 'nivo'), '1.0.14');
The empty script that I mentioned comes between these 开发者_运维技巧two scripts but I couldn't find it in functions.php
.
Is jquery.nivo.slider.js
-file included? I'm asking because '3.2.1'-version of this script required and in the 'empty script tag' version equals to '3.2.1' too Actual theme path?ver=3.2.1
.
If you answered 'no' to the previus question,
Is jQuery library script included? It could be the reason because according to this
wp_enqueue_script('nivo', BFI_TEMPLATEURL . 'scripts/jquery.nivo.slider.js', array('jquery'),'3.2.1');
nivo slider script depends on jquery script.
Also, Have you opened header.php-file of your theme? Maybe you have this string hardcoded in this file. It is improbable, but may be...
Deactivated or deleted? Because if you deactivate the plugin, the script files are still in the root js directory of wordpress.
精彩评论