コード例 #1
0
 */
do_action('woocommerce_before_single_product_summary');
?>

          </div><!-- end large-6 - product-gallery -->
        
        <div class="product-info large-6 small-12 columns left">
                
                <div class="next-prev-nav">
                    <?php 
// edit this in inc/template-tags.php //
?>

       
                    <?php 
next_post_link_product();
?>

                    <?php 
previous_post_link_product();
?>

                </div>
                <?php 
/**
 * woocommerce_single_product_summary hook
 *
 * @hooked woocommerce_template_single_title - 5
 * @hooked woocommerce_template_single_price - 10
 * @hooked ProductShowReviews() (inc/template-tags.php) - 15
 * @hooked woocommerce_template_single_excerpt - 20
コード例 #2
0
 * @hooked woocommerce_template_single_meta - 40
 * @hooked woocommerce_template_single_sharing - 50
 */
do_action('woocommerce_single_product_summary');
?>
        
        </div><!-- end product-info large-4 -->

<div class="product-page-aside large-2 small-12 columns text-center hide-for-small">
    
    <div class="next-prev-nav">
        <?php 
// edit this in inc/template-tags.php //
?>
        <?php 
next_post_link_product('%link', 'icon-angle-left next', true);
?>
        <?php 
previous_post_link_product('%link', 'icon-angle-right prev', true);
?>
    </div>

     <?php 
woocommerce_get_template('single-product/up-sells.php');
?>
 

</div><!-- .product-page-aside -->
     
        
</div><!-- end row -->
コード例 #3
0
do_action('woocommerce_before_main_content');
?>

    <div class="product-title-wrapper">
        <div class="container">
            <div class="row cg-back-to-prev-wrap">
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <span class="cg-back-to-prev"><a class="cg-back-to" href="javascript: history.go(-1)"><span>‹</span> <?php 
_e('Back to previous page', 'commercegurus');
?>
</a></span>
                </div>
                <div class="col-lg-6 col-md-6 col-sm-6">
                    <div class="next-prev-nav">
                        <?php 
next_post_link_product('%link', 'next-product', true);
?>
                        <?php 
previous_post_link_product('%link', 'prev-product', true);
?>
                    </div>
                </div>
            </div>
        </div>
    </div><!--/product-title-wrapper -->

    <div class="row cg-product-detail">
        <div class="container">
            <div class="col-lg-12">

                <?php