HEX
Server: Apache
System: Linux srv13.cpanelhost.cl 3.10.0-962.3.2.lve1.5.38.el7.x86_64 #1 SMP Thu Jun 18 05:28:41 EDT 2020 x86_64
User: cca63905 (4205)
PHP: 7.3.20
Disabled: NONE
Upload Files
File: /home4/cca63905/.trash/wp-content/themes/accesspress-store/content-single.php
<?php
/**
 * @package AccessPress Root
 */
?>
<?php 
$show_img = get_theme_mod('ap_store_post_feat_img',1);
$show_cat = get_theme_mod('ap_store_post_cat',1); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	
	<div class="entry-content">
		<?php if($show_img){ ?>
			<?php if(has_post_thumbnail()): ?>
				<div class="post-thumbnail">
					<?php the_post_thumbnail('accesspress-blog-big-thumbnail'); ?>
				</div>
			<?php endif; ?>
		<?php } ?>
		<?php if($show_cat){ ?>
		<span class="cat-name"><?php $category = get_the_category(); echo esc_html($category[0]->cat_name); ?></span>
		<?php } ?>
		<h2 class="post-title"><?php the_title();?></h2>		
        <p class="meta-info">
            <?php echo esc_html__('Posted On', 'accesspress-store'); ?> 
            <?php the_time('F j, Y'); ?> 
            <?php echo esc_html__('at', 'accesspress-store'); ?>
            <?php the_time('g:i a'); ?> 
            <?php echo esc_html__('by', 'accesspress-store'); ?>
			<?php the_author_posts_link(); ?> /  <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>
        </p>
		<div class="content-page">
		  <?php the_content(); ?>
        </div>
		<?php
			wp_link_pages( array(
				'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'accesspress-store' ),
				'after'  => '</div>',
			) );
		?>
	</div><!-- .entry-content -->
	
</article><!-- #post-## -->