Пример #1
0
<?php

/**
 * Featured Articles PRO - Nivo Slider theme 
 */
// store slides captions
$captions = array();
?>
<div class="<?php 
the_slider_class('slider-wrapper fa-nivo-slider-wrapper');
?>
" style="<?php 
the_slider_styles();
the_slider_width();
?>
" id="<?php 
the_slider_id();
?>
" <?php 
the_slider_data();
?>
>
	<div class="nivoSlider fa-nivo-slider">
    	<?php 
while (have_slides()) {
    ?>
    		<?php 
    $url = get_the_slide_url();
    $image = get_the_fa_slide_image_url();
    $caption_id = 'fa-caption-' . rand(1, 1000);
    if (!$image) {
Пример #2
0
<?php

// get the options implemented by the slider theme
$options = get_slider_theme_options();
?>
<div class="<?php 
the_slider_class('fa_slider_simple');
?>
" style="<?php 
the_slider_styles();
?>
" id="<?php 
the_slider_id();
?>
" <?php 
the_slider_data();
?>
>
	<?php 
while (have_slides()) {
    ?>
	<div class="fa_slide <?php 
    the_fa_class();
    ?>
" style="<?php 
    the_slide_styles();
    ?>
">
		
		<div class="fa_slide_content">	
			<?php