C:\xampp\htdocs\landing\wp-content\plugins\penci-framework\shortcodes\sliders\style-3.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
$slider_i 
$count 0;


while ( 
$query_slider->have_posts() ) :
    
$query_slider->the_post();

    
$slider_i ++;
    
$count ++;

    
$image_size 'penci-thumb-480-320';
    
$class_item 'item__medium-thumb';

    
$slider_id_trim_title 'post_standard_title_length';

    if ( 
$count == ) {
        
$class_item 'item__big-thumb';
        
$image_size 'penci-thumb-760-570';
        
$slider_id_trim_title 'post_big_title_length';
        echo 
'<div class="penci-slider-wrapper-item">';
    }
    
?>
    <div class="penci-item-mag penci-item-mag-<?php echo $count?> <?php echo $class_item?> <?php Penci_Helper_Shortcode::get_class_item_scolours$count ); ?>">
        <a class="penci-image-holder owl-lazy" data-src="<?php echo Penci_Framework_Helper::get_featured_image_sizeget_the_ID(), $image_size ); ?>" href="<?php the_permalink(); ?>" title="<?php echo esc_attrwp_strip_all_tagsget_the_title() ) ); ?>">
        </a>
        <?php include dirname__FILE__ ) . "/content-items.php"?>
    </div>
    <?php
    
if ( $count == || $slider_i == $query_slider->post_count ) {
        echo 
'</div><!--.item slider-->';
        
$count 0;
    }
endwhile;
wp_reset_postdata();
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586