AlkantarClanX12

Your IP : 3.143.214.226


Current Path : /home/thanudqk/www/wp-content/themes/thegem/
Upload File :
Current File : /home/thanudqk/www/wp-content/themes/thegem/content.php

<?php if(is_singular()) : ?>
<div class="block-content">
	<div class="container">
<?php endif; ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<div class="row">
		<div class="item-post">
			<?php if (has_post_thumbnail()) : ?>
				<div class="post-image col-md-3">
					<?php thegem_post_thumbnail('medium', false, 'img-responsive'); ?>
				</div>
			<?php endif; ?>
			<div class="post-text col-md-<?php echo has_post_thumbnail() ? 9 : 12; ?>">
				<header class="entry-header">
					<?php if (in_array('category', get_object_taxonomies(get_post_type())) && thegem_categorized_blog()) : ?>

					<?php
					endif;

					if (!is_single()) :
						the_title('<div class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></div>');
					endif;
					?>

					<div class="entry-meta">
						<?php
						if ('post' == get_post_type())
							thegem_posted_on();

						if (!post_password_required() && (comments_open() || get_comments_number())) :
							?>

						<?php
						endif;

						?>
						<?php the_tags('<span class="entry-meta">|<span class="tag-links">', '|', '</span></span>'); ?>

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

				<?php if (is_search()) : ?>
					<div class="entry-summary">
						<?php the_excerpt(); ?>
					</div><!-- .entry-summary -->
				<?php else : ?>
					<div class="entry-content">
						<?php
						the_content(wp_kses(__('Continue reading <span class="meta-nav">&rarr;</span>', 'thegem'), array('span' => array('class' => array()))));
						wp_link_pages(array(
							'before' => '<div class="page-links"><span class="page-links-title">' . esc_html__('Pages:', 'thegem') . '</span>',
							'after' => '</div>',
							'link_before' => '<span>',
							'link_after' => '</span>',
						));
						?>
					</div><!-- .entry-content -->
				<?php endif; ?>
			</div>
		</div>
	</div>
</article><!-- #post-## -->
<?php if(is_singular()) : ?>
	</div>
</div>
<?php endif; ?>