HOME


Mini Shell 1.0
DIR: /home/depancom/www/depancomblogus/wp-content/themes/beautyspot/
Upload File :
Current File : /home/depancom/www/depancomblogus/wp-content/themes/beautyspot/single-lsvr_service.php
<?php get_header(); ?>

<?php // Page header
get_template_part( 'template-parts/page-header' ); ?>

<?php // Main begin
get_template_part( 'template-parts/main-begin' ); ?>

<!-- POST SINGLE : begin -->
<div class="lsvr_service-post-page post-single lsvr_service-post-single">

	<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

		<!-- POST : begin -->
		<article <?php post_class( 'post' ); ?>>
			<div class="post__inner">

				<?php if ( ! empty( get_post()->post_content ) ) : ?>

					<!-- POST CONTENT : begin -->
					<div class="post__content">
						<?php the_content(); ?>
					</div>
					<!-- POST CONTENT : end -->

				<?php endif; ?>

				<?php // Service gallery
				get_template_part( 'template-parts/lsvr_service/single-images' ); ?>

				<?php if ( true === get_theme_mod( 'lsvr_service_single_post_categories_enable', true ) && true === lsvr_beautyspot_has_post_terms( get_the_ID(), 'lsvr_service_cat' ) ||
					( true === lsvr_beautyspot_has_post_terms( get_the_ID(), 'lsvr_service_tag' ) ) ) : ?>

					<!-- POST FOOTER : begin -->
					<footer class="post__footer">

						<?php if ( true === get_theme_mod( 'lsvr_service_single_post_categories_enable', true )
							&& true === lsvr_beautyspot_has_post_terms( get_the_ID(), 'lsvr_service_cat' ) ) : ?>

							<!-- POST META : begin -->
							<p class="post__meta">

								<?php if ( true === lsvr_beautyspot_has_post_terms( get_the_ID(), 'lsvr_service_cat' ) ) : ?>

									<span class="post__meta-categories"><?php lsvr_beautyspot_the_post_terms( get_the_ID(), 'lsvr_service_cat', esc_html__( 'in %s', 'beautyspot' ) ); ?></span>

								<?php endif; ?>

							</p>
							<!-- POST META : end -->

						<?php endif; ?>

						<?php if ( true === lsvr_beautyspot_has_post_terms( get_the_ID(), 'lsvr_service_tag' ) ) : ?>

							<!-- POST TAGS : begin -->
							<div class="post__tags">
								<h6 class="screen-reader-text"><?php esc_html_e( 'Tags:', 'beautyspot' ); ?></h6>
								<?php lsvr_beautyspot_the_post_terms( get_the_ID(), 'lsvr_service_tag', '%s', '' ); ?>
							</div>
							<!-- POST TAGS : end -->

						<?php endif; ?>

					</footer>
					<!-- POST FOOTER : end -->

				<?php endif; ?>

				<?php // Add custom code at post bottom
				do_action( 'lsvr_beautyspot_service_single_bottom' ); ?>

			</div>
		</article>
		<!-- POST : end -->

		<?php // Post navigation
		get_template_part( 'template-parts/single-navigation' ); ?>

	<?php endwhile; endif; ?>

</div>
<!-- POST SINGLE : end -->

<?php // Main end
get_template_part( 'template-parts/main-end' ); ?>

<?php get_footer(); ?>