<?php
/**
 * Template Name: Sidebar Right
 * Template Post Type: page
 *
 * Template for displaying a right sidebar 
 *
 * @package luxuryconceptfree
 *
 *
 */

 get_header(); ?>

    <main id="content" class="main-content">	

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

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

					<h1 class=""><?php the_title(); ?></h1>

						<?php if ( has_post_thumbnail() ) { ?>
		     			  <?php the_post_thumbnail('luxuryconceptfree_single', array('class' => '','alt'	=> get_the_title())); ?>
		      			<?php } ?>

					<div class="text-content">
		      			<?php the_content(esc_html__('Read More...', 'luxuryconceptfree'));?>
					</div>			

			</article>			

		<?php endwhile; ?>
        <?php else : ?>
					
               		 <p><?php esc_html_e('Sorry, no posts matched your criteria.', 'luxuryconceptfree'); ?></p>
					
        <?php endif; ?>
	</main>
	  
    <div class="primary-sidebar"><?php get_sidebar( 'primary' ); ?></div>	

<?php get_footer(); ?>