<?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: Portfolio-Order -&#62; can I change it?</title>
		<link>http://www.kriesi.at/support/topic/portfolio-order-can-i-change-it</link>
		<description>Support Forum - Topic: Portfolio-Order -&gt; can I change it?</description>
		<language>en-US</language>
		<pubDate>Thu, 20 Jun 2013 01:19:42 +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/portfolio-order-can-i-change-it" rel="self" type="application/rss+xml" />

		<item>
			<title>Ismael on "Portfolio-Order -&#62; can I change it?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-order-can-i-change-it#post-60718</link>
			<pubDate>Mon, 18 Jun 2012 12:23:39 +0000</pubDate>
			<dc:creator>Ismael</dc:creator>
			<guid isPermaLink="false">60718@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Glad that this is resolved. :)&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Ismael
&#60;/p&#62;</description>
		</item>
		<item>
			<title>radugidei on "Portfolio-Order -&#62; can I change it?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-order-can-i-change-it#post-60706</link>
			<pubDate>Mon, 18 Jun 2012 08:36:19 +0000</pubDate>
			<dc:creator>radugidei</dc:creator>
			<guid isPermaLink="false">60706@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;that works now, thanks Dude :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Portfolio-Order -&#62; can I change it?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-order-can-i-change-it#post-60693</link>
			<pubDate>Mon, 18 Jun 2012 06:20:16 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">60693@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Try to replace:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if(isset($avia_config[&#38;#39;new_query&#38;#39;][&#38;#39;tax_query&#38;#39;][0][&#38;#39;terms&#38;#39;])) $includeArray = $avia_config[&#38;#39;new_query&#38;#39;][&#38;#39;tax_query&#38;#39;][0][&#38;#39;terms&#38;#39;];&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if(isset($avia_config[&#38;#39;new_query&#38;#39;])) {
