
<!-- - - - - - - - - - - - - Breadcrumbs - - - - - - - - - - - - - -->

<?php if (mad_custom_get_option('page_breadcrumbs') == 'yes'): ?>

	<?php $mad_breadcrumb = rwmb_meta('mad_breadcrumb'); ?>

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

		<?php if ($mad_breadcrumb == 'breadcrumb'): ?>

			<div class="breadcrumbs">
				<div class="container">
					<div class="mad-breadcrumbs">
						<?php echo mad_breadcrumbs(array(
							'separator' => '<i class="fa fa-angle-right"></i>'
						)); ?>
					</div>
				</div><!--/ .container-->
			</div><!--/ .breadcrumbs-->

		<?php endif; ?>

	<?php else: ?>

		<?php if (is_post_type_archive('product')): ?>

			<?php if ($mad_breadcrumb == 'breadcrumb'): ?>

			<div class="breadcrumbs">
				<div class="container">
					<div class="mad-breadcrumbs">
						<?php woocommerce_breadcrumb(array(
							'delimiter' => '<i class="fa fa-angle-right"></i>'
						)); ?>
					</div>
				</div><!--/ .container-->
			</div><!--/ .breadcrumbs-->

			<?php endif; ?>

		<?php else : ?>

			<?php if ($mad_breadcrumb == 'breadcrumb'): ?>

			<div class="breadcrumbs">
				<div class="container">
					<div class="mad-breadcrumbs">
						<?php echo mad_breadcrumbs(array(
							'separator' => '<i class="fa fa-angle-right"></i>'
						)); ?>
					</div>
				</div><!--/ .container-->
			</div><!--/ .breadcrumbs-->

			<?php endif; ?>

		<?php endif; ?>

	<?php endif; ?>

<?php endif; ?>

<!-- - - - - - - - - - - - - / Breadcrumbs - - - - - - - - - - - - -->