| Server IP : 198.244.165.102 / Your IP : 216.73.216.218 [ Web Server : nginx/1.24.0 System : Linux modovh-ub-01 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : colleary ( 1011) PHP Version : 8.3.23 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/colleary/public_html/wp-content/themes/realhomes/post-formats/ |
Upload File : |
<?php
if ( has_post_thumbnail() ){
?>
<figure>
<span class="format-icon image"></span>
<?php
if( is_single() ){
$image_id = get_post_thumbnail_id();
$image_url = wp_get_attachment_url($image_id);
?>
<a href="<?php echo esc_url( $image_url ); ?>" class="<?php echo get_lightbox_plugin_class(); ?>" title="<?php the_title(); ?>">
<?php
}else{
?>
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<?php
}
if( is_page_template( 'template-home.php' )){
the_post_thumbnail('gallery-two-column-image');
} else {
the_post_thumbnail('post-featured-image');
}
?>
</a>
</figure>
<?php
} else {
?>
<p></p>
<?php
}
?>