$avia_config[&#38;#39;new_query&#38;#39;][&#38;#39;orderby&#38;#39;] = &#38;quot;date&#38;quot;;
$avia_config[&#38;#39;new_query&#38;#39;][&#38;#39;order&#38;#39;] = &#38;quot;DESC&#38;quot;;
query_posts($avia_config[&#38;#39;new_query&#38;#39;]);
}

if(isset($avia_config[&#38;#39;new_query&#38;#39;][&#38;#39;tax_query&#38;#39;][0][&#38;#39;terms&#38;#39;])) $includeArray = $avia_config[&#38;#39;new_query&#38;#39;][&#38;#39;tax_query&#38;#39;][0][&#38;#39;terms&#38;#39;];&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The tax query and the order/orderby query parameter do not affect each other.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>radugidei on "Portfolio-Order -&#62; can I change it?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-order-can-i-change-it#post-60181</link>
			<pubDate>Thu, 14 Jun 2012 10:19:04 +0000</pubDate>
			<dc:creator>radugidei</dc:creator>
			<guid isPermaLink="false">60181@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;devin, i have taken the solution down for the moment, but here's the code part :&#60;/p&#62;
&#60;p&#62;the original code :&#60;/p&#62;
&#60;p&#62;if(isset($avia_config['new_query']['tax_query'][0]['terms'])) $includeArray = $avia_config['new_query']['tax_query'][0]['terms'];&#60;/p&#62;
&#60;p&#62;the proposed solution :&#60;/p&#62;
&#60;p&#62;if(isset($avia_config['new_query'])) {&#60;br /&#62;
    $avia_config['new_query']['orderby'] = &#34;date&#34;;&#60;br /&#62;
    $avia_config['new_query']['order'] = &#34;DESC&#34;;&#60;br /&#62;
    query_posts($avia_config['new_query']);&#60;br /&#62;
 }&#60;/p&#62;
&#60;p&#62;------&#60;br /&#62;
as you can see, the original code is different from what Dude suggested (which is the code from Angular if I'm not mistaken) and makes references to 'tax_query' and 'terms'. can the previous solution be adapted to reflect this new codebase ?&#60;/p&#62;
&#60;p&#62;cheers
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "Portfolio-Order -&#62; can I change it?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-order-can-i-change-it#post-60079</link>
			<pubDate>Wed, 13 Jun 2012 19:20:52 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">60079@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi radugidei,&#60;/p&#62;
&#60;p&#62;Can you provide a link to your site so I can see what you are describing live and inspect the code a bit.&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>radugidei on "Portfolio-Order -&#62; can I change it?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-order-can-i-change-it#post-60017</link>
			<pubDate>Wed, 13 Jun 2012 12:04:17 +0000</pubDate>
			<dc:creator>radugidei</dc:creator>
			<guid isPermaLink="false">60017@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;hi,&#60;br /&#62;
i've tried your solution and it works but it creates another problem : all the categories that are hidden in a portfolio now appear in the sorting menu. Can you please think of a fix ?&#60;br /&#62;
Cheers
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Portfolio-Order -&#62; can I change it?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-order-can-i-change-it#post-58501</link>
			<pubDate>Sat, 02 Jun 2012 06:37:52 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">58501@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi! &#60;/p&#62;
&#60;p&#62; Glad that I could help you :) &#60;/p&#62;
&#60;p&#62; Regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>FlorianEffelsberg on "Portfolio-Order -&#62; can I change it?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-order-can-i-change-it#post-58077</link>
			<pubDate>Wed, 30 May 2012 11:32:11 +0000</pubDate>
			<dc:creator>FlorianEffelsberg</dc:creator>
			<guid isPermaLink="false">58077@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;It works, thx a lot! &#60;/p&#62;
&#60;p&#62;The code you wanted me to replace was not exact the same, so for others: find the &#34;new-query&#34; in includes/loop-portfolio.php and replace this line by dudes solution. &#60;/p&#62;
&#60;p&#62;Thank you very much! That really makes the theme a lot better!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Portfolio-Order -&#62; can I change it?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-order-can-i-change-it#post-58045</link>
			<pubDate>Wed, 30 May 2012 05:46:44 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">58045@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Open up includes/loop-portfolio.php and replace:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if(isset($avia_config[&#38;#39;new_query&#38;#39;])) { query_posts($avia_config[&#38;#39;new_query&#38;#39;]); }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if(isset($avia_config[&#38;#39;new_query&#38;#39;])) {
    $avia_config[&#38;#39;new_query&#38;#39;][&#38;#39;orderby&#38;#39;] = &#38;quot;date&#38;quot;;
    $avia_config[&#38;#39;new_query&#38;#39;][&#38;#39;order&#38;#39;] = &#38;quot;DESC&#38;quot;;
    query_posts($avia_config[&#38;#39;new_query&#38;#39;]);
 }&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>impactdw on "Portfolio-Order -&#62; can I change it?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-order-can-i-change-it#post-57820</link>
			<pubDate>Mon, 28 May 2012 18:46:52 +0000</pubDate>
			<dc:creator>impactdw</dc:creator>
			<guid isPermaLink="false">57820@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I am having the same issue? Any help would be appreciated. Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>FlorianEffelsberg on "Portfolio-Order -&#62; can I change it?"</title>
			<link>http://www.kriesi.at/support/topic/portfolio-order-can-i-change-it#post-57804</link>
			<pubDate>Mon, 28 May 2012 16:37:24 +0000</pubDate>
			<dc:creator>FlorianEffelsberg</dc:creator>
			<guid isPermaLink="false">57804@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Is it possible to change the order of the portfolio-items? &#60;/p&#62;
&#60;p&#62;It´s sorted in a descending chronological order, but it would be MUCH better if it was sorted in an ascending order. (So that the newest portfolios are at the top of the page... :) For me as a photographer it is way better to present the newest portfolios at the top of the page. :) &#60;/p&#62;
&#60;p&#62;(I hope you understand what I mean) &#60;/p&#62;
&#60;p&#62;Thx a lot for your answers!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
