Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #396034

    how can i add custom javascript?

    #396176

    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

    #396794

    thank you. i will do it.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘add custom javascript’ is closed to new replies.