HEX
Server: LiteSpeed
System: Linux node612.namehero.net 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: dfwparty (1186)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home/dfwparty/bizcoach.biz/wp-content/themes/mh-magazine/image.php
<?php /* The template for displaying image attachments. */ ?>
<?php 
get_header();
?>
<div class="mh-wrapper clearfix">
	<div class="mh-main clearfix">
		<div id="main-content" class="mh-content" role="main"><?php
			while (have_posts()) : the_post();
				mh_before_post_content(); ?>
				<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
					<header class="entry-header">
						<?php the_title('<h1 class="entry-title">', '</h1>'); ?>
					</header>
					<figure class="entry-thumbnail">
						<a href="<?php echo esc_url(wp_get_attachment_url($post->id)); ?>" title="<?php the_title_attribute(); ?>" rel="attachment" target="_blank">
							<?php echo wp_get_attachment_image(
								$post->id, 
								'full', 
								false, 
								array(
									'class' => 'attachment-full',
									'title' => get_the_title(),
									'alt'   => get_post_meta($post->id, '_wp_attachment_image_alt', true) ?: get_the_title()
								)
							); ?>
						</a>
						<?php if (has_excerpt()) { ?>
							<figcaption class="mh-attachment-excerpt wp-caption-text">
								<?php the_excerpt(); ?>
							</figcaption>
						<?php } ?>
					</figure>
					<?php if ($post->post_content != '') { ?>
						<div class="mh-attachment-content entry-content clearfix">
							<?php the_content(); ?>
						</div>
					<?php } ?>
				</article><?php

			   mh_author_box();
			   mh_postnav();
			   mh_related_content();
				mh_after_post_content();
				comments_template();
			endwhile; ?>
		</div>
		<?php get_sidebar(); ?>
	</div>
	<?php mh_second_sidebar(); ?>
</div>
<?php get_footer(); ?>