HEX
Server: Apache/2.4.54 (Debian)
System: Linux f988254d8f22 6.8.0-87-generic #88~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 14 14:03:14 UTC 2 x86_64
User: (1000)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/themes/hitmag-pro/template-parts/content-single-template-4.php
<?php
/**
 * Template part for displaying posts
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package HitMag Pro
 */ 

?>

<article id="post-<?php the_ID(); ?>" <?php post_class('hitmag-single'); ?>>

	<?php do_action( 'hitmag_inside_single_top' ); ?>

	<header class="entry-header">
		<?php

			hitmag_pro_category_list();

			the_title( '<h1 class="entry-title">', '</h1>' );

		if ( 'post' === get_post_type() ) : ?>
		<div class="entry-meta">
			<?php hitmag_pro_posted_on(); ?>
			<?php
				$post_view_count = hitmag_pro_post_view_count( $post->ID );
				if ( ! empty( $post_view_count ) ) { ?>

					<span class="hm-post-views">
						<i class="fa fa-eye"></i><?php echo esc_html( $post_view_count ); ?>
					</span>

			<?php } ?>

		</div><!-- .entry-meta -->
		<?php
		endif; 

		if ( true == get_theme_mod( 'sharing_on_header', true ) ) :
			echo hitmag_pro_social_sharing_buttons(); 
		endif;

		?>

	</header><!-- .entry-header -->

	<?php do_action( 'hitmag_before_single_post_content' ); ?>

	<div class="entry-content">
		<?php
			the_content( sprintf(
				/* translators: %s: Name of current post. */
				wp_kses( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'hitmag-pro' ), array( 'span' => array( 'class' => array() ) ) ),
				the_title( '<span class="screen-reader-text">"', '"</span>', false )
			) );

			wp_link_pages( array(
				'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'hitmag-pro' ),
				'after'  => '</div>',
			) );
		?>
	</div><!-- .entry-content -->

	<?php do_action( 'hitmag_after_single_post_content' ); ?>

	<footer class="entry-footer">
		<?php 
			hitmag_pro_entry_footer(); 
			if ( true == get_theme_mod( 'sharing_on_footer', true ) ) :
				echo hitmag_pro_social_sharing_buttons(); 
			endif;
		?>
	</footer><!-- .entry-footer -->

	<?php do_action( 'hitmag_inside_single_bottom' ); ?>
	
</article><!-- #post-## -->