<?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>Adding Sidebar to single portfolio page/post &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 18 Oct 2025 16:48:29 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-124165</guid>
					<title><![CDATA[Adding Sidebar to single portfolio page/post]]></title>
					<link>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-124165</link>
					<pubDate>Mon, 13 Oct 2014 12:22:52 +0000</pubDate>
					<dc:creator>Sohrab G</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>I have checked the forum, I have seen a thread on how to add a sidebar with portfolio items listed (#91697). This one works but it displays the same thumbnails on all portfolio items. Is there anything I can add to the query filter to have is display specific categories?</p>
<p>Or</p>
<p>I was wondering if there is a way to add a normal sidebar to single portfolio items which is controlled from the WP Widgets area. So basically, having a normal widgetised sidebar on single portfolio.</p>
<p>How would I go about doing that please?</p>
<p>Cheers,</p>
<p>S</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-124347</guid>
					<title><![CDATA[Reply To: Adding Sidebar to single portfolio page/post]]></title>
					<link>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-124347</link>
					<pubDate>Mon, 13 Oct 2014 15:40:55 +0000</pubDate>
					<dc:creator>Kosher K</dc:creator>

					<description>
						<![CDATA[
						<p>Hi There,</p>
<p>To enable sidebar in Portfolio item,</p>
<p>You need to make sure you use and activate a child theme,</p>
<p>then copy both of these file to your child theme.</p>
<p><strong>x/framework/views/[your-stack]/wp-sidebar.php</strong><br />
<strong>x/framework/views/[your-stack]/wp-single-x-portfolio.php</strong></p>
<p>edit <strong>x-child-[your-stack]/framework/views/[your-stack]/wp-sidebar.php</strong> (the one you copied to your child theme)</p>
<p>At the very top, you&#8217;ll see this code <code>&lt;?php if ( x_get_content_layout() != &#039;full-width&#039; ) : ?&gt;</code></p>
<p>change it to <code>&lt;?php if ( x_get_content_layout() != &#039;full-width&#039; || is_singular( &#039;x-portfolio&#039; ) ) : ?&gt;</code></p>
<p>Then edit <strong>x-child-[your-stack]/framework/views/[your-stack]/wp-single-x-portfolio.php</strong><br />
That file would look something like this</p>
<pre><code>&lt;?php get_header(); ?&gt;
  
  &lt;div class=&quot;x-container-fluid max width offset&quot;&gt;
    &lt;div class=&quot;x-row-fluid&quot;&gt;
      &lt;div class=&quot;x-main full&quot; role=&quot;main&quot;&gt;

        &lt;?php while ( have_posts() ) : the_post(); ?&gt;
          &lt;?php x_get_view( &#039;renew&#039;, &#039;content&#039;, &#039;portfolio&#039; ); ?&gt;
          &lt;?php x_get_view( &#039;global&#039;, &#039;_comments-template&#039; ); ?&gt;
        &lt;?php endwhile; ?&gt;

      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;

&lt;?php get_footer(); ?&gt;</code></pre>
<p>Change this line <code>&lt;div class=&quot;x-main full&quot; role=&quot;main&quot;&gt;</code> to <code>&lt;div class=&quot;x-main left&quot; role=&quot;main&quot;&gt;</code></p>
<p>Then add <code>&lt;?php get_sidebar(); ?&gt;</code> before the 2nd from last <code>&lt;/div&gt;</code></p>
<p>New code should look like this</p>
<pre><code>&lt;?php get_header(); ?&gt;
  
  &lt;div class=&quot;x-container-fluid max width main&quot;&gt;
    &lt;div class=&quot;offset cf&quot;&gt;
      &lt;div class=&quot;x-main left&quot; role=&quot;main&quot;&gt;

        &lt;?php while ( have_posts() ) : the_post(); ?&gt;
          &lt;?php x_get_view( &#039;ethos&#039;, &#039;content&#039;, &#039;portfolio&#039; ); ?&gt;
          &lt;?php x_get_view( &#039;global&#039;, &#039;_comments-template&#039; ); ?&gt;
        &lt;?php endwhile; ?&gt;

      &lt;/div&gt;
	  &lt;?php get_sidebar(); ?&gt;
    &lt;/div&gt;
  &lt;/div&gt;

&lt;?php get_footer(); ?&gt;</code></pre>
<p>I hope that helps,</p>
<p>Have a great day</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-124495</guid>
					<title><![CDATA[Reply To: Adding Sidebar to single portfolio page/post]]></title>
					<link>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-124495</link>
					<pubDate>Mon, 13 Oct 2014 19:23:27 +0000</pubDate>
					<dc:creator>Sohrab G</dc:creator>

					<description>
						<![CDATA[
						<p>Awesome @Support,</p>
<p>Done the job &#8211; thank you.</p>
<p>S</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-124648</guid>
					<title><![CDATA[Reply To: Adding Sidebar to single portfolio page/post]]></title>
					<link>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-124648</link>
					<pubDate>Mon, 13 Oct 2014 23:28:24 +0000</pubDate>
					<dc:creator>Darshana</dc:creator>

					<description>
						<![CDATA[
						<p>Glad we were able to help. Have a nice day 🙂</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-125647</guid>
					<title><![CDATA[Reply To: Adding Sidebar to single portfolio page/post]]></title>
					<link>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-125647</link>
					<pubDate>Wed, 15 Oct 2014 13:16:45 +0000</pubDate>
					<dc:creator>lukecd</dc:creator>

					<description>
						<![CDATA[
						<p>Just wanted to chime in and thank you for this, helped me too.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-125897</guid>
					<title><![CDATA[Reply To: Adding Sidebar to single portfolio page/post]]></title>
					<link>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-125897</link>
					<pubDate>Wed, 15 Oct 2014 19:00:00 +0000</pubDate>
					<dc:creator>Cousett</dc:creator>

					<description>
						<![CDATA[
						<p>Great we are so glad this could help you as well. Have a wonderful day. </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-205025</guid>
					<title><![CDATA[Reply To: Adding Sidebar to single portfolio page/post]]></title>
					<link>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-205025</link>
					<pubDate>Thu, 12 Feb 2015 15:54:09 +0000</pubDate>
					<dc:creator>Sohrab G</dc:creator>

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

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-205783</guid>
					<title><![CDATA[Reply To: Adding Sidebar to single portfolio page/post]]></title>
					<link>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-205783</link>
					<pubDate>Fri, 13 Feb 2015 10:46:07 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there, </p>
<p>You should edit your custom templates and replace all existence of <strong>x-container-fluid</strong> to <strong>x-container</strong>.</p>
<p>Eg. from <code>&lt;div class=&quot;x-container-fluid max width offset cf&quot;&gt;</code></p>
<p>to <code>&lt;div class=&quot;x-container max width offset cf&quot;&gt;</code></p>
<p>Hope this helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-222869</guid>
					<title><![CDATA[Reply To: Adding Sidebar to single portfolio page/post]]></title>
					<link>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-222869</link>
					<pubDate>Sun, 08 Mar 2015 23:15:02 +0000</pubDate>
					<dc:creator>pikestrike</dc:creator>

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

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-223116</guid>
					<title><![CDATA[Reply To: Adding Sidebar to single portfolio page/post]]></title>
					<link>https://theme.co/archive/forums/topic/adding-sidebar-to-single-portfolio-pagepost/#post-223116</link>
					<pubDate>Mon, 09 Mar 2015 06:37:15 +0000</pubDate>
					<dc:creator>Christopher</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>#1 Please review this : <a href="theme.co/x/member/kb/unlimited-sidebars" rel="nofollow">theme.co/x/member/kb/unlimited-sidebars</a>, You should assign specific sidebar to your page/post to avoid displaying &#8216;Main Sidebar&#8217; in there.</p>
<p>#2 Is that normal sidebar or custom sidebar? Please provide us with URL.</p>
<p>Thanks.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

