Hi Guys,
Sorry to bother you but I can’t find the solution anywhere in this forum.
I understand this:
function addCustomScript(){
?>
<script>
// your code goes here
</script>
<?php
}
add_action('wp_head', 'addCustomScript');
But what/ how exactly do I add instead of //your code goes here ?
I’d like to have this script added:
<script src=”somescriptname.js type=”text/javascript” “></script>
When I only add this, it doesn’t work: somescriptname.js type=”text/javascript
Best regards,
Steven