<?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 - Tag: Aphabetical Sort - Recent Posts</title>
		<link>http://www.kriesi.at/support/tags/aphabetical-sort</link>
		<description>Support Forum - Tag: Aphabetical Sort - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Wed, 22 May 2013 06:18:08 +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/tags/aphabetical-sort" rel="self" type="application/rss+xml" />

		<item>
			<title>sethbutler on "Coherence Portfolio Sort by Title"</title>
			<link>http://www.kriesi.at/support/topic/coherence-portfolio-sort-by-title#post-79983</link>
			<pubDate>Tue, 16 Oct 2012 17:01:17 +0000</pubDate>
			<dc:creator>sethbutler</dc:creator>
			<guid isPermaLink="false">79983@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;A mighty thanks to you both for the easy workarounds! That custom page ID sort will prove to be VERY helpful!&#60;/p&#62;
&#60;p&#62;Cheers&#60;br /&#62;
Seth
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Coherence Portfolio Sort by Title"</title>
			<link>http://www.kriesi.at/support/topic/coherence-portfolio-sort-by-title#post-77856</link>
			<pubDate>Sat, 29 Sep 2012 07:22:52 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">77856@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Add following code to the bottom of functions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function loop_portfolio_query( $location )
{
   if ( $location == &#38;#39;loop-portfolio&#38;#39; )
    {
        global $avia_config;
         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;title&#38;quot;;
            $avia_config[&#38;#39;new_query&#38;#39;][&#38;#39;order&#38;#39;] = &#38;quot;ASC&#38;quot;;
            query_posts($avia_config[&#38;#39;new_query&#38;#39;]);
         }
   }
}
add_action( &#38;#39;avia_action_query_check&#38;#39; , &#38;#39;loop_portfolio_query&#38;#39;, 10, 1 );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You can replace ASC with DESC for a descending order. &#60;/p&#62;
&#60;p&#62;If you want to sort a certain portfolio page by using the &#34;random&#34; parameter try following code. Instead of 15 insert your portfolio page id (which should display the items/entries in a random order).&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function loop_portfolio_query( $location )
{
   if ( $location == &#38;#39;loop-portfolio&#38;#39; )
    {
        global $avia_config;
         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;title&#38;quot;;
            $avia_config[&#38;#39;new_query&#38;#39;][&#38;#39;order&#38;#39;] = &#38;quot;ASC&#38;quot;;

if(is_page(&#38;#39;15&#38;#39;))
{
            $avia_config[&#38;#39;new_query&#38;#39;][&#38;#39;orderby&#38;#39;] = &#38;quot;rand&#38;quot;;
}
            query_posts($avia_config[&#38;#39;new_query&#38;#39;]);
         }
   }
}
add_action( &#38;#39;avia_action_query_check&#38;#39; , &#38;#39;loop_portfolio_query&#38;#39;, 10, 1 );&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>theaklarsen on "Coherence Portfolio Sort by Title"</title>
			<link>http://www.kriesi.at/support/topic/coherence-portfolio-sort-by-title#post-77684</link>
			<pubDate>Thu, 27 Sep 2012 22:37:08 +0000</pubDate>
			<dc:creator>theaklarsen</dc:creator>
			<guid isPermaLink="false">77684@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I would like to second this request. I'm using Coherence as well.&#60;br /&#62;
I've tried the suggestion above - going into the editor in WordPress, modifying the helper-template-logic.php file  as noted and updating the file. Doesn't work, it still sorts by ID. &#60;/p&#62;
&#60;p&#62;If I could change the ID, that might help. But, it would be best if I could just have the portfolio items sort alphabetically by title.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ismael on "Coherence Portfolio Sort by Title"</title>
			<link>http://www.kriesi.at/support/topic/coherence-portfolio-sort-by-title#post-72277</link>
			<pubDate>Wed, 22 Aug 2012 10:31:12 +0000</pubDate>
			<dc:creator>Ismael</dc:creator>
			<guid isPermaLink="false">72277@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Open includes &#38;gt; helper-template-logic.php and find this code under avia_set_portfolio_query() function.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$avia_config[&#38;#39;new_query&#38;#39;] = array(	&#38;#39;orderby&#38;#39; 	=&#38;gt; &#38;#39;ID&#38;#39;,
												&#38;#39;order&#38;#39; 	=&#38;gt; &#38;#39;ASC&#38;#39;,
												&#38;#39;paged&#38;#39; 	=&#38;gt; get_query_var( &#38;#39;paged&#38;#39; ),
												&#38;#39;posts_per_page&#38;#39; =&#38;gt; $itemcount,
												&#38;#39;tax_query&#38;#39; =&#38;gt; array( 	array( 	&#38;#39;taxonomy&#38;#39; 	=&#38;gt; &#38;#39;portfolio_entries&#38;#39;,&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Change order from ASC to DESC, random. You can also visit &#60;a href=&#34;http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters&#60;/a&#62; for more options.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Ismael
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sethbutler on "Coherence Portfolio Sort by Title"</title>
			<link>http://www.kriesi.at/support/topic/coherence-portfolio-sort-by-title#post-72104</link>
			<pubDate>Tue, 21 Aug 2012 15:11:44 +0000</pubDate>
			<dc:creator>sethbutler</dc:creator>
			<guid isPermaLink="false">72104@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi All,&#60;/p&#62;
&#60;p&#62;Does anyone know of a simple way to resort the portfolio items alphabetically (by title) ?&#60;/p&#62;
&#60;p&#62;I'm guessing it would be an edit in the PHP loop for portfolio but didn't want to risk breaking the theme.&#60;/p&#62;
&#60;p&#62;Any ideas welcome!&#60;/p&#62;
&#60;p&#62;Many Thanks&#60;br /&#62;
Seth&#60;/p&#62;
&#60;p&#62;P.S. Also, is there any way to run a separate sort as random?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
