<?php get_header(); ?>

<section id="content" role="main">

	<div class="container">

		<!-- Breadcrumb -->
		
		<ul class="breadcrumb">
			<?php display_bc($post->post_parent); ?>
		</ul>


		<h2 class="margin-bottom">Store Pages</h2>

		<?php
		
		$args = array(
			'post_type' => 'stores',
			'post_status' => 'publish',
			'posts_per_page' => -1,
			'orderby' => 'title',
			'order' => 'ASC'
		);
		$query = new WP_Query($args);
		
		?>
		<hr class="bd-color-primary margin-top-lg responsive" />
		<ul class="margin-top">
		<?php if ($query->have_posts() ) : while ( $query->have_posts() ) : $query->the_post(); ?>
		<?php $title = get_the_title(); ?>
			<li><a title="Store Landing: <?php echo $title;?>" href="<?php the_permalink(); ?>"><strong><?php echo $title;?></strong></a></li>
		<?php endwhile; endif; ?>
		</ul>
	</div>

</section>

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