?> > <span class="FA_current"><?php the_title(); ?> </span> <a href="#" title=""></a> </li> <?php } ?> </ul> <?php } ?> <?php if (has_sideways_nav() && count($postslist) > 1) { ?> <a href="#" title="<?php __('Previous post'); ?> " class="FA_back"></a> <a href="#" title="<?php __('Next post'); ?> " class="FA_next"></a> <?php } ?> </div>
/** * Applies the CSS classes of a slider. * Pass the main slider class to the function. * Will also implement the color class. * * @param string $class - main slider class */ function the_slider_class($class, $echo = true) { global $fa_slider; // add fa-slider class to all sliders $classes = array('fa-slideshow'); if ($class) { $classes[] = esc_attr($class); } $settings = fa_get_options('settings'); if ($settings['preload_sliders']) { $classes[] = 'slider-loading'; } $color = the_slider_color(false); if ($color && -1 != $color) { $classes[] = esc_attr($color); } // add the layout variation class if available $options = fa_get_slider_options($fa_slider->ID, 'layout'); if (isset($options['class']) && !empty($options['class'])) { $classes[] = esc_attr($options['class']); } // add a no-title class if slider is set not to display the title $title_options = fa_get_slider_options($fa_slider->ID, 'content_title'); if (!$title_options['show']) { $classes[] = 'no-title'; } // add a no-content class if slider is set not to display the text $content_options = fa_get_slider_options($fa_slider->ID, 'content_text'); if (!$content_options['show']) { $classes[] = 'no-content'; } // add a no-secondary-nav if slider is set not to display secondary navigation if (!has_sideways_nav()) { $classes[] = 'no-secondary-navs'; } // add a no-primary-nav if slider is set not to display primary navigation if (!has_bottom_nav()) { $classes[] = 'no-primary-nav'; } $output = implode(' ', $classes); if ($echo) { echo $output; } return $output; }
<?php the_fa_play_video('fa_play_video', 'modal'); ?> </div> <?php the_fa_image('<div class="fa_image">', '</div>', false); ?> </div> <?php } // have_slides() ?> <?php if (has_sideways_nav()) { ?> <div class="go-forward"></div> <div class="go-back"></div> <?php } ?> <?php if (has_bottom_nav()) { ?> <div class="main-nav"> <?php while (have_slides()) { ?> <a href="#" title="" class="fa-nav"></a> <?php