<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>No sidebar in woocommerce &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/feed/</link>
		<description></description>
		<lastBuildDate>Sun, 26 Oct 2025 22:14:35 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-164287</guid>
					<title><![CDATA[No sidebar in woocommerce]]></title>
					<link>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-164287</link>
					<pubDate>Sun, 14 Dec 2014 12:10:32 +0000</pubDate>
					<dc:creator>Felix M</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>I am currently setting up a corporate website and try to make use of woocommerce for presenting the company&#8217;s product portfolio. For this purpose I want to apply some of the woocommerce widgets (like categories, layered navigation, &#8230;) for navigating through the products. However, so far I had no luck in getting WordPress to show the sidebar I set up for this purpose.</p>
<p>I am using the the Renew stack, created a new sidebar, added the different widgets and activated the checkbox &#8220;Enable sidebar on shop index page&#8221; in the sidebar&#8217;s settings. But no sidebar on the store frontend &#8211; neither on the shop page nor on any category page.</p>
<p>Any suggestions what I could do differently?</p>
<p>Sorry for not being able to present a link to the website since it is developed behind a corporate firewall.</p>
<p>Best, thanks,</p>
<p>Felix</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-164521</guid>
					<title><![CDATA[Reply To: No sidebar in woocommerce]]></title>
					<link>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-164521</link>
					<pubDate>Mon, 15 Dec 2014 05:20:47 +0000</pubDate>
					<dc:creator>Paul R</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Felix,</p>
<p>Thanks for writing in!</p>
<p>You can select a layout with a sidebar for your global content layout.</p>
<p><a href="http://screencast.com/t/lVBJDFn9sun" rel="nofollow">http://screencast.com/t/lVBJDFn9sun</a></p>
<p>You can then set your shop page to use it.</p>
<p><a href="http://screencast.com/t/YaPiocfA" rel="nofollow">http://screencast.com/t/YaPiocfA</a></p>
<p>and also set your blog and archives to global content to have a sidebar.</p>
<p><a href="http://screencast.com/t/gOFXURnCp6D" rel="nofollow">http://screencast.com/t/gOFXURnCp6D</a></p>
<p>&#8212;-</p>
<p>Or you can also set the page layout for your page individually under page attributes.</p>
<p><a href="http://screencast.com/t/Sv26DDoSq9I" rel="nofollow">http://screencast.com/t/Sv26DDoSq9I</a></p>
<p>Hope this helps. 🙂</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-164569</guid>
					<title><![CDATA[Reply To: No sidebar in woocommerce]]></title>
					<link>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-164569</link>
					<pubDate>Mon, 15 Dec 2014 08:19:00 +0000</pubDate>
					<dc:creator>Felix M</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>thanks for your feedback. Highly appreciated. </p>
<p>I should have mentioned that I had already tried to adjust the page layout of the shop page but this also did not work. What worked was to change the global page layout from full width to sidebar left. The only downside is that I now have to individually change the page layout of all of my content pages. But at least this fixes the problem.</p>
<p>Am I right that this is a bug of the template? You should be able to adjust the page layout for the shop page individually, right?</p>
<p>Best<br />
Felix</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-164733</guid>
					<title><![CDATA[Reply To: No sidebar in woocommerce]]></title>
					<link>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-164733</link>
					<pubDate>Mon, 15 Dec 2014 13:40:41 +0000</pubDate>
					<dc:creator>Paul R</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Felix,</p>
