HEX
Server: Apache
System: Linux webd006.cluster128.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: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/z/w/a/zwafgyp/dodolodge-net/wp-content/themes/hotel-wp/tp-event/loop/thumbnail.php
<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

?>

<?php if ( has_post_thumbnail() ): ?>

	<?php if ( is_single() ): ?>
		<?php
		$thumb = get_the_post_thumbnail( get_the_ID(), 'full' );
		if ( empty( $thumb ) ) {
			return;
		}
		echo '<a class="post-image" href="' . esc_url( get_permalink() ) . '">'. $thumb . '</a>';
		?>

	<?php else: ?>


			<?php thim_feature_image( 570, 500, true ); ?>

	<?php endif; ?>

<?php endif; ?>