C:\xampp\htdocs\landing\wp-content\plugins\penci-pennews-amp\templates\featured-posts.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
<?php
$archive_layout 
penci_amp_get_setting( ( is_archive() ? 'penci_amp_archive_listing' 'penci_amp_home_listing' ) );
$archive_layout $archive_layout $archive_layout 'listing-1';

if ( 
have_posts() ) :
    
$slider_i 0;
    echo 
'<div class="penci-archive__list_posts ' $archive_layout '">';
    while ( 
have_posts() ) : the_post(); $slider_i ++; ?>
            <article <?php post_class'penci-post-item penci-post-item-' $slider_i  ); ?>>
                <div class="article_content">
                    <div class="entry-media">
                        <a class="penci-link-post" href="<?php the_permalink(); ?>"><?php penci_amp_post_thumbnail( array( 'post'   => get_the_ID() ,'size'   => 'penci-thumb-480-320' ) ); ?></a>
                    </div>
                    <div class="entry-text">
                        <h3 class="penci__post-title entry-title">
                            <a href="<?php the_permalink() ?>" title="<?php the_title_attribute() ?>">
                                <?php the_title() ?>
                            </a>
                        </h3>

                        <div class="entry-meta">
                            <?php $this->load_parts( array( 'entry-meta' ) ); ?>
                        </div>
                        <div class="post-excerpt">
                            <?php
                            
if( function_exists'penci_content_limit' ) ) {
                                
penci_content_limitpenci_excerpt_length_blog(), '' );
                            }
                            
?>
                        </div>
                        <a class="post-read-more" href="<?php the_permalink() ?>" title="<?php the_title_attribute() ?>">
                            <?php echo penci_amp_get_setting'penci_amp_text_readmore' ); ?>
                            <i class="fa fa-angle-right"></i>
                        </a>
                    </div>
                </div>
            </article>
        <?php
    
endwhile;
    echo 
'</div>';
endif;
x

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