| Server IP : 119.59.104.26 / Your IP : 216.73.217.55 Web Server : Apache/2 System : Linux ns69.hostinglotus.net 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64 User : com12370 ( 1517) PHP Version : 7.2.34 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/com12370/public_html/wp-content/themes/MIXThemes/templates/loops/ |
Upload File : |
<?php
/**
* Block Layout - Big Thumb
*
* This template can be overridden by copying it to your-child-theme/templates/loops/loop-big-thumb.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
if( $count == 1 ) :
$background = '';
$thumbnail = tie_thumb_src_bg( TIELABS_THEME_SLUG.'-image-post' );
if( ! empty( $thumbnail ) ){
$background = tie_get_option( 'lazy_load' ) ? 'data-lazy-bg="'. esc_attr( tie_thumb_src( TIELABS_THEME_SLUG.'-image-post' ) ) .'"' : 'style="'. esc_attr( tie_thumb_src_bg( TIELABS_THEME_SLUG.'-image-grid' ) ) .'"';
}
?>
<li <?php tie_post_class( 'post-item' ); ?>>
<div class="big-thumb-left-box-inner" <?php echo ( $background ); ?>>
<?php
// Get the post thumbnail
if ( has_post_thumbnail() ){
tie_post_thumbnail( false, 'large', false, true, $block['media_overlay'] );
}
?>
<div class="post-overlay">
<div class="post-content">
<?php tie_the_category(); ?>
<h2 class="post-title"><a href="<?php the_permalink(); ?>"><?php tie_the_title( $block['title_length'] ); ?></a></h2>
<?php
// Get the Post Meta info
if( ! empty( $block['post_meta'] )){
tie_the_post_meta( '', '<div class="thumb-meta">', '</div>' );
}
?>
</div>
</div>
</div>
</li><!-- .first-post -->
<?php else:
// Set custom class for the post without thumb
$no_thumb = ( ! has_post_thumbnail() || ! empty( $block['thumb_small'] )) ? 'no-small-thumbs' : '';
?>
<li <?php tie_post_class( 'post-item '. $no_thumb ); ?>>
<?php
// Get the post thumbnail
if ( has_post_thumbnail() && empty( $block['thumb_small'] ) ){
tie_post_thumbnail( TIELABS_SMALL_IMAGE, 'small', false, true, $block['media_overlay'] );
}
?>
<div class="post-details">
<?php
// Get the Post Meta info
if( ! empty( $block['post_meta'] )){
tie_the_post_meta( array( 'trending' => true,'author' => false, 'comments' => false, 'views' => false, 'review' => true ) );
}
?>
<h2 class="post-title"><a href="<?php the_permalink(); ?>"><?php tie_the_title( $block['title_length'] ); ?></a></h2>
</div><!-- .post-details /-->
</li>
<?php endif;