<?php
/**
 * Shop sidebar template
 *
 * @package Multi
 */

$heading_style   = 'heading-style-' . multimagazine_heading_style();
$sidebar_classes = array( 'sidebar', $heading_style );
?>

<aside class="<?php echo esc_attr( implode( ' ', $sidebar_classes ) ); ?>">
	<?php
	if ( ! dynamic_sidebar( 'shop' ) ) :
		?>
		<div class="widget">
			<h3><span><?php esc_html_e( 'Pages', 'multimagazine' ); ?></span></h3>
			<ul>
			<?php wp_list_pages( 'title_li=' ); ?>
			</ul>
		</div>
		<div class="widget">
			<h3><span><?php esc_html_e( 'Categories', 'multimagazine' ); ?></span></h3>
			<ul>
			<?php wp_list_categories( 'title_li=' ); ?>
			</ul>
		</div>
		<div class="widget">
			<h3><span><?php esc_html_e( 'Archives', 'multimagazine' ); ?></span></h3>
			<ul>
				<?php wp_get_archives( 'type=monthly' ); ?>
			</ul>
		</div>
	<?php endif; ?>
</aside>