<p>Can you provide us your site url so we can see your current set-up and provide you with a more accurate<br />
suggestion or solution.</p>
<p>Yes it should adjust the page layout by setting it individually under page attributes.<br />
However I would not consider this a bug because I have tested this kind of set-up and is working just fine in my local test site.</p>
<p>Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:</p>
<p>&#8211; Link to your site<br />
&#8211; WordPress Admin username / password<br />
&#8211; FTP credentials</p>
<p><strong>Don&#8217;t forget to select Set as private reply. This ensures your information is only visible to our staff. </strong></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-165719</guid>
					<title><![CDATA[Reply To: No sidebar in woocommerce]]></title>
					<link>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-165719</link>
					<pubDate>Tue, 16 Dec 2014 18:04:27 +0000</pubDate>
					<dc:creator>Felix M</dc:creator>

					<description>
						<![CDATA[
						This reply has been marked as private.						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-165953</guid>
					<title><![CDATA[Reply To: No sidebar in woocommerce]]></title>
					<link>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-165953</link>
					<pubDate>Wed, 17 Dec 2014 00:34:34 +0000</pubDate>
					<dc:creator>Christian</dc:creator>

					<description>
						<![CDATA[
						<p>Hey Felix,</p>
<p>Please add the code below in your functions.php</p>
<pre><code>function x_get_content_layout() {

  $stack          = x_get_stack();
  $content_layout = x_get_option( &#039;x_&#039; . $stack . &#039;_layout_content&#039;, &#039;content-sidebar&#039; );

  if ( $content_layout != &#039;full-width&#039; ) {
    if ( is_home() ) {
      $opt    = x_get_option( &#039;x_blog_layout&#039;, &#039;sidebar&#039; );
      $layout = ( $opt == &#039;sidebar&#039; ) ? $content_layout : $opt;
    } elseif ( is_singular( &#039;post&#039; ) ) {
      $meta   = get_post_meta( get_the_ID(), &#039;_x_post_layout&#039;, true );
      $layout = ( $meta == &#039;on&#039; ) ? &#039;full-width&#039; : $content_layout;
    } elseif ( x_is_portfolio_item() ) {
      $layout = &#039;full-width&#039;;
    } elseif ( x_is_portfolio() ) {
      $meta   = get_post_meta( get_the_ID(), &#039;_x_portfolio_layout&#039;, true );
      $layout = ( $meta == &#039;sidebar&#039; ) ? $content_layout : $meta;
    } elseif ( is_archive() ) {
      if ( x_is_shop() || x_is_product_category() || x_is_product_tag() || x_is_product()  ) {
        $opt    = x_get_option( &#039;x_woocommerce_shop_layout_content&#039;, &#039;sidebar&#039; );
        $layout = ( $opt == &#039;sidebar&#039; ) ? $content_layout : $opt;
      } else {
        $opt    = x_get_option( &#039;x_archive_layout&#039;, &#039;sidebar&#039; );
        $layout = ( $opt == &#039;sidebar&#039; ) ? $content_layout : $opt;
      }
   
    } elseif ( x_is_buddypress() ) {
      $opt    = x_get_option( &#039;x_buddypress_layout_content&#039;, &#039;sidebar&#039; );
      $layout = ( $opt == &#039;sidebar&#039; ) ? $content_layout : $opt;
    } elseif ( is_404() ) {
      $layout = &#039;full-width&#039;;
    } else {
      $layout = $content_layout;
    }
  } else {
    $layout = $content_layout;
  }
  
    if ( is_page_template( &#039;template-layout-content-sidebar.php&#039; ) ) {
      $layout = &#039;content-sidebar&#039;;
    } elseif ( is_page_template( &#039;template-layout-sidebar-content.php&#039; ) ) {
      $layout = &#039;sidebar-content&#039;;
    } elseif ( is_page_template( &#039;template-layout-full-width.php&#039; ) ) {
      $layout = &#039;full-width&#039;;
    }

  return $layout;

}</code></pre>
<p>Hope that helps. 🙂</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-166162</guid>
					<title><![CDATA[Reply To: No sidebar in woocommerce]]></title>
					<link>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-166162</link>
					<pubDate>Wed, 17 Dec 2014 08:22:55 +0000</pubDate>
					<dc:creator>Felix M</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>thanks for your quick reply but sadly this does not fix the problem. In fact I cannot see any difference.</p>
<p>What I am looking for is to set the layout of the woocommerce shop, product_tag, and product_category pages to sidebar left although I close a full width layout for the rest of the site.</p>
<p>For me the most natural place to search for such an option is in the customizer. In the &#8220;WooCommerce&#8221; section you can select a &#8216;Shop Layout&#8217;. However, the user can only choose between &#8220;Use Global Content Layout&#8221; and &#8220;Fullwidth&#8221;. What is missing are the options &#8220;Content right, Sidebar left&#8221; and &#8220;Content left, Sidebar right&#8221;.</p>
<p>Another way to possibly achieve this is by setting individual page layouts for the pages that are used for shop, product_categoy, and procduct_tag. And I guess this is the approach your functions.php code tackles, right? However I am not 100% sure which pages to adjust. In the woocommerce settings I point woocommerce to a specific page to show the shop. Is this page also used for displaying the categories and tags? I also set up a sidebar for which I enabled the option &#8220;Enable sidebar on shop index page&#8221;. But there is no sidebar if I have set the global layout to fullwidth.</p>
<p>Anny suggestions how to proceed with this issue?</p>
<p>Btw., great template and awesome support!</p>
<p>Best<br />
Felix</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-166404</guid>
					<title><![CDATA[Reply To: No sidebar in woocommerce]]></title>
					<link>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-166404</link>
					<pubDate>Wed, 17 Dec 2014 15:08:22 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Felix,</p>
<p>Thanks for writing in!</p>
<p>It can be achieved by template change, to do so, follow these instructions:</p>
<p><strong>Step 1:</strong> Copy the file <strong>wp-content/themes/x/framework/views/renew/wp-sidebar.php</strong> in your child theme&#8217;s folder <strong>/framework/views/renew/</strong>, open it in a text editor and replace the following line of code (probably line # 11):</p>
<pre><code>&lt;?php if ( x_get_content_layout() != &#039;full-width&#039; ) : ?&gt;
</code></pre>
<p>Width following:</p>
<pre><code>&lt;?php if ( x_get_content_layout() != &#039;full-width&#039; || ( is_shop() || is_product_category() || is_product_tag() ) ) : ?&gt;
</code></pre>
<p><strong>Step 2:</strong> Add following code in your child theme&#8217;s <strong>functions.php</strong> file:</p>
<pre><code>// Main Content Class
// =============================================================================

if ( ! function_exists( &#039;x_main_content_class&#039; ) ) :
  function x_main_content_class() {

    switch ( x_get_content_layout() ) {
      case &#039;content-sidebar&#039; :
        $output = &#039;x-main left&#039;;
        break;
      case &#039;sidebar-content&#039; :
        $output = &#039;x-main right&#039;;
        break;
      case &#039;full-width&#039; :
        $output = &#039;x-main full&#039;;
        break;
    }

    if ( is_shop() || is_product_category() || is_product_tag() ) {
      $output = &#039;x-main left&#039;;
    }

    echo $output;

  }
  add_action( &#039;customize_save&#039;, &#039;x_main_content_class&#039; );
endif;

// Sidebar Class
// =============================================================================

if ( ! function_exists( &#039;x_sidebar_class&#039; ) ) :
  function x_sidebar_class() {

    switch ( x_get_content_layout() ) {
      case &#039;content-sidebar&#039; :
        $output = &#039;x-sidebar right&#039;;
        break;
      case &#039;sidebar-content&#039; :
        $output = &#039;x-sidebar left&#039;;
        break;
      default :
        $output = &#039;x-sidebar right&#039;;
    }

    if ( is_shop() || is_product_category() || is_product_tag() ) {
      $output = &#039;x-sidebar right&#039;;
    }

    echo $output;

  }
  add_action( &#039;customize_save&#039;, &#039;x_sidebar_class&#039; );
endif;
</code></pre>
<p><strong>Step 3:</strong> That&#8217;s it!</p>
<p>Now, no matter which layout you choose in the Customizer, the sidebar will always be visible on Shop index, category and tag archive pages (Content Left, Sidebar Right).</p>
<p>Hope this helps. 🙂</p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-166611</guid>
					<title><![CDATA[Reply To: No sidebar in woocommerce]]></title>
					<link>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-166611</link>
					<pubDate>Wed, 17 Dec 2014 20:33:05 +0000</pubDate>
					<dc:creator>Felix M</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>thanks again for helping me tackling this nasty issue.</p>
<p>After inserting your code some space is &#8220;reserved&#8221; for a sidebar on the shop pages. However, no sidebar is visible. Moreover, the main menue is now broken on the shop pages. The nabber is visible but the submenue items are invisible when overing over the navbar.</p>
<p>Any idea how to fix this?</p>
<p>Thanks again</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-166917</guid>
					<title><![CDATA[Reply To: No sidebar in woocommerce]]></title>
					<link>https://theme.co/archive/forums/topic/no-sidebar-in-woocommerce/#post-166917</link>
					<pubDate>Thu, 18 Dec 2014 10:02:23 +0000</pubDate>
					<dc:creator>Paul R</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Felix,</p>
<p>In that case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:</p>
<p>&#8211; FTP credentials</p>
<p><strong>Don&#8217;t forget to select Set as private reply. This ensures your information is only visible to our staff. </strong></p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

