C:\xampp\htdocs\landing\wp-content\plugins\penci-framework\shortcodes\block_7\content-items.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
<?php

$block7_items 
'';
$block7_i 1;
while ( 
$query_slider->have_posts() ) {
    
$query_slider->the_post();


    
$block7_items .= '<article  class="' join' 'penci_get_post_class''get_the_ID() ) ) . '">';
    
$block7_items .= '<div class="penci-post-item__inner">';
    
$block7_items .='<div class="penci_post_thumb">';
    
$block7_items .= Penci_Helper_Shortcode::get_image_holder(  array(
        
'image_size' => $atts['image_size'] ? $atts['image_size'] : 'penci-thumb-480-320',
        
'show_icon'  => ! $atts'hide_icon_post_format' ],
        
'image_type' => $atts['image_type']
    )  );
    if ( ! empty( 
$atts['show_order_number'] ) ) {
        
$block7_items .= '<span class="penci-order-number">' $block7_i '</span>';
    }
    
/* Display Review Piechart  */
    
if( empty( $atts['show_review_piechart'] ) && function_exists('penci_display_piechart_review_html') ) {
        
$block7_items .= penci_display_piechart_review_htmlget_the_ID(), 'normal'false );
    }
    
$block7_items .='</div>';
    
$block7_items .= '<div class="penci_post_content">';
    
$block7_items .= Penci_Helper_Shortcode::get_markup_title_post$atts['post_standard_title_length'] );
    
$block7_items .= Penci_Helper_Shortcode::get_post_meta( array( 'author''date','comment' ), $attstrue, array( 'view' ) );

    if( 
$atts['show_readmore'] && function_exists'penci_more_link' ) ){
        
$block7_items .= penci_more_link();
    }

    
$block7_items .= '</div></div></article>';

    
$block7_items .= Penci_Helper_Shortcode::get_markup_infeed_ad( array(
        
'order_ad'   => $atts['infeed_ads__order'],
        
'order_post' => $block7_i,
        
'code'       => $content,
    ) );

    
$block7_i ++;
}
wp_reset_postdata();

return 
Penci_Helper_Shortcode::pre_output_content_items$block7_items $atts );

x

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