Call us

Book Echocardiogram

    Your Personal Details

    Referal

    Are you*

    GP and Practice information

    Medical History

    CALL US NOW
    function phoenix_fix_jquery_loading() { // Ensure jQuery loads in the header (not footer) for WooCommerce compatibility if (!is_admin()) { wp_deregister_script('jquery'); wp_register_script('jquery', includes_url('/js/jquery/jquery.min.js'), false, null, false); wp_enqueue_script('jquery'); } } add_action('wp_enqueue_scripts', 'phoenix_fix_jquery_loading', 1); // Priority 1 = runs first function phoenix_enqueue_scripts() { // Ensure jQuery is loaded wp_enqueue_script('jquery'); // Your theme JS with jQuery as dependency wp_enqueue_script( 'phoenix-main-js', get_template_directory_uri() . '/js/phoenix-new.min.js', array('jquery'), // jQuery dependency '0.05', // Increment version to clear cache true // Load in footer ); // Select2 - must load after jQuery wp_enqueue_script( 'select2-js', get_template_directory_uri() . '/js/select2.full.min.js', array('jquery'), // jQuery dependency '4.0.3', true ); // Slick - must load after jQuery wp_enqueue_script( 'slick-js', get_template_directory_uri() . '/js/slick.min.js', array('jquery'), // jQuery dependency '1.8.1', true ); } add_action('wp_enqueue_scripts', 'phoenix_enqueue_scripts', 20); // Priority 20 = runs after jQuery fix