コード例 #1
0
					</ul>
				</div>							
			</div>
		</div>
		<?php 
    if ($show) {
        echo ob_get_clean();
    } else {
        ob_end_clean();
    }
    $shop = ThemexUser::getShop($post->post_author);
    if (!empty($shop)) {
        ThemexShop::refresh($shop);
        get_template_part('module', 'shop');
    }
    ThemexSidebar::renderSidebar('product');
    ?>
	</aside>
	<div class="item-full column eightcol last">
		<?php 
    do_action('woocommerce_single_product_summary');
    ?>
	</div>
	<div class="clear"></div>
	<?php 
    do_action('woocommerce_after_single_product_summary');
    ?>
	<meta itemprop="url" content="<?php 
    the_permalink();
    ?>
" />
コード例 #2
0
    _e('Pages', 'makery');
    ?>
</h4>
	</div>
	<ul>
		<?php 
    if (!empty(ThemexShop::$data['profile']['about'])) {
        ?>
		<li><a href="#about_page" class="element-colorbox"><?php 
        _e('About Shop', 'makery');
        ?>
</a></li>
		<?php 
    }
    ?>
		<?php 
    if (!empty(ThemexShop::$data['profile']['policy'])) {
        ?>
		<li><a href="#policy_page" class="element-colorbox"><?php 
        _e('Shop Policies', 'makery');
        ?>
</a></li>
		<?php 
    }
    ?>
	</ul>		
</div>
<?php 
}
ThemexSidebar::renderSidebar('shop');
コード例 #3
0
 /**
  * Refreshes module data
  *
  * @access public
  * @return void
  */
 public static function refresh()
 {
     self::$data = (array) ThemexCore::getOption(__CLASS__);
 }
コード例 #4
0
		<?php 
    do_action('woocommerce_after_shop_loop');
    ?>
	<?php 
} else {
    if (!woocommerce_product_subcategories(array('before' => woocommerce_product_loop_start(false), 'after' => woocommerce_product_loop_end(false)))) {
        ?>
		<?php 
        wc_get_template('loop/no-products-found.php');
        ?>
	<?php 
    }
}
?>
	<?php 
do_action('woocommerce_after_main_content');
?>
</div>
<?php 
if ($layout == 'right') {
    ?>
<aside class="column fourcol last">
	<?php 
    ThemexSidebar::renderSidebar('products', true);
    ?>
</aside>
<?php 
}
if (!isset($woocommerce_loop['single'])) {
    get_footer('shop');
}
コード例 #5
0
ファイル: template-shops.php プロジェクト: qhuit/UrbanPekor
col <?php 
    echo $counter == $columns ? 'last' : '';
    ?>
">
			<?php 
    get_template_part('content', 'shop');
    ?>
		</div>
		<?php 
    if ($counter == $columns) {
        $counter = 0;
        echo '<div class="clear"></div>';
    }
}
?>
	</div>
	<?php 
ThemexInterface::renderPagination();
?>
</div>
<?php 
if ($layout == 'right') {
    ?>
<aside class="sidebar column fourcol last">
	<?php 
    ThemexSidebar::renderSidebar('shops', true);
    ?>
</aside>
<?php 
}
get_footer();
コード例 #6
0
ファイル: sidebar.php プロジェクト: rinodung/wordpress-demo
<?php

ThemexSidebar::renderData();
コード例 #7
0
<aside class="column fourcol last">	
	<?php 
ThemexShop::refresh(ThemexUser::$data['active']['shop'], true);
if (!ThemexCore::checkOption('shop_multiple') && ThemexShop::$data['status'] == 'publish') {
    get_template_part('module', 'shop');
}
if (!empty(ThemexShop::$data['reviews'])) {
    get_template_part('module', 'reviews');
}
if (!ThemexCore::checkOption('product_favorites')) {
    get_template_part('module', 'favorites');
}
if (ThemexUser::isProfile() && !ThemexCore::checkOption('shop_favorites')) {
    get_template_part('module', 'updates');
}
if (!ThemexCore::checkOption('shop_multiple') && ThemexShop::$data['status'] != 'publish') {
    get_template_part('module', 'shop');
}
ThemexSidebar::renderSidebar('profile');
?>
</aside>
コード例 #8
0
ファイル: sidebar.php プロジェクト: qhuit/UrbanPekor
<?php

ThemexSidebar::renderSidebar();