C:\xampp\htdocs\landing\wp-content\plugins\penci-framework\shortcodes\sliders\style-25.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
$slider25_i 
$count 0;
$post_count $query_slider->post_count;

while ( 
$query_slider->have_posts() ) :
    
$query_slider->the_post();
    
$slider25_i ++;
    
$count ++;

    
$slider25_class 'penci-item-' $count;
    
$slider25_imgsize 'penci-thumb-480-320';
    
$slider_id_trim_title 'post_standard_title_length';

    if( 
== $count || == $count ){
        
$slider25_class .= ' penci-big-thumb item__big-thumb';
        
$slider25_imgsize 'penci-thumb-760-570';
        
$slider_id_trim_title 'post_big_title_length';
    }else{
        
$slider25_class .= ' penci-small-thumb';
    }

    if ( 
$count == ) {
        echo 
'<div class="penci-slider-wrapper-item">';
        echo 
'<div class="penci-item-row penci-item-row1">';

    }

    if ( 
$count == ) {
        echo 
'<div class="penci-item-row penci-item-row2">';

    }

    if ( 
$count == ) {
        echo 
'<div class="penci-item-row penci-item-row3">';

    }

    
?>
    <div class="penci-item-mag <?php echo esc_attr$slider25_class ); ?> <?php Penci_Helper_Shortcode::get_class_item_scolours$count ); ?>">
        <?php
        
echo Penci_Helper_Shortcode::get_image_holder(  array(
            
'image_size' => $slider25_imgsize,
            
'class'      => 'owl-lazy',
            
'use_penci_lazy' => false
        
) );
        
?>
        <?php include dirname__FILE__ ) . "/content-items.php"?>
    </div>
    <?php
    
if( == $count || ( $count && $slider25_i == $post_count ) ){
        echo 
'</div>';
    }

    if( 
== $count || ( $count && $count 5  && $slider25_i == $post_count ) ){
        echo 
'</div>';
    }

    if( 
== $count || ( $count && $count && $slider25_i == $post_count ) ){
        echo 
'</div>';
    }

    if ( 
$count == || $slider25_i == $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