Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #851279

    Hi,
    I need to add a javascript to my footer. The information is listed below. Can you tell me how I would add this?

    #851425

    Hey thecszone,

    Please try this in your functions.php file:

    function thecszone_js_to_footer(){ ?>
    PASTE YOUR CODE HERE
    <?php }
    add_action('wp_footer', 'thecszone_js_to_footer');

    Best regards,
    Rikard

    #851591

    Works perfect! Thanks so much, Rikard!!

    #851622

    Hi,

    Glad Rikard could help! :)

    For your information, you can take a look at Enfold documentation here – http://www.kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – http://www.kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Javascript in Footer’ is closed to new replies.