Making WordPress.org


Ignore:
Timestamp:
01/05/2015 09:18:47 PM (10 years ago)
Author:
iandunn
Message:

Central Theme: Make navigation.js a generic file for all front-end JavaScript.

I'll be adding more JS soon and we don't want multiple files, each with their own HTTP request.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/functions.php

    r849 r1085  
    181181    static function enqueue_scripts() {
    182182        wp_enqueue_style( 'central', get_stylesheet_uri(), array(), 3 );
    183         wp_enqueue_script( 'central-navigation', get_stylesheet_directory_uri() . '/js/navigation.js', array(), '20140909', true );
     183        wp_enqueue_script( 'wordcamp-central', get_stylesheet_directory_uri() . '/js/central.js', array(), '20140909', true );
    184184
    185185        /* We add some JavaScript to pages with the comment form
Note: See TracChangeset for help on using the changeset viewer.