<?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>BlueOwlCreative  &#187;  Topic: Single Portfolio item Sidebar</title>
		<atom:link href="http://blueowlcreative.com/support_wp/forums/topic/single-portfolio-item-sidebar/feed/" rel="self" type="application/rss+xml" />
		<link>http://blueowlcreative.com/support_wp/forums/topic/single-portfolio-item-sidebar/feed/</link>
		<description></description>
		<pubDate>Fri, 17 Jul 2026 23:50:41 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.5.3-5249</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/single-portfolio-item-sidebar/#post-20877</guid>
					<title><![CDATA[Single Portfolio item Sidebar]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/single-portfolio-item-sidebar/#post-20877</link>
					<pubDate>Tue, 05 Aug 2014 14:09:52 +0000</pubDate>
					<dc:creator>hernanfjrd</dc:creator>

					<description>
						<![CDATA[
						<p>Hello BlueOwl,</p>
<p>I would greatly appreciate if you share the full single-portfolio.php template file with the sidebar option. This has been a frequent and popular requested in the theme by many purchased users.</p>
<p>Please help and Thank you for your time.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/single-portfolio-item-sidebar/#post-20879</guid>
					<title><![CDATA[Reply To: Single Portfolio item Sidebar]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/single-portfolio-item-sidebar/#post-20879</link>
					<pubDate>Wed, 06 Aug 2014 12:41:02 +0000</pubDate>
					<dc:creator>BlueOwl</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>Here it goes, overwrite your single_portfolio with this:</p>
<pre><code>&lt;?php 
get_header(); ?&gt;

&lt;div class=&quot;row&quot;&gt;
	&lt;div class=&quot;sixteen columns&quot;&gt;
	    &lt;?php boc_breadcrumbs(); ?&gt;
		&lt;div class=&quot;page_heading mb0&quot;&gt;&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;

	&lt;div class=&quot;row padded_block portfolio_page&quot;&gt;
	
	&lt;?php while(have_posts()): the_post(); ?&gt;
		&lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
			
			&lt;?php
			$args = array(
			    &#039;post_type&#039; =&gt; &#039;attachment&#039;,
			    &#039;numberposts&#039; =&gt; &#039;16&#039;,
			    &#039;post_status&#039; =&gt; null,
			    &#039;post_parent&#039; =&gt; $post-&gt;ID,
				&#039;orderby&#039; =&gt; &#039;menu_order&#039;,
				&#039;order&#039; =&gt; &#039;ASC&#039;,
				&#039;exclude&#039; =&gt; get_post_thumbnail_id()
			);
			$attachments = get_posts($args);
			if($attachments || has_post_thumbnail()):
			?&gt;
	

		&lt;?php // IF Post type is Standard (false) 	
		if(function_exists( &#039;get_post_format&#039; ) &amp;&amp; get_post_format( $post-&gt;ID ) != &#039;gallery&#039; &amp;&amp; get_post_format( $post-&gt;ID ) != &#039;video&#039; &amp;&amp; has_post_thumbnail()) { ?&gt; 
			
			&lt;div class=&quot;flexslider twelve columns&quot;&gt;
		        &lt;ul class=&quot;slides&quot;&gt;
		        	&lt;?php if(has_post_thumbnail()): ?&gt;
					&lt;?php $attachment_image = wp_get_attachment_image_src(get_post_thumbnail_id(), &#039;full&#039;); ?&gt;
					&lt;?php $full_image = wp_get_attachment_image_src(get_post_thumbnail_id(), &#039;full&#039;); ?&gt;
					&lt;?php $attachment_data = wp_get_attachment_metadata(get_post_thumbnail_id()); ?&gt;
					&lt;li class=&quot;pic&quot;&gt;
						&lt;a href=&quot;&lt;?php echo $full_image[0]; ?&gt;&quot; rel=&quot;prettyPhoto[&#039;portfolio&#039;]&quot; title=&quot;&lt;?php the_title(); ?&gt;&quot;&gt;
							&lt;img src=&quot;&lt;?php echo $attachment_image[0]; ?&gt;&quot; alt=&quot;&quot; /&gt;&lt;span class=&quot;img_overlay_zoom&quot;&gt;&lt;/span&gt;
						&lt;/a&gt;
					&lt;/li&gt;
					&lt;?php endif; ?&gt;
				&lt;/ul&gt;
				&lt;div class=&quot;portfolio_description&quot; style=&quot;margin-top:20px; padding:0;&quot;&gt;
					&lt;?php the_content(); ?&gt;
				&lt;/div&gt;
			&lt;/div&gt;
		
		&lt;?php } // IF Post type is Standard :: END ?&gt;
		
		&lt;?php // IF Post type is Gallery
		if (( function_exists( &#039;get_post_format&#039; ) &amp;&amp; get_post_format( $post-&gt;ID ) == &#039;gallery&#039; )) { ?&gt;
				
			&lt;div class=&quot;flexslider twelve columns&quot;&gt;
				&lt;ul class=&quot;slides&quot;&gt;
		        	&lt;?php if(has_post_thumbnail()): ?&gt;
					&lt;?php $attachment_image = wp_get_attachment_image_src(get_post_thumbnail_id(), &#039;full&#039;); ?&gt;
					&lt;?php $full_image = wp_get_attachment_image_src(get_post_thumbnail_id(), &#039;full&#039;); ?&gt;
					&lt;?php $attachment_data = wp_get_attachment_metadata(get_post_thumbnail_id()); ?&gt;
					&lt;li class=&quot;pic&quot;&gt;
						&lt;a href=&quot;&lt;?php echo $full_image[0]; ?&gt;&quot; rel=&quot;prettyPhoto[&#039;portfolio&#039;]&quot; title=&quot;&lt;?php the_title(); ?&gt;&quot;&gt;
							&lt;img src=&quot;&lt;?php echo $attachment_image[0]; ?&gt;&quot; alt=&quot;&quot; /&gt;&lt;span class=&quot;img_overlay_zoom&quot;&gt;&lt;/span&gt;
						&lt;/a&gt;
					&lt;/li&gt;
					&lt;?php endif; ?&gt;
		        	&lt;?php foreach($attachments as $attachment): ?&gt;
					&lt;?php $attachment_image = wp_get_attachment_image_src($attachment-&gt;ID, &#039;full&#039;); ?&gt;
					&lt;?php $full_image = wp_get_attachment_image_src($attachment-&gt;ID, &#039;full&#039;); ?&gt;
					&lt;?php $attachment_data = wp_get_attachment_metadata($attachment-&gt;ID); ?&gt;
					&lt;li class=&quot;pic&quot;&gt;
						&lt;a href=&quot;&lt;?php echo $full_image[0]; ?&gt;&quot; rel=&quot;prettyPhoto[&#039;portfolio&#039;]&quot; title=&quot;&lt;?php echo $attachment-&gt;post_title; ?&gt;&quot;&gt;
							&lt;img src=&quot;&lt;?php echo $attachment_image[0]; ?&gt;&quot; alt=&quot;&quot; /&gt;&lt;span class=&quot;img_overlay_zoom&quot;&gt;&lt;/span&gt;
						&lt;/a&gt;
					&lt;/li&gt;
					&lt;?php endforeach; ?&gt;
		        &lt;/ul&gt;
				&lt;div class=&quot;portfolio_description&quot; style=&quot;margin-top:20px; padding:0;&quot;&gt;
					&lt;?php the_content(); ?&gt;
				&lt;/div&gt;
			&lt;/div&gt;			
				
		&lt;?php } // IF Post type is Gallery :: END ?&gt;
		
		&lt;?php	// IF Post type is Video 
				if (( function_exists( &#039;get_post_format&#039; ) &amp;&amp; get_post_format( $post-&gt;ID ) == &#039;video&#039;)  ) {					
					if($video_embed_code = get_post_meta($post-&gt;ID, &#039;video_embed_code&#039;, true)) {
						echo &quot;&lt;div class=&#039;twelve columns&#039;&gt;&quot;;
						echo &quot;&lt;div class=&#039;video_max_scale&#039;&gt;&quot;;
						echo $video_embed_code;
						echo &quot;&lt;/div&gt;&quot;;
						echo &#039;&lt;/div&gt;&#039;;
						?&gt;
						&lt;div class=&quot;portfolio_description&quot; style=&quot;margin-top:20px; padding:0;&quot;&gt;
							&lt;?php the_content(); ?&gt;
						&lt;/div&gt;
				&lt;?php }										
				} // IF Post type is Video :: END 
		?&gt;
			
			&lt;?php endif; ?&gt;
			&lt;?php get_sidebar(); ?&gt;
			
			
		&lt;/div&gt;
	&lt;/div&gt;

&lt;?php if(ot_get_option(&#039;related_portfolio_projects&#039;)){ ?&gt;
		&lt;?php $projects = get_related_portfolio_items($post-&gt;ID); ?&gt;
		&lt;?php if($projects-&gt;have_posts()): ?&gt;
		&lt;div class=&quot;row&quot;&gt;
			&lt;h2 class=&quot;title twelve columns&quot;&gt;&lt;span&gt;&lt;?php _e(&#039;Related Portfolio Items&#039;, &#039;Aqua&#039;); ?&gt;&lt;/span&gt;&lt;/h2&gt;
			&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
			&lt;div class=&quot;half_padded_block carousel_section&quot;&gt;
				&lt;div class=&#039;carousel_arrows_bgr&#039;&gt;&lt;/div&gt;
				&lt;ul id=&quot;portfolio_carousel&quot;&gt;
					&lt;?php while($projects-&gt;have_posts()): $projects-&gt;the_post(); ?&gt;
					&lt;?php if(has_post_thumbnail()): ?&gt;
					&lt;li class=&quot;four columns portfolio_item&quot;&gt;
						&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;
					  		&lt;span class=&quot;pic&quot;&gt;&lt;?php the_post_thumbnail(&#039;portfolio-medium&#039;); ?&gt;&lt;div class=&quot;img_overlay&quot;&gt;&lt;/div&gt;&lt;/span&gt;
					  		&lt;h5&gt;&lt;?php the_title(); ?&gt;&lt;/h5&gt;
					  	&lt;/a&gt;
					&lt;/li&gt;	
					&lt;?php endif; endwhile; ?&gt;		
				&lt;/ul&gt;
			&lt;/div&gt;
		&lt;/div&gt;
				
		&lt;script type=&quot;text/javascript&quot;&gt;
			jQuery(document).ready(function() {
			    jQuery(&#039;#portfolio_carousel&#039;).jcarousel({
			    	scroll: (jQuery(window).width() &gt; 767 ? 4 : 1),
			    	easing: &#039;easeInOutExpo&#039;,
			    	animation: 600
			    });
			});	
			
			
			// Reload carousels on window resize to scroll only 1 item if viewport is small
		    jQuery(window).resize(function() {
		    	 var el = jQuery(&quot;#portfolio_carousel&quot;), carousel = el.data(&#039;jcarousel&#039;), win_width = jQuery(window).width();
		    	   var visibleItems = (win_width &gt; 767 ? 4 : 1);
		    	   carousel.options.visible = visibleItems;
		    	   carousel.options.scroll = visibleItems;
		    	   carousel.reload();
		    });
		&lt;/script&gt;
		
		
		
		
		&lt;?php endif; ?&gt;
&lt;?php } // RELATED PREJECTS :: END ?&gt;

	&lt;?php endwhile; // END LOOP ?&gt;

&lt;?php get_footer(); ?&gt;</code></pre>
<p>Then all you need to do is enable the custom sidebars for the Portfolio custom Post type &#8211; edit your includes/meta_boxes.php and sub this line:</p>
<p><code>&#039;pages&#039;     =&gt; array( &#039;post&#039;,&#039;page&#039;,&#039;services&#039;),</code></p>
<p>with this:</p>
<p><code>&#039;pages&#039;     =&gt; array( &#039;post&#039;,&#039;page&#039;,&#039;services&#039;,&#039;portfolio&#039;),</code></p>
<p>You are done, now just go to your Theme Options-&gt;Sidebars, create your new sidebars, add widgets to them from the Widgets screen then assign them to your portfolio items!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

