Error in your code for the Head.JS code.
-
Hi again,
I’ve just resolved an issue with your code that was causing none of my Javascript to load. Chrome inspection was telling me there was an unexpected “<” in the code.
It turns out it was a simple fix, you were just missing the double // before the <![CDATA[
See the fix I did on line 203 of your file cleanerpress-professional-3.php
Old Code
echo(sprintf(“%s<script src=’%s’ type=’text/javascript’></script><script type=’text/javascript’><![CDATA[\r\n head.js(%s);\r\n]]></script>”New Code
echo(sprintf(“%s<script src=’%s’ type=’text/javascript’></script><script type=’text/javascript’>//<![CDATA[\r\n head.js(%s);\r\n//]]></script>”
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Error in your code for the Head.JS code.’ is closed to new replies.