August 15, 2013 at 9:10 am
#3258
mrussell1984
Participant
Hi Rabin thank you so much for your swift response. I have no been able to narrow down the problem which is occurring in the header file.
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='http://fonts.googleapis.com/css?family=Cinzel' rel='stylesheet' type='text/css'>
<?php
/**
* attitude_title hook
*
* HOOKED_FUNCTION_NAME PRIORITY
*
* attitude_add_meta 5
* attitude_show_title 10
*
*/
/*LINE INSERTED BACK IN*/
do_action( 'attitude_title' );
/**
* attitude_meta hook
*/
do_action( 'attitude_meta' );
/**
* attitude_links hook
*
* HOOKED_FUNCTION_NAME PRIORITY
*
* attitude_add_links 10
* attitude_favicon 15
* attitude_webpageicon 20
*
*/
do_action( 'attitude_links' );
/**
* This hook is important for wordpress plugins and other many things
*/
?>
<?php wp_head();?>
<!-- JQUERY. Only if not previously loaded. If not available CDN (probably worldwide brosers cached) then load local version -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="http://cdn.jquerytools.org/1.2.6/form/jquery.tools.min.js"></script>
</head>
The problem is that I need to call the above jquery library for my booking engine to work correctly and if I move that to near the top of the header file, the menu will work but the booking engine won’t. I tried moving around the wp_head function because I thought maybe it was conflicting with that but I still can’t get both to work at the same time.
Would you have any idea how I can get around this? Is jQuery already called in the theme for the menu? If so maybe I just need to change the code for the booking engine to reference where your jQuery is pointing to?