Beispiel #1
0
                        <?php 
            } else {
                ?>
                            <a class="cycloneslider-caption-more" href="<?php 
                echo esc_url($slide['link']);
                ?>
">
                        <?php 
            }
            ?>
                    <?php 
        }
        ?>

                    <img src="<?php 
        echo cyclone_slide_image_url($slide['id'], $slider_settings['width'], $slider_settings['height'], array('current_slide_settings' => $slide, 'slideshow_settings' => $slider_settings));
        ?>
" alt="<?php 
        echo $slide['img_alt'];
        ?>
" title="<?php 
        echo $slide['img_title'];
        ?>
" />
                    
                    <?php 
        if ('lightbox' == $slide['link_target'] or '' != $slide['link']) {
            ?>
                        </a>
                    <?php 
        }
Beispiel #2
0
    echo 'responsive' == $slider_settings['width_management'] ? 'style="max-width:' . esc_attr($slider_settings['width']) . 'px"' : '';
    ?>
    <?php 
    echo 'fixed' == $slider_settings['width_management'] ? 'style="width:' . esc_attr($slider_settings['width']) . 'px"' : '';
    ?>
    >
	<ul class="clearfix">
		<?php 
    foreach ($slides as $i => $slide) {
        ?>
			<?php 
        if ('image' == $slide['type']) {
            ?>
                <li>
					<img src="<?php 
            echo cyclone_slide_image_url($slide['id'], 40, 40, array('current_slide_settings' => $slide, 'slideshow_settings' => $slider_settings, 'resize_option' => 'crop'));
            ?>
" width="40" height="40" alt="<?php 
            echo $slide['img_alt'];
            ?>
" title="<?php 
            echo $slide['img_title'];
            ?>
" />
				</li>
            <?php 
        } elseif ('youtube' == $slide['type']) {
            ?>
                <li>
					<img src="<?php 
            echo $slide['thumbnail_small'];