C:\xampp\htdocs\landing\wp-content\plugins\penci-framework\shortcodes\sliders\style-13.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php
echo '<div class="penci-big_items  penci-owl-carousel-style">';
$slider_i 0;
while ( 
$query_slider->have_posts() ) :
    
$query_slider->the_post();
    
?>
    <div class="penci-item-mag">
        <?php
        
if( function_exists'penci_icon_post_format' ) ) {
            
penci_icon_post_formattrue,'lager-size-icon' );
        }
        
?>
        <a class="penci-image-holder owl-lazy" data-src="<?php echo Penci_Framework_Helper::get_featured_image_sizeget_the_ID(), 'penci-thumb-1920-auto' ); ?>" href="<?php the_permalink(); ?>" title="<?php echo esc_attrwp_strip_all_tagsget_the_title() ) ); ?>"></a>
        <div class="penci-featured-content">
            <div class="penci-slider__text">
                <?php
                
if( empty( $atts['hide_cat'] ) ){
                    if( isset( 
$atts['show_allcat'] ) && $atts['show_allcat'] ){
                        
$categories_list =  Penci_Framework_Helper::get_the_category_list' ' );
                        if( 
$categories_list ){
                            echo
'<div class="cat penci-slider__cat">' $categories_list '</div>';
                        }
                    }else{
                        echo 
'<div class="cat penci-slider__cat">' Penci_Framework_Helper::show_category''''false ) . '</div>';
                    }
                }
                
?>
                <h3>
                    <a title="<?php echo wp_strip_all_tagsget_the_title() ); ?>" href="<?php the_permalink() ?>"><?php echo penci_trim_post_titleget_the_ID(), $atts['post_big_title_length'] ); ?></a>
                </h3>

                <?php if ( ! $atts['hide_count_view'] || ! $atts['hide_comment'] || ! $atts['hide_post_date'] || ( isset( $atts['show_author'] ) && $atts['show_author'] ) ): ?>
                    <div class="penci-slider__meta">
                        <?php
                        
if( function_exists'penci_get_post_author' ) && isset( $atts['show_author'] ) && $atts['show_author'] ){
                            
penci_get_post_authortruefalse );
                        }
                        
?>
                        <?php function_exists'penci_get_post_date' ) && empty( $atts['hide_post_date'] ) ? penci_get_post_date( ) : ''?>
                        <?php if ( ! $atts['hide_count_view'] && function_exists'penci_get_post_countview' ) ): ?>
                            <?php penci_get_post_countviewget_the_ID(), true ); ?>
                        <?php endif; ?>
                        <?php if ( ! $atts['hide_comment'] ): ?>
                            <span class="entry-meta-item penci-slider__comments"><a href="<?php comments_link(); ?> "><i class="la la-comments"></i>
                                    <?php comments_number'0''1''%' ); ?></a></span>
                        <?php endif; ?>

                    </div>
                <?php endif; ?>
                <a class="button button-read-more" title="<?php echo wp_strip_all_tagsget_the_title() ); ?>" href="<?php the_permalink() ?>">
                    <?php
                    
if ( function_exists'penci_get_tran_setting' ) ) {
                        echo 
penci_get_tran_setting'penci_blog_more_text' );
                    } else {
                        
esc_html_e'Read more''penci-framework' );
                    }
                    
?>
                </a>
            </div>
        </div>
    </div>
    <?php
    $slider_i 
++;
endwhile;
wp_reset_postdata();
echo 
'</div>';
echo 
'<div class="penci-small_items-wrapper"><div class="penci-small_items  penci-owl-carousel-style">';
$slider_i 0;
while ( 
$query_slider->have_posts() ) :
    
$query_slider->the_post();

    
?>
    <div class="penci-item-mag">
        <h3>
            <a title="<?php echo wp_strip_all_tagsget_the_title() ); ?>" href="<?php the_permalink() ?>"><?php echo penci_trim_post_titleget_the_ID(), $atts['post_standard_title_length'] ); ?></a>
        </h3>
        <?php if ( ! $atts['hide_count_view'] || ! $atts['hide_comment'] || ! $atts['hide_post_date'] || ( isset( $atts['show_author'] ) && $atts['show_author'] ) ): ?>
            <div class="penci-slider__meta">
                <?php
                
if( function_exists'penci_get_post_author' ) && isset( $atts['show_author'] ) && $atts['show_author'] ){
                    
penci_get_post_authortruefalse );
                }
                
?>
                <?php if ( ! $atts['hide_post_date'] && function_exists'penci_get_post_date' ) ): ?>
                    <?php penci_get_post_date( ); ?>
                <?php endif; ?>
                <?php if ( ! $atts['hide_count_view'] ): ?>
                    <?php penci_get_post_countviewget_the_ID(), true ); ?>
                <?php endif; ?>
                <?php if ( ! $atts['hide_comment'] ): ?>
                    <span class="entry-meta-item penci-slider__comments"><a href="<?php comments_link(); ?> "><i class="la la-comments"></i>
                            <?php comments_number'0''1''%' ); ?></a></span>
                <?php endif; ?>

            </div>
        <?php endif; ?>
    </div>
    <?php
    $slider_i 
++;
endwhile;
wp_reset_postdata();

echo 
'</div></div>';
x

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