<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Reflection Media &#187; sorting</title>
	<atom:link href="http://www.reflectionmedia.ro/tag/sorting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.reflectionmedia.ro</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 01 Jul 2010 09:27:35 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WP Post Sorting Plugin</title>
		<link>http://www.reflectionmedia.ro/2008/12/wp-post-sorting-plugin/</link>
		<comments>http://www.reflectionmedia.ro/2008/12/wp-post-sorting-plugin/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 13:17:31 +0000</pubDate>
		<dc:creator>Gabriel</dc:creator>
				<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[alphabetically]]></category>
		<category><![CDATA[categories]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[Post]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[sort]]></category>
		<category><![CDATA[sorting]]></category>

		<guid isPermaLink="false">http://www.reflectionmedia.ro/?p=67</guid>
		<description><![CDATA[It all started a couple of days ago, when we were working on an aquarium fish website, and we had some trouble while trying to sort posts within certain categories alphabetically.
We found a plugin called Sort Category Posts By Title that seemed to be just what we needed, but when using it only with specific [...]]]></description>
			<content:encoded><![CDATA[<p>It all started a couple of days ago, when we were working on an aquarium fish website, and we had some trouble while trying to sort posts within certain categories alphabetically.</p>
<p>We found a plugin called <a href="http://www.mikesmullin.com/2006/05/23/wordpress-plugin-sort-categories-by-title">Sort Category Posts By Title</a> that seemed to be just what we needed, but when using it only with specific categories, it wouldn&#8217;t work if pretty permalinks were activated.</p>
<p>We also tried <a href="http://wordpress.org/extend/plugins/sobeks-post-in-category/">Sobek&#8217;s Posts in Category</a>, but found out that, even though it still gets about 10 downloads each day, it does not work for WordPress 2.6.3 or higher.</p>
<p>Fortunately, about that time we stumbled upon the <a href="http://codex.wordpress.org/Custom_Queries">Custom Queries</a> page in the Codex, the &#8216;encyclopedia of WordPress knowledge&#8217;. That&#8217;s where we found out that there exists a hook called &#8216;posts_orderby&#8217; designed to do exactly what we needed.</p>
<p>So we figured that since we&#8217;re planning to be using more of WordPress in the future as a general purpose Content Management System, we could also contribute by writing this much needed post sorting plugin.</p>
<p><strong>You can download via the official <a href="http://wordpress.org/extend/plugins/wp-post-sorting/">WordPress plugins repository</a>.</strong></p>
<p><em><strong>To-Do List</strong></em></p>
<ul>
<li>Sorting for author pages</li>
<li>Sorting for tag pages</li>
<li>Sorting for the main blog page</li>
<li>Sort by custom fields (?)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.reflectionmedia.ro/2008/12/wp-post-sorting-plugin/feed/</wfw:commentRss>
		<slash:comments>136</slash:comments>
		</item>
	</channel>
</rss>
