<?php
/**
 * The WooCommerce pages template file.
 * @package RetroTale
 * @since RetroTale 1.0.0
*/
get_header(); ?>
    <div class="content-headline">
      <h1 class="entry-headline"><?php if ( !is_product() ) { woocommerce_page_title(); } else { the_title(); } ?></h1>
<?php retrotale_get_breadcrumb(); ?>
    </div>
    <div class="entry-content">
<?php woocommerce_content(); ?>
    </div>   
  </div> <!-- end of content -->
<?php if ( is_product() ) { ?>
<?php if (get_theme_mod('retrotale_display_sidebar', retrotale_default_options('retrotale_display_sidebar')) != 'Hide') { ?>
<?php get_sidebar(); ?>
<?php }} else { ?>
<?php if (get_theme_mod('retrotale_display_sidebar_archives', retrotale_default_options('retrotale_display_sidebar_archives')) != 'Hide') { ?>
<?php get_sidebar(); ?>
<?php }} ?>
<?php get_footer(); ?>