| Server IP : 77.68.64.21 / Your IP : 216.73.216.219 Web Server : Apache System : Linux hp3-wp-1011378.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els9.x86_64 #1 SMP Fri Jul 10 17:06:31 UTC 2026 x86_64 User : csh2668128 ( 2112425) PHP Version : 8.1.34 Disable Function : shell_exec,exec,system,popen,set_time_limit MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/domains/vol4/924/3261924/user/htdocs/wp-content/themes/jannah/templates/loops/ |
Upload File : |
<?php
/**
* Block Layout - Mini
*
* This template can be overridden by copying it to your-child-theme/templates/loops/loop-mini.php.
*
* HOWEVER, on occasion TieLabs will need to update template files and you
* will need to copy the new files to your child theme to maintain compatibility.
*
* @author TieLabs
* @version 4.5.0
*/
defined( 'ABSPATH' ) || exit; // Exit if accessed directly
// Set custom class for the post without thumb
$no_thumb = ( ! has_post_thumbnail() || ! empty( $block['thumb_all'] )) ? 'no-small-thumbs' : '';
?>
<li <?php tie_post_class( 'post-item '.$no_thumb ); ?>>
<?php
# Get the Post Meta info
if( ! empty( $block['post_meta'] )){
tie_the_post_meta( array( 'trending' => true, 'author' => false, 'comments' => false, 'review' => true ) );
}
?>
<h2 class="post-title"><a href="<?php the_permalink(); ?>"><?php tie_the_title( $block['title_length'] ); ?></a></h2>
<?php
// Get the post thumbnail
if ( has_post_thumbnail() && empty( $block['thumb_all'] ) ){
tie_post_thumbnail( TIELABS_THEME_SLUG.'-image-small', false, false, true, $block['media_overlay'] );
}
if( ! empty( $block['excerpt'] )){ ?>
<div class="post-details">
<p class="post-excerpt"><?php tie_the_excerpt( $block['excerpt_length'] ) ?></p>
</div>
<?php
}
?>
</li>