jquery theme and plugin problem
-
Hello,
bot my theme jquery slider and another plugin uses jquery , and conflicts,
what can i do?
here is codes;
theme jquery slider;<script type=”text/javascript” src=”<?php echo bloginfo(‘template_url’); ?>/scripts/jquery.js”></script>
<script type=”text/javascript” src=”<?php echo bloginfo(‘template_url’); ?>/scripts/custom.js”></script>
<script type=”text/javascript” src=”<?php echo bloginfo(‘template_url’); ?>/scripts/featuredcontentglider.js”></script>————————————-
plugin;wp_register_script(‘codes’, $ShortcodeKidPath.’js/codes.js’);
//Enqueue our script
wp_enqueue_script(‘jquery’);
wp_enqueue_script(‘codes’);
——————–// jQUERY ACTIVATE
////////////////////////////////////add_action(‘wp_head’, ‘JsActivators’);
//let’s include the necessary code
function JsActivators() {
$output = “
<script type=\”text/javascript\”>
jQuery(document).ready(function() {
jQuery(‘.sktooltip’).each(function() {
The topic ‘jquery theme and plugin problem’ is closed to new replies.