<?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: Two portfolio corousels in the home page</title>
		<atom:link href="http://blueowlcreative.com/support_wp/forums/topic/two-portfolio-corousels-in-the-home-page/feed/" rel="self" type="application/rss+xml" />
		<link>http://blueowlcreative.com/support_wp/forums/topic/two-portfolio-corousels-in-the-home-page/feed/</link>
		<description></description>
		<pubDate>Fri, 17 Jul 2026 12:22:50 +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/two-portfolio-corousels-in-the-home-page/#post-21006</guid>
					<title><![CDATA[Two portfolio corousels in the home page]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/two-portfolio-corousels-in-the-home-page/#post-21006</link>
					<pubDate>Tue, 19 Aug 2014 00:40:50 +0000</pubDate>
					<dc:creator>lmzan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi<br />
I’m trying to display two portfolio carousels on the home page, each showing item from different categories, but it&#8217;s not working. The carousel function is working on the first carousel, the second is shown as a list of items.<br />
I&#8217;m using Terra 2.0 and WordPress 3.9.2</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/two-portfolio-corousels-in-the-home-page/#post-21012</guid>
					<title><![CDATA[Reply To: Two portfolio corousels in the home page]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/two-portfolio-corousels-in-the-home-page/#post-21012</link>
					<pubDate>Tue, 19 Aug 2014 14:12:30 +0000</pubDate>
					<dc:creator>BlueOwl</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>You need a simple mod in order to achieve this, please replace your &#8220;shortcode_portfolio_carousel&#8221; function in includes/shortcodes.php with this:</p>
<pre><code>function shortcode_portfolio_carousel($atts, $content = null) {
	
		extract(shortcode_atts(
			array(
				&#039;heading&#039; =&gt; __(&quot;Portfolio Items&quot;, &quot;Terra&quot;),
				&#039;max_items&#039; =&gt; (isset($atts[&#039;limit&#039;]) ? (int)$atts[&#039;limit&#039;] : 10),
				&#039;order_by&#039;=&gt; &#039;date&#039;,
				&#039;category_name&#039; =&gt; &#039;&#039;,
				&#039;centered_title&#039; =&gt; &#039;yes&#039;,
				
			), $atts));
	
		$projects = get_portfolio_items($max_items, $order_by, $category_name); 
		
		$str = &#039;&#039;;
		
		$portfolio_style = ot_get_option(&#039;portfolio_style&#039;) ? ot_get_option(&#039;portfolio_style&#039;) : &#039;type1&#039;;
		$centered_title = (($centered_title==&#039;yes&#039;)||($centered_title==&#039;Yes&#039;)) ? true : false;	
			
		if($projects-&gt;have_posts()){
		
			// generate checksum of $atts array
			$carousel_id = md5(serialize($atts));
		
			$str.=&#039;	
			&lt;div class=&quot;info_block animationStart&quot;&gt;
				&lt;div class=&quot;h10 clear&quot;&gt;&lt;/div&gt;
				&lt;h2 class=&quot;&#039;.(!$centered_title ? &#039;left_&#039; : &#039;&#039;).&#039;title&quot;&gt;&lt;span&gt;&#039;.$heading.&#039;&lt;/span&gt;&lt;/h2&gt;
				&lt;div class=&quot;clear h20&quot;&gt;&lt;/div&gt;
				&lt;div class=&quot;carousel_section&quot;&gt;
					&lt;div class=&quot;carousel_arrows_bgr&quot;&gt;&lt;/div&gt;
					&lt;ul id=&quot;portfolio_carousel_&#039;.$carousel_id.&#039;&quot;&gt;&#039;;
						while($projects-&gt;have_posts()): $projects-&gt;the_post(); 
						if(has_post_thumbnail()): 
						
							$taxonomy = &#039;portfolio_category&#039;;
							$terms = get_the_terms( $projects-&gt;post-&gt;ID , $taxonomy );
							$cats = array();
							
							if (! empty( $terms ) ) :
								foreach ( $terms as $term ) {
									
									$link = get_term_link( $term, $taxonomy );
									if ( !is_wp_error( $link ) )
										$cats[] = $term-&gt;name;
								}
							endif;
						
							$str.=
								&#039;
								&lt;li class=&quot;one-third column info_item&quot;&gt;
									&lt;a href=&quot;&#039;.get_permalink().&#039;&quot; title=&quot;&quot;&gt;
										&lt;div class=&quot;pic_info &#039;.$portfolio_style.&#039;&quot;&gt;
											&#039;.get_the_post_thumbnail($projects-&gt;post-&gt;ID, &#039;portfolio-medium&#039;).&#039;&lt;div class=&quot;img_overlay_icon&quot;&gt;&lt;span class=&quot;portfolio_icon icon_&#039;.getPortfolioItemIcon($projects-&gt;post-&gt;ID).&#039;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
											&lt;div class=&quot;info_overlay&quot;&gt;
												&lt;div class=&quot;info_overlay_padding&quot;&gt;
													&lt;div class=&quot;info_desc&quot;&gt;
														&lt;span class=&quot;portfolio_icon icon_&#039;.getPortfolioItemIcon($projects-&gt;post-&gt;ID).&#039;&quot;&gt;&lt;/span&gt;
														&lt;h3&gt;&#039;.get_the_title().&#039;&lt;/h3&gt;
														&lt;p&gt;&#039;.implode(&#039; / &#039;, $cats).&#039;&lt;/p&gt;
													&lt;/div&gt;
												&lt;/div&gt;
											&lt;/div&gt;
										&lt;/div&gt;
									&lt;/a&gt;
								&lt;/li&gt;
								&#039;;
							
							
						endif; endwhile;
						$str.=&#039;
					&lt;/ul&gt;
				&lt;/div&gt;
			&lt;/div&gt;

			&lt;div class=&quot;h20 clear&quot;&gt;&lt;/div&gt;
						
			&lt;script type=&quot;text/javascript&quot;&gt;
				jQuery(document).ready(function() {
					jQuery(&quot;#portfolio_carousel_&#039;.$carousel_id.&#039;&quot;).jcarousel({
						scroll: (jQuery(window).width() &gt; 767 ? 3 : 1),
						easing: &quot;easeInOutExpo&quot;,
						animation: 700
					});
				});	
				
				
				// Reload carousels on window resize to scroll only 1 item if viewport is small
				jQuery(window).resize(function() {
					 var el = jQuery(&quot;#portfolio_carousel_&#039;.$carousel_id.&#039;&quot;), carousel = el.data(&quot;jcarousel&quot;), win_width = jQuery(window).width();
					   var visibleItems = (win_width &gt; 767 ? 3 : 1);
					   carousel.options.visible = visibleItems;
					   carousel.options.scroll = visibleItems;
					   carousel.reload();
				});
			&lt;/script&gt;&#039;;
		}
		
		return $str;

}</code></pre>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/two-portfolio-corousels-in-the-home-page/#post-21016</guid>
					<title><![CDATA[Reply To: Two portfolio corousels in the home page]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/two-portfolio-corousels-in-the-home-page/#post-21016</link>
					<pubDate>Tue, 19 Aug 2014 14:43:56 +0000</pubDate>
					<dc:creator>lmzan</dc:creator>

					<description>
						<![CDATA[
						<p>Fantastic!</p>
<p>Working just fine now, thank you! Really enjoying this theme.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/two-portfolio-corousels-in-the-home-page/#post-21018</guid>
					<title><![CDATA[Reply To: Two portfolio corousels in the home page]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/two-portfolio-corousels-in-the-home-page/#post-21018</link>
					<pubDate>Tue, 19 Aug 2014 15:11:33 +0000</pubDate>
					<dc:creator>BlueOwl</dc:creator>

					<description>
						<![CDATA[
						<p>Great to hear, make sure you rate it at ThemeForest if you want to share the love! <img src="http://blueowlcreative.com/support_wp/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> </p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

