Beispiel #1
0
<?php
/**
 * Your Inspiration Themes
 * 
 * @package WordPress
 * @subpackage Your Inspiration Themes
 * @author Your Inspiration Themes Team <*****@*****.**>
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl-3.0.txt
 */
 
wp_reset_query();

do_action( 'yit_before_sidebar_' . sanitize_title( yit_get_choosen_sidebar() ) ) ?>
    <!-- START SIDEBAR -->
    <div id="sidebar-<?php echo sanitize_title( yit_get_choosen_sidebar() ) ?>" class="span3 sidebar group">
        <?php        
        // product detail page box meta
        if ( yit_product_form_position_is('in-sidebar') ) yit_product_single_boxmeta();
        
        if( yit_get_sidebar_layout() != 'sidebar-no' && ( !function_exists( 'dynamic_sidebar' ) || !dynamic_sidebar( yit_get_choosen_sidebar() ) ) )
            { do_action( 'yit_default_sidebar' ); }
        ?>
    </div>
    <!-- END SIDEBAR -->
<?php do_action( 'yit_after_sidebar_' . sanitize_title( yit_get_choosen_sidebar() ) ) ?>
/**
 * woocommerce_single_product_summary hook
 *
 * @hooked woocommerce_template_single_title - 5
 * @hooked woocommerce_template_single_price - 10
 * @hooked woocommerce_template_single_excerpt - 20
 * @hooked woocommerce_template_single_add_to_cart - 30
 * @hooked woocommerce_template_single_meta - 40
 * @hooked woocommerce_template_single_sharing - 50
 */
do_action('woocommerce_single_product_summary');
?>

            <?php 
if (yit_product_form_position_is('in-content')) {
    yit_product_single_boxmeta();
}
?>
    
    	</div><!-- .summary -->
    	<?php 
/**
 * woocommerce_after_single_product_summary hook
 *
 * @hooked woocommerce_output_product_data_tabs - 10
 * @hooked woocommerce_output_related_products - 20
 */
do_action('woocommerce_after_single_product_summary');
?>
    
</div>
    
    		<?php
    			/**
    			 * woocommerce_single_product_summary hook
    			 *
    			 * @hooked woocommerce_template_single_title - 5
                 * @hooked woocommerce_template_single_rating - 10
    			 * @hooked woocommerce_template_single_price - 10
    			 * @hooked woocommerce_template_single_excerpt - 20
    			 * @hooked woocommerce_template_single_add_to_cart - 30
    			 * @hooked woocommerce_template_single_meta - 40
    			 * @hooked woocommerce_template_single_sharing - 50
    			 */
    			do_action( 'woocommerce_single_product_summary' );
    		?>

            <?php if( yit_product_form_position_is('in-content') ) yit_product_single_boxmeta() ?>
    
    	</div><!-- .summary -->
    	<?php
    		/**
    		 * woocommerce_after_single_product_summary hook
    		 *
    		 * @hooked woocommerce_output_product_data_tabs - 10
    		 * @hooked woocommerce_output_related_products - 20
    		 */
    		do_action( 'woocommerce_after_single_product_summary' );
    	?>
    
</div>
<?php do_action( 'woocommerce_after_single_product' ); ?>