HEX
Server: Apache
System: Linux hp3-wp-1011494.hostingp3.local 3.10.0-1160.139.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Nov 3 13:30:41 UTC 2025 x86_64
User: csh2729955 (2121743)
PHP: 7.4.33
Disabled: shell_exec,exec,system,popen,set_time_limit
Upload Files
File: /home/storage/162/3480162/user/htdocs/wp-content/themes/hueman/parts/page-image.php
<?php if ( has_post_thumbnail() ): ?>
  <div class="page-image">
  	<div class="image-container">
  		<?php
      $image_size = hu_is_checked( 'singular-page-cropped-feat-img' ) ? 'thumb-xxlarge' : 'full';
      if( 'thumb-xxlarge' === $image_size && !function_exists('hu_limit_srcset_img_width_for_thumb_xxlarge') ) {
          // do not allow the browser to pick a size larger than 'thumb-xxlarge'
          // updated for https://github.com/presscustomizr/hueman/issues/889
          function hu_limit_srcset_img_width_for_thumb_xxlarge() { return '1320'; }
          // documented in wp-includes/media.php
          // april 2020 : added for https://github.com/presscustomizr/hueman/issues/866
          add_filter( 'max_srcset_image_width', 'hu_limit_srcset_img_width_for_thumb_xxlarge' );
      }

      hu_the_post_thumbnail($image_size, '', false );//no attr and no placeholder
      if( 'thumb-xxlarge' === $image_size ) {
          remove_filter( 'max_srcset_image_width', 'hu_limit_srcset_img_width_for_thumb_xxlarge' );
      }
      ?>
  		<?php
  			$caption = get_post(get_post_thumbnail_id())->post_excerpt;
  			$description = get_post(get_post_thumbnail_id())->post_content;
  			echo '<div class="page-image-text">';
  			if ( isset($caption) && $caption ) echo '<div class="caption">'.$caption.'</div>';
  			if ( isset($description) && $description ) echo '<div class="description"><i>'.$description.'</i></div>';
  			echo '</div>';
  		?>
  	</div>
  </div><!--/.page-image-->
<?php endif; ?>