Tagged: javascript
how can i add custom javascript?
Hi rynleigh!
Try adding this to the bottom of your functions.php file.
add_action( 'wp_footer', 'enfold_customization_custom_scripts' );
function enfold_customization_custom_scripts() {
?>
<script type = "text/javascript">
jQuery(document).ready(function(){
// your custom javascript goes here
});
</script>
<?php
}
Regards,
Elliott
thank you. i will do it.