• sorry for my bad english ??

    the sidebars are note visible in woocommerce page with the original woocommerce.php

    to have the side bar i have made modification of woocommerce.php code

    <?php
    /**
     * The template for displaying woocommerce archive pages.
     *
     * @package WordPress
     * @subpackage stainedglass
     * @since Stained Glass 1.0.0
     */
    
    get_header();
    ?>
    <div class="main-wrapper woo-shop <?php echo esc_attr(stainedglass_get_theme_mod('layout_page') ); ?> ">
    
    	<div class="site-content">
    <?php
    	if ( have_posts() ) : ?>
    
    		<div class="content"> 
    
    	<?php if ( is_singular() ) : ?>
    			<div class="content-container">
    			<?php endif; ?>
    
    					<?php woocommerce_breadcrumb(); ?>
    					<?php woocommerce_content(); ?>
    					<?php do_action( 'stainedglass_after_content' ); ?>	
    
    			<?php if ( is_singular() ) : ?>
    			</div><!-- .content-container -->
    			<?php endif;
    ?>
    
    		</div><!-- .content -->
    		<div class="clear"></div>	
    
    	<?php
    
    		stainedglass_paging_nav();
    
    	else :
    	?>
    		<div class="content">
    		<?php
    			get_template_part( 'content', 'none' );
    		?>
    
    		</div><!-- .content -->
    	<?php
    	endif;
    ?>
    	</div><!-- .site-content -->
    	<?php
    	stainedglass_get_sidebar( stainedglass_get_theme_mod('layout_page') );
    	?>
    </div> <!-- .woo-shop.main-wrapper -->
    
    <?php
    get_footer();
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello lacenaire,
    Hope you are doing well!

    May i have your site url please?
    Cheers!

    Hey laceinare THAAAAAAAAAAAAAAANK YOUUUUUU!!!!!!!!! you saved my life!!! you are the best!! thanks for sharing the solution to this problem!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘problem of sidebar with woocommerce pages’ is closed to new replies.