Guest User

Untitled

a guest
Jan 19th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.00 KB | None | 0 0
  1. <?php get_header('shop'); ?>
  2.      
  3. <?php do_action('woocommerce_before_main_content'); // <div id="container"><div id="content" role="main"> ?>
  4.  
  5.     <?php if ( have_posts() ) while ( have_posts() ) : the_post(); global $_product; $_product = &new woocommerce_product( $post->ID ); ?>
  6.        
  7.         <?php do_action('woocommerce_before_single_product', $post, $_product); ?>
  8.    
  9.         <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  10.            
  11.             <?php do_action('woocommerce_before_single_product_summary', $post, $_product); ?>
  12.            
  13.             <div class="summary">
  14.                
  15.                 <h1 class="product_title page-title"><?php the_title(); ?></h1>
  16.                
  17.                 <?php do_action( 'woocommerce_single_product_summary', $post, $_product ); ?>
  18.    
  19.             </div>
  20.            
  21.             <?php do_action('woocommerce_after_single_product_summary', $post, $_product); ?>
  22.    
  23.         </div>
  24.            
  25.         <?php do_action('woocommerce_after_single_product', $post, $_product); ?>
  26.    
  27.     <?php endwhile; ?>
  28.  
  29.  
  30.  
  31. <?php do_action('woocommerce_sidebar'); ?>
  32.  
  33. <?php get_footer('shop'); ?>
Add Comment
Please, Sign In to add comment