Loading Custom Javascript

Community Forums Forums Design Tips and Tricks Loading Custom Javascript

This topic is: resolved

This topic contains 1 reply, has 1 voice, and was last updated by  charriott4 1 year, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10068

    charriott4
    Participant
    Post count: 57

    http://avance.myprowebsolutions.com/

    I cant seem to be able to load my custom javascript.

    I’ve added this to my theme functions file, but is still not loading?

    // Load script for interactivemap scripts
    add_action(‘get_header’, ‘custom_load_interactivemap’);
    function custom_load_interactivemap() {
    wp_enqueue_script(‘interactivemap’, content_url().’/includes/interactive_map.js’, array(‘jquery’), ’2.11′, TRUE);
    }


    Web Designs By Chrissy | Twitter @designbychrissy

    Follow Me On Facebook

    #10072

    charriott4
    Participant
    Post count: 57

    Nevermind  I think I got it


    Web Designs By Chrissy | Twitter @designbychrissy

    Follow Me On Facebook

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

The topic ‘Loading Custom Javascript’ is closed to new replies.