uawdijnntqw1x1x1
IP : 3.144.43.1
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
public_html
/
0d544
/
..
/
..
/
.trash
/
jannah
/
demo
/
..
/
templates
/
loops
/
loop-large-first.php
/
/
<?php /** * Block Layout - Large First * * This template can be overridden by copying it to your-child-theme/templates/loops/loop-large-first.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 ) : // Set custom class for the post without thumb $no_thumb = ( ! has_post_thumbnail() || ! empty( $block['thumb_first'] ) ) ? 'no-small-thumbs' : ''; ?> <li <?php tie_post_class( 'post-item '.$no_thumb ); ?>> <?php // Get the post thumbnail if ( has_post_thumbnail() && empty( $block['thumb_first'] ) ){ $image_size = TIELABS_THEME_SLUG.'-image-large'; if( !empty( $block['sub_style'] ) && $block['sub_style'] == '2c' && ! empty( $block['is_full'] ) ){ $image_size = TIELABS_THEME_SLUG.'-image-post'; } tie_post_thumbnail( $image_size, 'large', true, true, $block['media_overlay'] ); } ?> <div class="post-details"> <?php // Get the Post Meta info if( ! empty( $block['post_meta'] )){ tie_the_post_meta(); } ?> <h2 class="post-title"><a href="<?php the_permalink(); ?>"><?php tie_the_title( $block['title_length'] ); ?></a></h2> <?php if( ! empty( $block['excerpt'] )){ ?> <p class="post-excerpt"><?php tie_the_excerpt( $block['excerpt_length'] ) ?></p> <?php } if( ! empty( $block['read_more'] )){ tie_the_more_button(); } ?> </div><!-- .post-details /--> </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;
/home/sudancam/public_html/0d544/../../.trash/jannah/demo/../templates/loops/loop-large-first.php