Homepage › Community Forums › Epik Theme Support › How do I Add Javascript to Header of Homepage
Tagged: header, home.php, javascript
Hello all,
I am trying to add a bit of java script to the widgetized homepage.
the JS needs to go in the header— but i am not quite sure how to get it in there.
Can i put it in home.php file somehow?
yes, try something like this –
// Adds javascript add_action( 'genesis_meta', 'custom_javascript' ); function custom_javascript() { ?> Javascript goes here <?php }
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com