<?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: Adding a new function for &#039;post ordering&#039; based on custom field</title>
		<link>http://www.kriesi.at/support/topic/adding-a-new-function-for-post-ordering-based-on-custom-field</link>
		<description>Support Forum - Topic: Adding a new function for &#039;post ordering&#039; based on custom field</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 03:12:26 +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/adding-a-new-function-for-post-ordering-based-on-custom-field" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Adding a new function for &#039;post ordering&#039; based on custom field"</title>
			<link>http://www.kriesi.at/support/topic/adding-a-new-function-for-post-ordering-based-on-custom-field#post-29855</link>
			<pubDate>Wed, 19 Oct 2011 14:26:45 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">29855@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;See &#60;a href=&#34;http://www.kriesi.at/support/topic/post-ordering-base-on-custom-field&#34; rel=&#34;nofollow&#34;&#62;http://www.kriesi.at/support/topic/post-ordering-base-on-custom-field&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>daveyfifi on "Adding a new function for &#039;post ordering&#039; based on custom field"</title>
			<link>http://www.kriesi.at/support/topic/adding-a-new-function-for-post-ordering-based-on-custom-field#post-29740</link>
			<pubDate>Tue, 18 Oct 2011 15:49:56 +0000</pubDate>
			<dc:creator>daveyfifi</dc:creator>
			<guid isPermaLink="false">29740@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Nice!  Is she still putting this code into the functions.php file?  What does she mean by &#34;just before the loop&#34;?  Can you be specific where this code goes, thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Adding a new function for &#039;post ordering&#039; based on custom field"</title>
			<link>http://www.kriesi.at/support/topic/adding-a-new-function-for-post-ordering-based-on-custom-field#post-8925</link>
			<pubDate>Mon, 15 Nov 2010 07:24:43 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">8925@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks Helen for sharing your code here.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Helen Williams on "Adding a new function for &#039;post ordering&#039; based on custom field"</title>
			<link>http://www.kriesi.at/support/topic/adding-a-new-function-for-post-ordering-based-on-custom-field#post-8908</link>
			<pubDate>Sun, 14 Nov 2010 19:54:07 +0000</pubDate>
			<dc:creator>Helen Williams</dc:creator>
			<guid isPermaLink="false">8908@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
I actually did in a completely different way.&#60;br /&#62;
1. I created a post emaplte for the category I was working on.&#60;br /&#62;
2. I installed the plugin 'Date Field' &#60;a href=&#34;http://matth.eu/wordpress-date-field-plugin&#34; rel=&#34;nofollow&#34;&#62;http://matth.eu/wordpress-date-field-plugin&#60;/a&#62;. This enables a custom field to be created for your post with a date/time format.&#60;br /&#62;
3. Just before the loop I placed  &#60;/p&#62;
&#60;p&#62;     global $query_string;&#60;br /&#62;
     query_posts($query_string. '&#38;amp;orderby=meta_value&#38;amp;meta_key=date_value&#38;amp;order=ASC' ); &#60;/p&#62;
&#60;p&#62;Hope this helps someone.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Adding a new function for &#039;post ordering&#039; based on custom field"</title>
			<link>http://www.kriesi.at/support/topic/adding-a-new-function-for-post-ordering-based-on-custom-field#post-8575</link>
			<pubDate>Tue, 09 Nov 2010 08:02:35 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">8575@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;It seems that the link above doesn't work anymore... :-(
&#60;/p&#62;</description>
		</item>
		<item>
			<title>StaleLunch on "Adding a new function for &#039;post ordering&#039; based on custom field"</title>
			<link>http://www.kriesi.at/support/topic/adding-a-new-function-for-post-ordering-based-on-custom-field#post-8565</link>
			<pubDate>Mon, 08 Nov 2010 23:19:50 +0000</pubDate>
			<dc:creator>StaleLunch</dc:creator>
			<guid isPermaLink="false">8565@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I would love to know what Helen put in her functions.php file to get the posts to reorder by a date in the custom fields panel.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Adding a new function for &#039;post ordering&#039; based on custom field"</title>
			<link>http://www.kriesi.at/support/topic/adding-a-new-function-for-post-ordering-based-on-custom-field#post-7500</link>
			<pubDate>Sun, 24 Oct 2010 09:33:18 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">7500@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;You can copy and paste your code in every file you like - you can even create a new php file but don't forget to include it. I prefer to paste custom functions and filters into functions.php but you can also use lots_of_small_helpers.php
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Helen Williams on "Adding a new function for &#039;post ordering&#039; based on custom field"</title>
			<link>http://www.kriesi.at/support/topic/adding-a-new-function-for-post-ordering-based-on-custom-field#post-7499</link>
			<pubDate>Sun, 24 Oct 2010 09:26:07 +0000</pubDate>
			<dc:creator>Helen Williams</dc:creator>
			<guid isPermaLink="false">7499@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I have added a new function into lots_of_small_helpers.php. It basically checks which category the post is in and if it is in a particular one it orders them by customer field (thank you to &#60;a href=&#34;http://esdev.net/sort-events-by-date-in-wordpress-using-custom-fields/)&#34; rel=&#34;nofollow&#34;&#62;http://esdev.net/sort-events-by-date-in-wordpress-using-custom-fields/)&#60;/a&#62;.&#60;br /&#62;
I would like to verify that within the Newscast theme it is ok to place it in that lots_of_small_helpers.php or should I place it in the functions.php.&#60;br /&#62;
Many thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
