Is there an example of how I would add code to the header using a filter as opposed to editing core theme files? I am using Snippets plugin that lets me add code without messing with core Enfold files.
thanks!
Hey jomo5280,
If it’s the JavaScript that you need to add you can consider this example:
function avia_add_fontawesome(){
?>
<script src="https://use.fontawesome.com/650859c78a.js"></script>
<?php
}
add_action('wp_head', 'avia_add_fontawesome');
Best regards,
Victoria