<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: How to find Portfolio Category name or id?</title>
		<link>http://www.kriesi.at/support/topic/how-to-find-portfolio-category-name-or-id</link>
		<description>Support Forum - Topic: How to find Portfolio Category name or id?</description>
		<language>en-US</language>
		<pubDate>Wed, 22 May 2013 12:29:06 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/how-to-find-portfolio-category-name-or-id" rel="self" type="application/rss+xml" />

		<item>
			<title>flayzeraynx on "How to find Portfolio Category name or id?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-find-portfolio-category-name-or-id#post-25669</link>
			<pubDate>Tue, 23 Aug 2011 23:26:30 +0000</pubDate>
			<dc:creator>flayzeraynx</dc:creator>
			<guid isPermaLink="false">25669@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;so how is this tag line in the other templates?  i think broadscope and brightbox are similar. that thing works in this theme but brightbox. wouldn't be easier to take a look at brightbox's code line? &#60;/p&#62;
&#60;p&#62;i think i'll buy broadscope just because of that :/
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "How to find Portfolio Category name or id?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-find-portfolio-category-name-or-id#post-25577</link>
			<pubDate>Tue, 23 Aug 2011 06:30:29 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">25577@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Not sure - as I said before it's a time intensive and complex task which requires some debugging &#38;amp; programming skills. Imho you must add a category navigation which triggers the sort function and check if the css interferes with the filter function (as far as I know you need a fixed margin top to the main menu).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>flayzeraynx on "How to find Portfolio Category name or id?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-find-portfolio-category-name-or-id#post-25567</link>
			<pubDate>Mon, 22 Aug 2011 23:11:47 +0000</pubDate>
			<dc:creator>flayzeraynx</dc:creator>
			<guid isPermaLink="false">25567@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;my fault :)&#60;br /&#62;
