Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

smoothbox

// Register Script
function smoothbox_scripts() {

	wp_register_script( 'smoothbox-jquery', '/js/smoothbox.jquery2.min.js', array( 'jquery' ), false, true );
	wp_enqueue_script( 'smoothbox-jquery' );

	wp_register_script( 'smoothbox', '/js/smoothbox.min.js', false, false, true );
	wp_enqueue_script( 'smoothbox' );

}

// Hook into the 'wp_enqueue_scripts' action
add_action( 'wp_enqueue_scripts', 'smoothbox_scripts' );