<?php
/**
 * The template for displaying Archive pages.
 *
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package sparkling
 */

get_header(); ?>

	<section id="primary" class="content-area my-product-main">
		<main id="main" class="site-main" role="main">

		<?php if ( have_posts() ) : ?>

			<div class="container">
	          <div class="row">
	            <div class="breadcrumbs">
	              <?php if(function_exists('bcn_display'))
	              {
	                bcn_display();
	              }?>
	            </div>
	          </div>
	        </div>


			<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	          <?php //the_post_thumbnail( 'sparkling-featured', array( 'class' => 'single-featured' )); ?>
				<div class="post-inner-content">
					<div class="container">
						<section class="custom-product-container custom-category-list">

							<div class="page-left my-new-left">
								<h3>News Release</h3>
								<h6>view by category</h6>
								<?php 
									echo do_shortcode ('[wpb_category_accordion taxonomy="news-type" orderby="id" order="ASC" show_count="no" hide_empty="no"]');
								 ?>
								<div style="height: 50px; clear:both;"></div>
							</div>

							<div class="right-content">
								<h1 class="my-page-title">
									<span class="my-title">News Release</span>
									<span class="my-deco"></span>
								</h1>

								<?php
									echo do_shortcode( "[news_list]");
								?>


							</div>
						</section>
					</div>
				</div>
			</article>

			<?php //sparkling_paging_nav(); ?>

		<?php else : ?>

			<?php get_template_part( 'content', 'none' ); ?>

		<?php endif; ?>

		</main><!-- #main -->
	</section><!-- #primary -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>