I’m wondering the same thing. The Java script for orbit isn’t seaming to load on the page.
@andrew – Have not heard back from Paul.
Since orbit JavaScript is included, I ended up adding following code to functions.php. Ideally this would be in your child theme. This code assumes you want the slider on the front page.
<?php
function zyx_add_orbit_scripts(){
if ( is_front_page() ){
// Default homepage
wp_enqueue_script(
'foundation-orbit',
// SPINE2_FOUNDATION_JS_URL . 'foundation.orbit.js',
get_template_directory_uri().'/foundation/javascripts/foundation/foundation.orbit.js',
array(
'jquery',
'foundation-app'
),
SPINE2_VERSION,
true
);
}
}
add_action('wp_enqueue_scripts', 'zyx_add_orbit_scripts');
@summit – Thanks so much! I actually figured out the same thing yesterday. It would probably be good to have a little documentation on that in the spine theme. I’m new to zurb foundation as well as the spine theme, so it just took some investigating.
summit
thanks for posting this solution. Initially I was going to release a separate plugin for the carousel feature, that’s why it’s not supported out of the box