HEX
Server: nginx/1.29.3
System: Linux mail.sarafai.ru 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: www-data (33)
PHP: 7.4.33
Disabled: dl,exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /var/www/levasheva.ru/public/wp-content/themes/levasheva/content.php
<?php 
global $be_themes_data;
global $blog_style;
if( has_post_thumbnail() ) :
	$blog_image_size = ( 'style2' == $blog_style ) ? 'blog-image-2' : 'large';
	$thumb = wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), $blog_image_size );
    $thumb_full = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID() ), 'full' );    
	$url = $thumb['0'];
	$attachment_full_url = $thumb_full[0];
endif;
$class = '';
if((isset($be_themes_data['open_to_lightbox']) && 1 == $be_themes_data['open_to_lightbox']) || is_single()) {
	$link = $attachment_full_url;
	$class = 'image-popup-vertical-fit mfp-image';
} else {
	$link = get_permalink();
}
if( !empty( $url ) ) : ?>
<div class="post-thumb">	
	<div class="element-inner">        	
		<a href="<?php echo $link ?>" class="<?php echo $class; ?> thumb-wrap">
			<?php the_post_thumbnail( $blog_image_size ); ?>
			<div class="thumb-overlay">
				<div class="thumb-bg">
					<div class="thumb-title fadeIn animated">
						<i class="portfolio-ovelay-icon"></i><br>
                        <?php echo "Галерея Ирины Левашевой"; ?>
                        <?php echo $thumb->post_title ; ?>
					</div>
				</div>
			</div>
		</a>
	</div>			
</div>
<?php endif; ?>