• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Loading Custom Javascript

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Loading Custom Javascript

This topic is: resolved
  • This topic has 1 reply, 1 voice, and was last updated 13 years, 8 months ago by charriott4.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • January 6, 2013 at 11:31 pm #10068
    charriott4
    Member

    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

    January 7, 2013 at 1:22 am #10072
    charriott4
    Member

    Nevermind  I think I got it


    Web Designs By Chrissy | Twitter @designbychrissy

    Follow Me On Facebook

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Loading Custom Javascript’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble