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/content-large.php
<?php /* Template for displaying content in MH Posts Large widget and on archives */


$mh_core_customizer = new MH_Core_Customizer();
$mh_options = $mh_core_customizer->mh_theme_options();

 ?>
<article <?php post_class('mh-posts-large-item clearfix'); ?>>
	<figure class="mh-posts-large-thumb">
		<a class="mh-thumb-icon" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php
			if (has_post_thumbnail()) {
				if ($mh_options['sidebars'] === 'disable') {
					the_post_thumbnail('mh-magazine-slider');
				} else {
					the_post_thumbnail('mh-magazine-content');
				}
			} else {
				if ($mh_options['sidebars'] === 'disable') {
					echo '<img class="mh-image-placeholder" src="' . get_template_directory_uri() . '/includes/core/assets/images/placeholder-slider.png' . '" alt="' . esc_html__('No Picture', 'mh-magazine') . '" />';
				} else {
					echo '<img class="mh-image-placeholder" src="' . get_template_directory_uri() . '/includes/core/assets/images/placeholder-content.png' . '" alt="' . esc_html__('No Picture', 'mh-magazine') . '" />';
				}
			} ?>
		</a>
		<?php if (has_category()) { ?>
			<div class="mh-image-caption mh-posts-large-caption">
				<?php $category = get_the_category(); echo esc_attr($category[0]->cat_name); ?>
			</div>
		<?php } ?>
	</figure>
	<div class="mh-posts-large-content clearfix">
		<header class="mh-posts-large-header">
			<h3 class="entry-title mh-posts-large-title">
				<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark">
					<?php the_title(); ?>
				</a>
			</h3>
		   <?php 
		   global $widget_instance, $widget_instance_saved;
		   if (isset($widget_instance) && is_array($widget_instance)) {
		       mh_widget_meta($widget_instance, $widget_instance_saved ?? null);
		   } else {
		       mh_post_meta();
		   }
		   ?>
		</header>
		<div class="mh-posts-large-excerpt clearfix">
			<?php the_excerpt(); ?>
		</div>
	</div>
</article>