<?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: On Portfolio sorting - Remove Date/Name sort</title>
		<link>http://www.kriesi.at/support/topic/on-portfolio-sorting-remove-datename-sort</link>
		<description>Support Forum - Topic: On Portfolio sorting - Remove Date/Name sort</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 21:12:12 +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/on-portfolio-sorting-remove-datename-sort" rel="self" type="application/rss+xml" />

		<item>
			<title>James Morrison on "On Portfolio sorting - Remove Date/Name sort"</title>
			<link>http://www.kriesi.at/support/topic/on-portfolio-sorting-remove-datename-sort#post-1472</link>
			<pubDate>Fri, 30 Jul 2010 11:49:02 +0000</pubDate>
			<dc:creator>James Morrison</dc:creator>
			<guid isPermaLink="false">1472@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey! &#60;/p&#62;
&#60;p&#62; Awesome, marking this as resolved and closing the topic.&#60;/p&#62;
&#60;p&#62;If you have any other questions, please open a new topic. &#60;/p&#62;
&#60;p&#62; Regards,&#60;br /&#62;
James
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cwrigley on "On Portfolio sorting - Remove Date/Name sort"</title>
			<link>http://www.kriesi.at/support/topic/on-portfolio-sorting-remove-datename-sort#post-1421</link>
			<pubDate>Thu, 29 Jul 2010 19:29:33 +0000</pubDate>
			<dc:creator>cwrigley</dc:creator>
			<guid isPermaLink="false">1421@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Bingo.&#60;/p&#62;
&#60;p&#62;Thank you for the great support.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James Morrison on "On Portfolio sorting - Remove Date/Name sort"</title>
			<link>http://www.kriesi.at/support/topic/on-portfolio-sorting-remove-datename-sort#post-1371</link>
			<pubDate>Thu, 29 Jul 2010 14:32:01 +0000</pubDate>
			<dc:creator>James Morrison</dc:creator>
			<guid isPermaLink="false">1371@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi! &#60;/p&#62;
&#60;p&#62; Ok change this code:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$query_string .= &#38;quot;&#38;amp;orderby=title&#38;quot;;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;to this to change the order:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$query_string .= &#38;quot;&#38;amp;orderby=title&#38;amp;order=ASC&#38;quot;;&#60;/code&#62; &#60;/p&#62;
&#60;p&#62; Regards,&#60;br /&#62;
James
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cwrigley on "On Portfolio sorting - Remove Date/Name sort"</title>
			<link>http://www.kriesi.at/support/topic/on-portfolio-sorting-remove-datename-sort#post-1307</link>
			<pubDate>Thu, 29 Jul 2010 04:15:48 +0000</pubDate>
			<dc:creator>cwrigley</dc:creator>
			<guid isPermaLink="false">1307@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;This works except the sort by name is in reverse order.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James Morrison on "On Portfolio sorting - Remove Date/Name sort"</title>
			<link>http://www.kriesi.at/support/topic/on-portfolio-sorting-remove-datename-sort#post-671</link>
			<pubDate>Sat, 24 Jul 2010 14:16:54 +0000</pubDate>
			<dc:creator>James Morrison</dc:creator>
			<guid isPermaLink="false">671@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Whoops! I made a mistake.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$query_string .= &#38;quot;&#38;amp;post_type=portfolio&#38;quot;;
$query_string .= &#38;quot;orderby=title&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;should be:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$query_string .= &#38;quot;&#38;amp;post_type=portfolio&#38;quot;;
$query_string .= &#38;quot;&#38;amp;orderby=title&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I was missing the &#38;amp; so post_type showed up as portfolioorderby which is why it didn't work.&#60;/p&#62;
&#60;p&#62;Sorry about that, this should fix the problem.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cwrigley on "On Portfolio sorting - Remove Date/Name sort"</title>
			<link>http://www.kriesi.at/support/topic/on-portfolio-sorting-remove-datename-sort#post-593</link>
			<pubDate>Fri, 23 Jul 2010 20:09:12 +0000</pubDate>
			<dc:creator>cwrigley</dc:creator>
			<guid isPermaLink="false">593@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks for the reply.  But when I make the change in your step1, it breaks the portfolio page so nothing appears on the page at all.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James Morrison on "On Portfolio sorting - Remove Date/Name sort"</title>
			<link>http://www.kriesi.at/support/topic/on-portfolio-sorting-remove-datename-sort#post-515</link>
			<pubDate>Fri, 23 Jul 2010 12:01:42 +0000</pubDate>
			<dc:creator>James Morrison</dc:creator>
			<guid isPermaLink="false">515@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;There are a couple of edits you need to make to template_portfolio.php to do this.&#60;/p&#62;
&#60;p&#62;1.) You need to change this (around line 16):&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$query_string .= &#38;quot;&#38;amp;post_type=portfolio&#38;quot;;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;to this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$query_string .= &#38;quot;&#38;amp;post_type=portfolio&#38;quot;;
$query_string .= &#38;quot;&#38;amp;orderby=title&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to order by Name.&#60;/p&#62;
&#60;p&#62;2.) You need to change this (around line 61):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$output .= &#38;quot;&#38;lt;div class=&#38;#39;sort_by_val&#38;#39;&#38;gt;&#38;quot;;
$output .= &#38;quot;&#38;lt;span&#38;gt;&#38;quot;.__(&#38;#39;Sort by:&#38;#39;,&#38;#39;avisio&#38;#39;).&#38;quot;&#38;lt;/span&#38;gt;&#38;quot;;
$output .= &#38;quot;&#38;lt;a href=&#38;#39;#&#38;#39; id=&#38;#39;date_sort&#38;#39; class=&#38;#39;active_sort reversed&#38;#39;&#38;gt;&#38;quot;.__(&#38;#39;Date&#38;#39;,&#38;#39;avisio&#38;#39;).&#38;quot;&#38;lt;/a&#38;gt;&#38;quot;;
$output .= &#38;quot;&#38;lt;a href=&#38;#39;#&#38;#39; id=&#38;#39;name_sort&#38;#39;&#38;gt;&#38;quot;.__(&#38;#39;Name&#38;#39;,&#38;#39;avisio&#38;#39;).&#38;quot;&#38;lt;/a&#38;gt;&#38;quot;;
$output .= &#38;quot;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$output .= &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;** Edited by James Morrison to correct error in code (see post below for details) **
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cwrigley on "On Portfolio sorting - Remove Date/Name sort"</title>
			<link>http://www.kriesi.at/support/topic/on-portfolio-sorting-remove-datename-sort#post-486</link>
			<pubDate>Fri, 23 Jul 2010 06:11:29 +0000</pubDate>
			<dc:creator>cwrigley</dc:creator>
			<guid isPermaLink="false">486@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I love the sorting feature you have in this theme for the portfolio.  Very nice!&#60;/p&#62;
&#60;p&#62;But I have no use for the Date / Name sort.  I would like 2 things:&#60;/p&#62;
&#60;p&#62;1. Default the sort by Name (not date)&#60;br /&#62;
2. Remove or hide the Name/Date sort buttons without removing the category sort buttons
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
