<?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: Displaying Portfolio items in order defined by custom field</title>
		<link>http://www.kriesi.at/support/topic/displaying-portfolio-items-in-order-defined-by-custom-field</link>
		<description>Support Forum - Topic: Displaying Portfolio items in order defined by custom field</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 17:05:59 +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/displaying-portfolio-items-in-order-defined-by-custom-field" rel="self" type="application/rss+xml" />

		<item>
			<title>kifela on "Displaying Portfolio items in order defined by custom field"</title>
			<link>http://www.kriesi.at/support/topic/displaying-portfolio-items-in-order-defined-by-custom-field#post-49794</link>
			<pubDate>Tue, 03 Apr 2012 20:02:58 +0000</pubDate>
			<dc:creator>kifela</dc:creator>
			<guid isPermaLink="false">49794@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thank you Peter, that seems like an ideal solution.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Displaying Portfolio items in order defined by custom field"</title>
			<link>http://www.kriesi.at/support/topic/displaying-portfolio-items-in-order-defined-by-custom-field#post-49727</link>
			<pubDate>Tue, 03 Apr 2012 14:00:52 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">49727@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi! &#60;/p&#62;
&#60;p&#62; Have you tried plugins like: &#60;a href=&#34;http://wordpress.org/extend/plugins/post-types-order/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/post-types-order/&#60;/a&#62; - it's imho easier to sort the posts this way. &#60;/p&#62;
&#60;p&#62; Regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kifela on "Displaying Portfolio items in order defined by custom field"</title>
			<link>http://www.kriesi.at/support/topic/displaying-portfolio-items-in-order-defined-by-custom-field#post-49723</link>
			<pubDate>Tue, 03 Apr 2012 13:31:04 +0000</pubDate>
			<dc:creator>kifela</dc:creator>
			<guid isPermaLink="false">49723@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I need to be able to change the way Portfolio items are displayed on the Portfolio overview page. By default, they appear in reverse chronology, based on the post date stamp. However, I would like to be able to order the posts by the value of a custom field. I have had some success by modifying line 12 of loop-portfolio.php as follows:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;if(isset($avia_config['new_query'])) { query_posts($avia_config['new_query']); }&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;changed to:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;if(isset($avia_config['new_query'])) { query_posts ( '&#38;amp;post_type=portfolio&#38;amp;meta_key=show_date&#38;amp;orderby=meta_value&#38;amp;order=ASC'); }&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;However, by removing &#60;code&#62;$avia_config[&#38;#39;new_query&#38;#39;]&#60;/code&#62;, I am no longer able to choose which categories are displayed; regardless of what I set in the template builder, posts from all categories are output. &#60;/p&#62;
&#60;p&#62;Can anyone offer a solution?&#60;/p&#62;
&#60;p&#62;Many thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
