I'm trying to load masonry but I'm having no luck, I've managed to load it manually but then I realised it was included in the wordpress core, so I thought oh that's handy.
I have it enqueue' (I really hate that word) like this:
function lart_front_end_scripts() {
if (is_admin()) return;
wp_enqueue_script('jquery', '1.10.2' );
wp_enqueue_script('jquery-masonry', array('jquery'));
}//End add_scripts
add_action('wp_print_scripts', array(&$this,'lart_front_end_scripts'));
Other jquery is loaded like normal, but I keep getting "masonry has no method" in the console and it's clearly not being loaded because of its absence under network - scripts console.
Help much appreciated.
Edit: I've updated my code to use enqueue_script instead of print_script.
function masonry() {
wp_enqueue_script('jquery-masonry');
}//End add_scripts
add_action('wp_enqueue_scripts', array(&$this, 'masonry'));
Still no dice.
functions.php
that would produce this?