Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author sevenspark

    (@sevenspark)

    Answered via Pro Support Ticket, but copying it here just for reference if anyone else encounters something like this (Michael, you can respond to the ticket email if you have any further questions):

    —————————-

    ​Looks like that is happening because you are loading multiple copies of the jQuery library. In addition to the proper jQuery version (1.11.1), you’re loading at least two other copies of the library:

    ​v1.6.2: http://leadsndr.com/js.php

    ​<script type="text/javascript" src="http://leadsndr.com/js.php"></script>


    ​v1.10.1 http://cdn.callrail.com/companies/307811487/0484d0f1c73144cadcb1/11/swap.js

    <!-- CallRail WordPress Integraton -->
    <script type="text/javascript" src="//cdn.callrail.com/companies/307811487/0484d0f1c73144cadcb1/11/swap.js"></script>


    You’ll want to clean up your install so that you’re only running one copy of jQuery (1.11.1). This isn’t actually a ShiftNav issue at all, the problem is just that you load a jQuery library, attach ShiftNav to it, then overwrite that library – so when ShiftNav is called later, it doesn’t exist in the overridden library.

    ​Hope that helps!

    ​Chris

    Thread Starter mvandemar

    (@mvandemar)

    Removing <script type=”text/javascript” src=”http://leadsndr.com/js.php”></script&gt; did the trick, so I am guessing that was only loading when the live site was the referrer.

    Having the other reference in there doesn’t appear to be hurting anything, although you are right, there definitely should only be one. I think that it’s the “jQuery.noConflict” reference in there that allows it to co-exist in there.

    Thanks!

    -Michael

    Plugin Author sevenspark

    (@sevenspark)

    Glad it helped! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘TypeError: jQuery(…).shiftnav is not a function’ is closed to new replies.