🚀 Hostinger Optimized
🖥️ Server: Apache
💻 System: Linux webm015.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
👤 User: stakrfrcol (69043)
🐘 PHP: 8.3.31
🚫 Disabled: _dyuweyrj4,_dyuweyrj4r,dl

💻 Terminal

📁 /home/stakrfrcol/agency
$

📄 blog-style-3.php

📁 Path: /home/stakrfrcol/agency/wp-content/themes/xhyre/theme-parts/blog/blog-style-3.php
📊 Size: 2 KB
🔒 Perm: 0644
📝 MIME: text/x-php
<?php if( empty($imgsize)){ $imgsize = 'pbmit-img-970x1090'; } // Default image size 
// featured image src only
$img_src = '';
if ( has_post_thumbnail( get_the_ID() ) ) {
	$img_src = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID()), 'full' );
};
?>
<div class="post-item">
	<div class="pbmit-featured-container">
		<div class="pbmit-bg-image" <?php if( !empty( $img_src[0] ) ) : ?> style="background-image:url('<?php echo esc_url( $img_src[0]); ?>');" <?php endif; ?>>
			<?php pbmit_get_featured_data( array( 'featured_img_only' => true, 'size' => esc_attr($imgsize) ) ); ?>	
			<a class="pbmit-link" href="<?php the_permalink(); ?>"></a>
		</div>
	</div>
	<div class="pbminfotech-box-wrap">
		<div class="pbminfotech-box-content">
			<div class="pbmit-meta-category-wrapper pbmit-meta-line">
				<div class="pbmit-meta-category"><?php echo get_the_category_list( ',' ); ?></div>
			</div>
			<h3 class="pbmit-post-title"><a href="<?php the_permalink(); ?>"><?php echo get_the_title(); ?></a></h3>
			<div class="pbminfotech-box-desc">
				<?php
				$limit  = pbmit_get_base_option('blog-element-limit');
				$limit_switch  = pbmit_get_base_option('blog-element-limit-switch');
				if ( has_excerpt() ){
					the_excerpt();
				} else if( $limit>0 && $limit_switch=='1' ){
					$content = get_the_content('',FALSE,'');
					$content = wp_strip_all_tags($content);
					$content = strip_shortcodes($content);
					echo pbmit_esc_kses( wp_trim_words($content, $limit) );
				} else {
					the_content( '' );
				}
				?> 
			</div>
		</div>
		<div class="pbmit-author-avatar">
			<div class="pbmit-author-image">
				<?php echo get_avatar( get_the_author_meta( 'ID' ), 32 );?> 
			</div>
			<div class="pbmit-author-name">
				<div class="pbmit-author-title">
					<?php echo sprintf( esc_html__( '%1$s', 'xhyre' ), get_the_author() ); ?>
				</div>
				<div class="pbmit-meta-date pbmit-meta-line">
					<span class="pbmit-post-date"><?php echo get_the_date( 'F  d. Y' ); ?></span>
				</div>
			</div>
		</div> 
	</div>
</div>
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