$premium_lenses = array('fashion' => array('thumbnail' => "https://s3.amazonaws.com/slidedeck-pro/upsell_assets/images/lenses/fashion/thumbnail.jpg", 'name' => "Fashion", 'utm_content' => "SD2LENSFASHION"), 'classic' => array('thumbnail' => "https://s3.amazonaws.com/slidedeck-pro/upsell_assets/images/lenses/classic/thumbnail.jpg", 'name' => "Classic", 'utm_content' => "SD2LENSCLASSIC"), 'half-moon' => array('thumbnail' => "https://s3.amazonaws.com/slidedeck-pro/upsell_assets/images/lenses/half-moon/thumbnail.jpg", 'name' => "Half Moon", 'utm_content' => "SD2LENSHALFMOON")); foreach ($premium_lenses as $slug => $lens_meta) { ?> <?php if (!in_array('fashion', $lens_slugs)) { ?> <a href="http://www.slidedeck.com/lenses-ae69de/?lens=<?php echo $slug; ?> &utm_source=premium_lenses_tab&utm_medium=link&utm_content=<?php echo $lens_meta['utm_content']; ?> &utm_campaign=sd2_lite<?php echo self::get_cohort_query_string('&') . slidedeck2_km_link('Browse Premium Lens', array('name' => $lens_meta['name'], 'location' => 'Lens Choices Tab')); ?> " target="_blank" class="lens placeholder" rel="lenses"> <span class="thumbnail"><img src="<?php echo $lens_meta['thumbnail']; ?> " /></span> <span class="shadow"> </span> <span class="title"><?php echo $lens_meta['name']; ?> </span> </a> <?php }
<div class="copyblock"> <h3><?php _e("Add video to your sliders", $this->namespace); ?> </h3> <p><?php _e("The Video slide type allows you to add your favorite clips from YouTube, Vimeo and Dailymotion into your slider. You can even choose from three different caption layouts, for the perfect fit.", $this->namespace); ?> </p> <h4><?php _e("Choose from 3 different layouts", $this->namespace); ?> </h4> <p class="align-center"><img src="<?php echo SLIDEDECK2_URLPATH; ?> /images/upsell-slide-type-video.jpg" alt="Caption, Body Text, None" /></p> </div> <div class="cta"> <a class="slidedeck-noisy-button" href="<?php echo slidedeck2_action("/upgrades&referrer=Video+Slide+Type+Handslap"); ?> " class="button slidedeck-noisy-button"><span>Upgrade to Professional</span></a> <a class="features-link" href="http://demo.slidedeck.com/wp-login.php?utm_campaign=sd2_lite&utm_medium=handslap_link&utm_source=handslap_slide_type&utm_content=video_slide<?php echo self::get_cohort_query_string('&') . slidedeck2_km_link(); ?> " target="_blank">or try it out in the live demo</a> </div> </div> </div> </div>