Add a javascript library
-
Hi,
I’m trying to add a javascript library – flot – to my website using your plugin. I have the following code in one of your snippets but I get 2 errors
add_action(‘wp_head’, function(){?>
<script src=’http://localhost/test/wp-content/scripts/jquery.flot.min.js’ language=’javascript’ type=’text/javascript’></script>
?php });1) Expecting a } on line 3
2) Expecting a ) on line 3line 3 is the last line: ?php });
Thanks
Paul
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Add a javascript library’ is closed to new replies.