<?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: Remove Portfolio Entries from Choices Archive/Sitemap page</title>
		<link>http://www.kriesi.at/support/topic/remove-portfolio-entries-from-choices-archivesitemap-page</link>
		<description>Support Forum - Topic: Remove Portfolio Entries from Choices Archive/Sitemap page</description>
		<language>en-US</language>
		<pubDate>Mon, 20 May 2013 21:50:22 +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/remove-portfolio-entries-from-choices-archivesitemap-page" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Remove Portfolio Entries from Choices Archive/Sitemap page"</title>
			<link>http://www.kriesi.at/support/topic/remove-portfolio-entries-from-choices-archivesitemap-page#post-95625</link>
			<pubDate>Thu, 07 Feb 2013 07:28:36 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">95625@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
Open up template-archives.php and delete following code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/*
				* Display the latest 20 portfolio posts
				*/

				query_posts(array(&#38;#39;posts_per_page&#38;#39;=&#38;gt;8, &#38;#39;post_type&#38;#39;=&#38;gt;&#38;#39;portfolio&#38;#39;));

				// check if we got posts to display:
				if (have_posts()) :
				echo avia_advanced_hr(false);	

				$columns = 4;
				$rel_class = &#38;quot;one_fourth&#38;quot;;
				$slidecount = 0;
				$postcount = ($columns * 1);
  				$count = 1;
	     		$output = &#38;quot;&#38;quot;;

	        	$output .= &#38;quot;&#38;lt;div class =&#38;#39;latest-portfolio-archive&#38;#39;&#38;gt;&#38;quot;;
	        	$output .= &#38;quot;&#38;lt;h3&#38;gt;&#38;quot; . __(&#38;#39;The 8 latest Portfolio Entries&#38;#39;,&#38;#39;avia_framework&#38;#39;) . &#38;quot;&#38;lt;/h3&#38;gt;&#38;quot;;
	     		$output .= &#38;quot;&#38;lt;div class=&#38;#39; autoslide_false&#38;#39;&#38;gt;&#38;quot;;

	     		while (have_posts()) : the_post(); 

	     			$slidecount ++;

	     			if($count == 1)
	     			{
	     				$output .= &#38;quot;&#38;lt;div class=&#38;#39;single_slide single_slide_nr_$slidecount&#38;#39;&#38;gt;&#38;quot;;
	     			}

	     			$image = &#38;quot;&#38;lt;span class=&#38;#39;related_posts_default_image&#38;#39;&#38;gt;&#38;lt;/span&#38;gt;&#38;quot;;
		 			$slides = avia_post_meta(get_the_ID(), &#38;#39;slideshow&#38;#39;, true);

		 			//check if a preview image is set
		 			if( $slides != &#38;quot;&#38;quot; &#38;amp;&#38;amp; !empty( $slides[0][&#38;#39;slideshow_image&#38;#39;]) )
		 			{
		 				//check for image or video
		 				if(is_numeric($slides[0][&#38;#39;slideshow_image&#38;#39;]))
		 				{
		 					$image = avia_image_by_id($slides[0][&#38;#39;slideshow_image&#38;#39;], &#38;#39;portfolio_small&#38;#39;, &#38;#39;image&#38;#39;);
		 				}
		 				else
		 				{
		 					$image = &#38;quot;&#38;lt;span class=&#38;#39;related_posts_default_image related_posts_video&#38;#39;&#38;gt;&#38;lt;/span&#38;gt;&#38;quot;;
		 				}

		 			}

	     			$output .= &#38;quot;&#38;lt;div class=&#38;#39;relThumb relThumb&#38;quot;.$count.&#38;quot; &#38;quot;.$rel_class.&#38;quot;&#38;#39;&#38;gt;\n&#38;quot;;
		 			$output .= &#38;quot;&#38;lt;a href=&#38;#39;&#38;quot;.get_permalink().&#38;quot;&#38;#39; class=&#38;#39;relThumWrap noLightbox&#38;#39;&#38;gt;\n&#38;quot;;
	     			$output .= &#38;quot;&#38;lt;span class=&#38;#39;related_image_wrap&#38;#39;&#38;gt;&#38;quot;;
		 			$output .= $image;
		 			$output .= &#38;quot;&#38;lt;/span&#38;gt;\n&#38;quot;;
		 			$output .= &#38;quot;&#38;lt;span class=&#38;#39;relThumbTitle&#38;#39;&#38;gt;\n&#38;quot;;
		 			$output .= &#38;quot;&#38;lt;strong class=&#38;#39;relThumbHeading&#38;#39;&#38;gt;&#38;quot;.avia_backend_truncate(get_the_title(), 50).&#38;quot;&#38;lt;/strong&#38;gt;\n&#38;quot;;
		 			$output .= &#38;quot;&#38;lt;/span&#38;gt;\n&#38;lt;/a&#38;gt;&#38;quot;;
		 			$output .= &#38;quot;&#38;lt;/div&#38;gt;&#38;lt;!-- end .relThumb --&#38;gt;\n&#38;quot;;

	     			$count++;

	     			if($count == $columns+1)
	     			{
	     				$output .= &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
	     				$count = 1;
	     			}

	     		endwhile; 

	 	 		if($count != 1) $output .= &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;

	     		$output .= &#38;quot;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;&#38;quot;;
	     		echo $output;

				endif;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>KSJ on "Remove Portfolio Entries from Choices Archive/Sitemap page"</title>
			<link>http://www.kriesi.at/support/topic/remove-portfolio-entries-from-choices-archivesitemap-page#post-95425</link>
			<pubDate>Wed, 06 Feb 2013 10:49:48 +0000</pubDate>
			<dc:creator>KSJ</dc:creator>
			<guid isPermaLink="false">95425@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I think I put this in the wrong section.  Sorry.  It is late!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>KSJ on "Remove Portfolio Entries from Choices Archive/Sitemap page"</title>
			<link>http://www.kriesi.at/support/topic/remove-portfolio-entries-from-choices-archivesitemap-page#post-95424</link>
			<pubDate>Wed, 06 Feb 2013 10:48:24 +0000</pubDate>
			<dc:creator>KSJ</dc:creator>
			<guid isPermaLink="false">95424@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I am using Choices.  I would like to remove the Portfolio Entries from the Archive / Sitemap Page.  I would like the section to be removed.  Any help would be greatly appreciated.&#60;br /&#62;
Thank you, Kathy
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
