function tm_header_cart()
    {
        ?>
	<div class="header_cart">
		<div class="cart togg">
			<?php 
        global $woocommerce;
        ob_start();
        ?>
						
			<div id="shopping_cart" class="shopping_cart tog" title="<?php 
        _e('View your shopping cart', 'woothemes');
        ?>
">
			<a class="cart-contents" href="<?php 
        echo $woocommerce->cart->get_cart_url();
        ?>
" title="<?php 
        _e('View your shopping cart', 'woothemes');
        ?>
"><?php 
        echo sprintf(_n('%d sản phẩm', '%d sản phẩm', $woocommerce->cart->cart_contents_count, 'templatemela'), $woocommerce->cart->cart_contents_count);
        echo $woocommerce->cart->get_cart_total();
        ?>
  </a>				
			<span class="right-arrow"></span>
			</div>	
			<?php 
        global $woocommerce;
        ?>
			<?php 
        templatemela_get_widget('header-widget');
        ?>
		
		</div>	
	</div>			
<?php 
    }
Esempio n. 2
0
">
  <?php 
if (is_front_page() && templatemela_has_featured_posts()) {
    // Include the featured content template.
    get_template_part('featured-content');
}
?>
  <div id="primary" class="content-area">
    <div id="content" class="site-content" role="main">
      <?php 
// Start the Loop.
while (have_posts()) {
    the_post();
    // Include the page content template.
    get_template_part('content', 'page');
    ?>
      <?php 
}
?>
    </div>
    <!-- #content -->
  </div>
  <!-- #primary -->
  <?php 
get_sidebar();
?>
</div>
<!-- #main-content -->
<?php 
templatemela_get_widget('home-brand-banner');
get_footer();
Esempio n. 3
0
      </div>
	  <div id="fifth" class="fifth-widget footer-widget animated" data-animated="fadeInRight">
    	<?php 
dynamic_sidebar('fifth-footer-widget-area');
?>
  	  </div>
	  
	  <?php 
/*?><div class="footer-payment">
  	<?php templatemela_get_widget('footer-payment'); ?>
  </div><?php */
?>
      <!-- .site-info -->
	  </div>
    </div>
  <!--. Footer inner -->
</footer>
<!-- #colophon -->
<?php 
templatemela_footer_after();
?>
</div>
<!-- #page -->
<?php 
tm_go_top();
if (trim(get_option('tmoption_google_analytics_id')) != '') {
}
templatemela_get_widget('before-end-body-widget');
wp_footer();
?>
</body></html>