/home/bonphmya/topcontenedor.com/wp-content/themes/digitaz/dokan/store-toc.php
<?php
/**
* The Template for displaying all reviews.
*
* @package dokan
* @package dokan - 2014 1.0
*/
$vendor = dokan()->vendor->get(get_query_var('author'));
$vendor_info = $vendor->get_shop_info();
$map_location = $vendor->get_location();
$store_user = get_userdata(get_query_var('author'));
$store_info = dokan_get_store_info($store_user->ID);
$layout = get_theme_mod('store_layout', 'left');
get_header('shop');
?>
<div class="dokan-store-wrap layout-<?php echo esc_attr($layout); ?>">
<?php if ('left' === $layout) { ?>
<?php dokan_get_template_part('store', 'sidebar', array('store_user' => $store_user, 'store_info' => $store_info, 'map_location' => $map_location)); ?>
<?php } ?>
<div id="primary" class="content-area dokan-single-store">
<div id="dokan-content" class="site-content store-review-wrap woocommerce" role="main">
<?php dokan_get_template_part('store-header'); ?>
<div id="store-toc-wrapper">
<div id="store-toc">
<?php
if (!empty($vendor->get_store_tnc())):
?>
<h2 class="headline"><?php esc_html_e('Terms And Conditions', 'digitaz'); ?></h2>
<div>
<?php
echo wp_kses_post(nl2br($vendor->get_store_tnc()));
?>
</div>
<?php
endif;
?>
</div><!-- #store-toc -->
</div><!-- #store-toc-wrap -->
</div><!-- #content .site-content -->
</div><!-- #primary .content-area -->
<div class="dokan-clearfix"></div>
<?php if ('right' === $layout) { ?>
<?php dokan_get_template_part('store', 'sidebar', array('store_user' => $store_user, 'store_info' => $store_info, 'map_location' => $map_location)); ?>
<?php } ?>
</div><!-- .dokan-store-wrap -->
<?php get_footer(); ?>