I bought a jQuery plugin that I don't fully understand how to incorporate into a WordPress site. The instructions are here: http://woodensun.com/install.html.

What I don’t get is:

B) Basic Usage:

		'widths': [240, 320, 480, 640, 768, 960, 1024, 1280, 1440, 1600, 1920, 2400],
		'format': 'width_{operator}_{width}',
		'orientationFormat': 'orientation_{orientation}'
re: “Then you can include it on your page by editing the template.”

I think this has to be called via wp_enqueue_scripts in the functions.php file? I get that I have to point to the .js file, I just don’t know where the bit of code above fits into the equation. Exactly where/how do I incorporate that? If it does go in the wp_enqueue_scripts code below, a quick code mockup of exactly how it’s supposed to look would be very helpful.

add_action( 'wp_enqueue_scripts', 'wpsites_load_jquery_script' );

function wpsites_load_jquery_script() {
wp_register_script( 'your-script', plugins_url( '/js/your-script.js', __FILE__ ), array( 'jquery' ) );
wp_enqueue_script( 'your-script' );
Thanks very much,