Javascript only works without wp_head
-
I’m working on some click to copy coding and came across an issue. The code and scripts do not work when I call
<?php wp_head(); ?>
, but if I delete that code from my header, then the scripts work properly. Has anyone else had problems like this? I’m calling the scripts like:<head> . . . <script type="text/javascript" src="https://www.creativepatience.com/sample_blog/zeroclipboard/ZeroClipboard.js"></script> <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script> <script type="text/javascript" src="https://www.creativepatience.com/sample_blog/js/clipboard.js"></script> <?php wp_head(); ?> </head>
Any assistance would be much appreciated
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Javascript only works without wp_head’ is closed to new replies.