Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s not my plugin but the code snippet that comes after it:

    <script>
    $(document).ready(function(){
    	$(".nav-button").click(function () {
    		$(".nav-button,.primary-nav").toggleClass("open");
    	});
    });
    </script>

    You can probably find this in your themes header.php just after the <?php wp_header(); ?> tag.

    Change the first line to:

    jQuery(document).ready(function($){

    (notice two differences!)

    Thread Starter ywickham

    (@ywickham)

    Thank you! If I wasn’t in such a rush, I should have caught that. I appreciate your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uncaught TypeError’ is closed to new replies.