HEX
Server: Apache
System: Linux 162-240-236-42.bluehost.com 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
User: bt667 (1004)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /home/bt667/www/wp-content/plugins/accelerated-mobile-pages/templates/design-manager/swift/loop.php
<?php 
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
global $redux_builder_amp, $search_found; 
$width  = 346;
$height = 188;
if( true == $redux_builder_amp['ampforwp-homepage-posts-image-modify-size'] ){
    $width  = $redux_builder_amp['ampforwp-swift-homepage-posts-width'];
    $height = $redux_builder_amp['ampforwp-swift-homepage-posts-height'];
} ?>
<?php while(amp_loop('start')):
$search_found = true; ?>
<div class="fsp">
	<?php if(ampforwp_has_post_thumbnail()){ $args = array("tag"=>'div',"tag_class"=>'image-container','image_size'=>'full','image_crop'=>'true','image_crop_width'=>$width,'image_crop_height'=>$height, 'responsive'=> true); ?>
    <div class="fsp-img">
    	<?php amp_loop_image($args); ?>
    </div><?php } ?>
    <div class="fsp-cnt">
    	<?php amp_loop_category(); ?>
	    <?php amp_loop_title(); ?>
	    <?php if( ampforwp_check_excerpt() ) { amp_loop_excerpt(20); } ?>
	    <div class="pt-dt">
            <?php amp_loop_date(); ?>
        </div>
    </div>
</div>
<?php endwhile; amp_loop('end');  ?>
<?php do_action('ampforwp_loop_before_pagination') ?>