Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /var/www/web432/html/wp-content/themes/touchm/sliders/revolution/ |
Current File : //var/www/web432/html/wp-content/themes/touchm/sliders/revolution/slider.php |
<?php $al_options = get_option('al_general_settings'); $loop = new WP_Query( array( 'post_type' => 'slider', 'posts_per_page' => -1, 'orderby' => 'menu_order', 'order' => 'ASC' ) ); ?> <script type="text/javascript"> var tpj=jQuery; tpj(document).ready(function() { if (tpj.fn.cssOriginal!=undefined) tpj.fn.css = tpj.fn.cssOriginal; tpj('.mainslider, .fullwidthbanner').revolution( { delay:<?php echo isset ($al_options['al_revolution_interval']) ? $al_options['al_revolution_interval'] : '9000'?>, navigationType:"<?php echo isset ($al_options['al_revolution_pagination']) ? $al_options['al_revolution_pagination'] : 'thumb'?>", //bullet, thumb, none, both (No Shadow in Fullwidth Version !) navigationStyle:"<?php echo isset ($al_options['al_revolution_paginationstyle']) ? $al_options['al_revolution_paginationstyle'] : 'round'?>", //round,square,navbar stopLoop:"<?php echo isset ($al_options['al_revolution_stoploop']) ? $al_options['al_revolution_stoploop'] : 'on'?>", // on == Stop loop at the last Slie, off== Loop all the time. startwidth:950, startheight:450, thumbWidth:100, // Thumb With and Height and Amount (only if navigation Tyope set to thumb !) thumbHeight:50, thumbAmount:4, hideThumbs:200, onHoverStop:"on", navigationArrows:"verticalcentered", //nexttobullets, verticalcentered, none touchenabled:"on", // Enable Swipe Function : on/off navOffsetHorizontal:0, navOffsetVertical:0, fullWidth:"<?php echo isset ($al_options['al_revolution_fullwidth']) ? $al_options['al_revolution_fullwidth'] : 'off'?>", shadow:1 //0 = no Shadow, 1,2,3 = 3 Different Art of Shadows - (No Shadow in Fullwidth Version !) }); }); </script> <!-- BEGIN Slider --> <?php echo (isset ($al_options['al_revolution_fullwidth']) && $al_options['al_revolution_fullwidth']=='on') ? '<div class="fullwidthbanner-container"><div class="fullwidthbanner">' : '<div class="mainslider-container responsive"><div class="mainslider">'?> <ul> <?php while ( $loop->have_posts() ) : $loop->the_post(); $image_url = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID),'full'); $custom = get_post_custom($post->ID); $link = isset ($custom['_slider_link']) ? $custom['_slider_link'][0] : ''; ?> <li data-transition="slotslide-horizontal" data-slotamount="10" data-thumb="<?php echo $image_url[0]; ?>" <?php if(!empty($link)):?>data-link="<?php echo $link; ?>"<?php endif?>> <?php the_post_thumbnail($post->ID); ?> <?php echo get_the_content() ?> </li> <?php endwhile; ?> </ul> <div class="tp-bannertimer"></div> </div> </div> <!-- END Slider -->
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare