<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<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>THE MOLITOR FORUMS &#187; Topic: Sorting items</title>
		<link>http://www.themolitor.com/forums/topic/sorting-items</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Sorting items</description>
		<language>en-US</language>
		<pubDate>Wed, 06 May 2026 09:57:29 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/sorting-items" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "Sorting items"</title>
			<link>http://www.themolitor.com/forums/topic/sorting-items#post-29960</link>
			<pubDate>Wed, 02 Jul 2014 08:57:07 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">29960@http://www.themolitor.com/forums/</guid>
			<description><p>Updated above instructions. Please refresh.
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "Sorting items"</title>
			<link>http://www.themolitor.com/forums/topic/sorting-items#post-29959</link>
			<pubDate>Wed, 02 Jul 2014 08:56:03 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">29959@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Definitely!</p>
<p>1. Open up script.php and change the following on line 26 from this...</p>
<pre><code>$customList-&#62;query(&#039;showposts=5000&#38;cat=&#039;.$homeCat);</code></pre>
<p>...to this...</p>
<pre><code>$customList-&#62;query(&#039;showposts=5000&#38;cat=&#039;.$homeCat.&#039;&#38;orderby=name&#039;);</code></pre>
<p>2. Open up script_list.php and change the following on line 11 from this...</p>
<pre><code>if (have_posts()) {</code></pre>
<p>...to this...</p>
<pre><code>$customList = new WP_Query();
$customList-&#62;query(&#039;orderby=name&#039;);
if ($customList-&#62;have_posts()) {</code></pre>
<p>...and change the following on line 30 form this...</p>
<pre><code>while (have_posts()) : the_post();</code></pre>
<p>...to this...</p>
<pre><code>while ($customList-&#62;have_posts()) : $customList-&#62;the_post();</code></pre>
<p>Let me know if that helps.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Coasterjunkie on "Sorting items"</title>
			<link>http://www.themolitor.com/forums/topic/sorting-items#post-29954</link>
			<pubDate>Wed, 02 Jul 2014 00:09:14 +0000</pubDate>
			<dc:creator>Coasterjunkie</dc:creator>
			<guid isPermaLink="false">29954@http://www.themolitor.com/forums/</guid>
			<description><p>As I have seen items are sorted by date. Is there any opportunity to change the order (eg by name)?</p>
<p>Kind regards<br />
Hendrik
</p></description>
		</item>

	</channel>
</rss>