i added $tags to that list...&#60;/p&#62;
&#60;p&#62;$grid = 'grid3';&#60;br /&#62;
$image_size = 'page';&#60;br /&#62;
$showcaption = true;&#60;br /&#62;
$hr_class = &#34;hr&#34;;&#60;br /&#62;
$tags = implode(&#34; &#34;, get_the_terms( get_the_ID(), 'portfolio_entries' ) );&#60;/p&#62;
&#60;p&#62;than i use li tag like that&#60;br /&#62;
&#38;lt;li class='post-entry all &#60;strong&#62;&#38;lt;?php echo $tags; ?&#38;gt;&#60;/strong&#62; &#38;lt;?php echo $grid.' '.$extraClass; ?&#38;gt;'&#38;gt;&#60;/p&#62;
&#60;p&#62;but nothing happens.. what am i doing wrong :(
&#60;/p&#62;</description>
		</item>
		<item>
			<title>flayzeraynx on "How to find Portfolio Category name or id?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-find-portfolio-category-name-or-id#post-25561</link>
			<pubDate>Mon, 22 Aug 2011 21:19:00 +0000</pubDate>
			<dc:creator>flayzeraynx</dc:creator>
			<guid isPermaLink="false">25561@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;when i use something like that it breaks the page and do not load after that code starts:&#60;/p&#62;
&#60;p&#62;&#38;lt;li class='post-entry all &#38;lt;?php echo $tags = implode(&#34; &#34;, get_the_terms( get_the_ID(), 'portfolio_entries' ) ); ?&#38;gt; &#38;lt;?php echo $grid.' '.$extraClass; ?&#38;gt;'&#38;gt;&#60;/p&#62;
&#60;p&#62;:( i just need type the name what portfolio item belongs the category as a class name to the li tag :/
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "How to find Portfolio Category name or id?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-find-portfolio-category-name-or-id#post-25506</link>
			<pubDate>Mon, 22 Aug 2011 05:28:23 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">25506@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Yes of course - the output is an array. You need to use following code to list all tags in a string:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$tags = implode(&#38;quot; &#38;quot;, get_the_terms( get_the_ID(), &#38;#39;portfolio_entries&#38;#39; ) );&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>flayzeraynx on "How to find Portfolio Category name or id?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-find-portfolio-category-name-or-id#post-25503</link>
			<pubDate>Mon, 22 Aug 2011 02:11:49 +0000</pubDate>
			<dc:creator>flayzeraynx</dc:creator>
			<guid isPermaLink="false">25503@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;&#38;lt;li class='post-entry all &#38;lt;?php echo get_the_terms( get_the_ID(), 'portfolio_entries' ); ?&#38;gt; &#38;lt;?php echo $grid.' '.$extraClass; ?&#38;gt;'&#38;gt;&#60;/p&#62;
&#60;p&#62;uhm, when i use that code in that style i just get this result:&#60;/p&#62;
&#60;p&#62;&#38;lt;li class=&#34;post-entry all &#60;strong&#62;Array&#60;/strong&#62; grid3 first&#34;&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "How to find Portfolio Category name or id?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-find-portfolio-category-name-or-id#post-25492</link>
			<pubDate>Sun, 21 Aug 2011 18:48:57 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">25492@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
you can use following code inside the loop to retrieve all post terms (&#34;portfolio categories&#34;):&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;get_the_terms( get_the_ID(), &#38;#39;portfolio_entries&#38;#39; )&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>flayzeraynx on "How to find Portfolio Category name or id?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-find-portfolio-category-name-or-id#post-25439</link>
			<pubDate>Sat, 20 Aug 2011 19:38:36 +0000</pubDate>
			<dc:creator>flayzeraynx</dc:creator>
			<guid isPermaLink="false">25439@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;hello again.. i'm trying to implement portfolio filter system to the brightbox.. but i'm stuck in the middle..&#60;/p&#62;
&#60;p&#62;if i'm right, if i add category name to the class on the listing, that will solve my problem but i couldn't find it anywhere.. would you mind help me about that?&#60;/p&#62;
&#60;p&#62;i need add:&#60;br /&#62;
&#38;lt;li class='post-entry all ***************category name which post belong -*********************** &#38;lt;?php echo $grid.' '.$extraClass; ?&#38;gt;'&#38;gt;&#60;/p&#62;
&#60;p&#62;btw i'm trying to do this filter technique:&#60;br /&#62;
&#60;a href=&#34;http://www.wearepixel8.com/work/#all&#34; rel=&#34;nofollow&#34;&#62;http://www.wearepixel8.com/work/#all&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#38;lt;ul id=&#34;filter-portfolio&#34;&#38;gt;&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
global $avia_config;&#60;br /&#62;
if(isset($avia_config['new_query'])) { query_posts($avia_config['new_query']); }&#60;/p&#62;
&#60;p&#62;// check if we got a page to display:&#60;br /&#62;
if (have_posts()) :&#60;/p&#62;
&#60;p&#62;	$loop_counter = 1;&#60;br /&#62;
	$extraClass = 'first';&#60;/p&#62;
&#60;p&#62;	$grid = 'grid3';&#60;br /&#62;
	$image_size = 'page';&#60;br /&#62;
	$showcaption = true;&#60;br /&#62;
	$hr_class = &#34;hr&#34;;&#60;/p&#62;
&#60;p&#62;	if(empty($avia_config['portfolio_columns'])) $avia_config['portfolio_columns'] = 4;&#60;/p&#62;
&#60;p&#62;	switch($avia_config['portfolio_columns'])&#60;br /&#62;
	{&#60;br /&#62;
		case 1: $grid = 'grid12'; $image_size = 'page'; if(isset($avia_config['remove_portfolio_text'])) $image_size = 'featured'; break;&#60;br /&#62;
		case 2: $grid = 'grid6';  $image_size = 'portfolio2'; break;&#60;br /&#62;
		case 3: $grid = 'grid4';  $image_size = 'portfolio3'; break;&#60;br /&#62;
		case 4: $grid = 'grid3';  $image_size = 'portfolio'; $showcaption = false; break;&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	//iterate over the posts&#60;br /&#62;
	while (have_posts()) : the_post();	&#60;/p&#62;
&#60;p&#62;?&#38;gt;&#60;/p&#62;
&#60;p&#62;		&#38;lt;li class='post-entry all &#38;lt;?php echo $grid.' '.$extraClass; ?&#38;gt;'&#38;gt;&#60;/p&#62;
&#60;p&#62;			&#38;lt;?php&#60;br /&#62;
			$slider = new avia_slideshow(get_the_ID());&#60;br /&#62;
			$force_display = true;&#60;br /&#62;
 	 		echo $slider-&#38;gt;display_small($image_size, $force_display, $showcaption);&#60;/p&#62;
&#60;p&#62; 	 		//$showcaption&#60;/p&#62;
&#60;p&#62;			if(!isset($avia_config['remove_portfolio_text']))&#60;br /&#62;
			{&#60;/p&#62;
&#60;p&#62;				echo &#34;&#38;lt;h1 class='post-title'&#38;gt;&#60;a href='&#34;.get_permalink().&#34;' rel='bookmark'&#62;&#34;.get_the_title().&#34;&#60;/a&#62;&#38;lt;/h1&#38;gt;&#34;;&#60;/p&#62;
&#60;p&#62;				echo '&#38;lt;div class=&#34;entry-content&#34;&#38;gt;';&#60;/p&#62;
&#60;p&#62;				if($avia_config['portfolio_columns'] == 1)&#60;br /&#62;
				{&#60;br /&#62;
					echo get_the_term_list(  get_the_ID(), 'portfolio_entries', '&#38;lt;span class=&#34;blog-categories&#34;&#38;gt;&#60;strong&#62;'.__('Categories', 'avia_framework' ).': &#60;/strong&#62;', ', ','&#38;lt;/span&#38;gt;');&#60;br /&#62;
				}&#60;/p&#62;
&#60;p&#62;				the_excerpt();&#60;br /&#62;
				echo '&#60;a href=&#34;'. get_permalink().'&#34;&#62;'.__('Read more','avia_framework').'&#60;/a&#62;';&#60;/p&#62;
&#60;p&#62;				echo &#34;&#38;lt;/div&#38;gt;&#34;;&#60;/p&#62;
&#60;p&#62;			}&#60;br /&#62;
			else&#60;br /&#62;
			{&#60;br /&#62;
				$hr_class = 'hr_invisible';&#60;br /&#62;
			}&#60;/p&#62;
&#60;p&#62;		?&#38;gt;&#60;br /&#62;
		&#38;lt;!-- end post-entry--&#38;gt;&#60;/p&#62;
&#60;p&#62;	&#38;lt;?php &#60;/p&#62;
&#60;p&#62;	$loop_counter++;&#60;br /&#62;
	$extraClass = &#34;&#34;;&#60;br /&#62;
	if($loop_counter &#38;gt; $avia_config['portfolio_columns'])&#60;br /&#62;
	{&#60;br /&#62;
		$loop_counter = 1;&#60;br /&#62;
		$extraClass = 'first';&#60;br /&#62;
		echo &#34;&#38;lt;div class='$hr_class'&#38;gt;&#38;lt;/div&#38;gt;&#34;;&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	endwhile;&#60;br /&#62;
	else:&#60;br /&#62;
?&#38;gt;	&#60;/p&#62;
&#60;p&#62;	&#38;lt;div class=&#34;entry&#34;&#38;gt;&#60;br /&#62;
		&#38;lt;h1 class='post-title'&#38;gt;&#38;lt;?php _e('Nothing Found', 'avia_framework'); ?&#38;gt;&#38;lt;/h1&#38;gt;&#60;br /&#62;
		&#38;lt;p&#38;gt;&#38;lt;?php _e('Sorry, no posts matched your criteria', 'avia_framework'); ?&#38;gt;&#38;lt;/p&#38;gt;&#60;br /&#62;
	&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;?php&#60;/p&#62;
&#60;p&#62;	endif;&#60;/p&#62;
&#60;p&#62;	if($loop_counter != 1){ echo &#34;&#38;lt;div class='hr'&#38;gt;&#38;lt;/div&#38;gt;&#34;; }&#60;/p&#62;
&#60;p&#62;	if(!isset($avia_config['remove_pagination'] ))&#60;br /&#62;
		echo avia_pagination();&#60;br /&#62;
?&#38;gt;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
