<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: WordPress Custom Fields: Listing A Series Of Posts</title>
	<atom:link href="http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts/feed" rel="self" type="application/rss+xml" />
	<link>http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts</link>
	<description>Life, Blogging, and WordPress</description>
	<lastBuildDate>Tue, 22 May 2012 18:04:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: WordPress Arena: A Blog for WordPress Developers, Designers and Blogger</title>
		<link>http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-1410320</link>
		<dc:creator>WordPress Arena: A Blog for WordPress Developers, Designers and Blogger</dc:creator>
		<pubDate>Sun, 29 Apr 2012 13:49:02 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-1410320</guid>
		<description>[...] WordPress Custom Fields: Listing a Series of Posts [...]</description>
		<content:encoded><![CDATA[<p>[...] WordPress Custom Fields: Listing a Series of Posts [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Smith</title>
		<link>http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-623945</link>
		<dc:creator>Jesse Smith</dc:creator>
		<pubDate>Tue, 21 Feb 2012 04:58:31 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-623945</guid>
		<description>Seems like a little frustration will work for you sometimes... either the theme or wordpress...or something else that got changed in the move is more concerned with capitalization on the keyword....

And, if anyone is looking to get the  inside the div of the post using standard theme 272, you have to modify loop.php rather than single.

Thanks Again!</description>
		<content:encoded><![CDATA[<p>Seems like a little frustration will work for you sometimes&#8230; either the theme or wordpress&#8230;or something else that got changed in the move is more concerned with capitalization on the keyword&#8230;.</p>
<p>And, if anyone is looking to get the  inside the div of the post using standard theme 272, you have to modify loop.php rather than single.</p>
<p>Thanks Again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Smith</title>
		<link>http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-623913</link>
		<dc:creator>Jesse Smith</dc:creator>
		<pubDate>Tue, 21 Feb 2012 04:36:16 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-623913</guid>
		<description>Gah..

I&#039;ve been using your code (Thank you!) for some time and love it...but after moving domains and upgrading to 3.3.1 and StandardTheme 2.7.2 it&#039;s not working anymore....

Standard theme changed the post call, but that&#039;s just figuring out how to make things pretty again, I can&#039;t figure out why the function doesn&#039;t seem to be doing anything.</description>
		<content:encoded><![CDATA[<p>Gah..</p>
<p>I&#8217;ve been using your code (Thank you!) for some time and love it&#8230;but after moving domains and upgrading to 3.3.1 and StandardTheme 2.7.2 it&#8217;s not working anymore&#8230;.</p>
<p>Standard theme changed the post call, but that&#8217;s just figuring out how to make things pretty again, I can&#8217;t figure out why the function doesn&#8217;t seem to be doing anything.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-491091</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Wed, 23 Nov 2011 06:43:51 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-491091</guid>
		<description>I can&#039;t say thank you enough!  Not only for this post but for all the other various bits and pieces of info you have scattered all over the web.  Your name comes up quite a bit and very few people explain things as well as you do.  As I am new to all this I find most of the info assumes that you are already a php wiz which I am not.

I was not looking forward to attempting the task explained in this post because all the info I found elsewhere was way to complicated.  I was able to impliment this in about 15 minutes and got it working straight away!  The only place I stumbled up was when I first pasted the code into functions.php and got an error.  Once I removed the &lt;?php tags it worked perfect.  I was hoping you could answer what is probably a stupid question for a beginner...

Why is a &lt;?php tag always shown in examples even when you don&#039;t need to be pasting it into the desired file?

I don&#039;t know if that is a stupid question or not but it is something that always confuses me.  Well, thanks again for your help on this one it has made things much easier!</description>
		<content:encoded><![CDATA[<p>I can&#8217;t say thank you enough!  Not only for this post but for all the other various bits and pieces of info you have scattered all over the web.  Your name comes up quite a bit and very few people explain things as well as you do.  As I am new to all this I find most of the info assumes that you are already a php wiz which I am not.</p>
<p>I was not looking forward to attempting the task explained in this post because all the info I found elsewhere was way to complicated.  I was able to impliment this in about 15 minutes and got it working straight away!  The only place I stumbled up was when I first pasted the code into functions.php and got an error.  Once I removed the &lt;?php tags it worked perfect.  I was hoping you could answer what is probably a stupid question for a beginner&#8230;</p>
<p>Why is a &lt;?php tag always shown in examples even when you don&#039;t need to be pasting it into the desired file?</p>
<p>I don&#039;t know if that is a stupid question or not but it is something that always confuses me.  Well, thanks again for your help on this one it has made things much easier!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kate M</title>
		<link>http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-332387</link>
		<dc:creator>Kate M</dc:creator>
		<pubDate>Thu, 28 Apr 2011 01:46:54 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-332387</guid>
		<description>Hi Rich, 

I&#039;d love to hear how you did it??

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Rich, </p>
<p>I&#8217;d love to hear how you did it??</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-221569</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Thu, 12 Aug 2010 14:47:18 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-221569</guid>
		<description>it&#039;s ok.. I sorted it!  Hadn&#039;t read page 2!</description>
		<content:encoded><![CDATA[<p>it&#8217;s ok.. I sorted it!  Hadn&#8217;t read page 2!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-221561</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Thu, 12 Aug 2010 13:50:50 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-221561</guid>
		<description>This is great, been searching for something like this for a while.  It&#039;s almost perfect for what I need it to do!

Is it possible to replace the outputed post ID with an image which is stored in a different custom field?

If you look at the post page here:  http://www.violetrosevintage.com/nang/?p=112

I want to replace the post id under the post with the post-icon for that artist.  Similar to the &#039;Recent Releases&#039; on the right, only specific to the artist of each post.

Is this possible?  I&#039;ve tried amending your code but having no luck!

Thanks</description>
		<content:encoded><![CDATA[<p>This is great, been searching for something like this for a while.  It&#8217;s almost perfect for what I need it to do!</p>
<p>Is it possible to replace the outputed post ID with an image which is stored in a different custom field?</p>
<p>If you look at the post page here:  <a href="http://www.violetrosevintage.com/nang/?p=112" rel="nofollow">http://www.violetrosevintage.com/nang/?p=112</a></p>
<p>I want to replace the post id under the post with the post-icon for that artist.  Similar to the &#8216;Recent Releases&#8217; on the right, only specific to the artist of each post.</p>
<p>Is this possible?  I&#8217;ve tried amending your code but having no luck!</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AlexVerse &#187; Blog Archive &#187; The Power of Wordpress Custom Fields</title>
		<link>http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-184739</link>
		<dc:creator>AlexVerse &#187; Blog Archive &#187; The Power of Wordpress Custom Fields</dc:creator>
		<pubDate>Fri, 09 Apr 2010 00:14:12 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-184739</guid>
		<description>[...] 14. WordPress Custom Fields: Listing a Series of Posts [...]</description>
		<content:encoded><![CDATA[<p>[...] 14. WordPress Custom Fields: Listing a Series of Posts [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vidar</title>
		<link>http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-184524</link>
		<dc:creator>Vidar</dc:creator>
		<pubDate>Tue, 06 Apr 2010 10:07:18 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-184524</guid>
		<description>Hi! Thanks for this nice script! 
I have created a little &quot;addon-script&quot;, if you want to change the order of the posts in a series. Maby you write 5 posts, but decide that the order of the posts is not the same order that you write the posts... Maby the last post you write should be the first post in the series. 

You have to add another custom field, in this script I use &quot;Series_part&quot;, to hold the order of the post you are editing.

Here is the sorting script:

&lt;pre&gt;&lt;code&gt;function sortseries($a, $b){
$aPart = get_post_meta($a-&gt;ID, &#039;Series_part&#039;, true);
$bPart = get_post_meta($b-&gt;ID, &#039;Series_part&#039;, true);
if($aPart ==$bPart){
return0;
}
return($aPart &lt;$bPart)?-1:1;
}&lt;/code&gt;&lt;/pre&gt;

And then you need to add the following line to the original script, so that the posts are sorted before they are printed.

&lt;pre&gt;&lt;code&gt;usort($series_posts, &quot;sortseries&quot;);&lt;/code&gt;&lt;/pre&gt;

 It has to be inserted right after: 

&lt;pre&gt;&lt;code&gt;$series_posts = get_posts($args);&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Hi! Thanks for this nice script!<br />
I have created a little &#8220;addon-script&#8221;, if you want to change the order of the posts in a series. Maby you write 5 posts, but decide that the order of the posts is not the same order that you write the posts&#8230; Maby the last post you write should be the first post in the series. </p>
<p>You have to add another custom field, in this script I use &#8220;Series_part&#8221;, to hold the order of the post you are editing.</p>
<p>Here is the sorting script:</p>
<pre><code>function sortseries($a, $b){
$aPart = get_post_meta($a-&gt;ID, 'Series_part', true);
$bPart = get_post_meta($b-&gt;ID, 'Series_part', true);
if($aPart ==$bPart){
return0;
}
return($aPart &lt;$bPart)?-1:1;
}</code></pre>
<p>And then you need to add the following line to the original script, so that the posts are sorted before they are printed.</p>
<pre><code>usort($series_posts, "sortseries");</code></pre>
<p> It has to be inserted right after: </p>
<pre><code>$series_posts = get_posts($args);</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan B</title>
		<link>http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-181629</link>
		<dc:creator>Nathan B</dc:creator>
		<pubDate>Tue, 16 Mar 2010 13:00:31 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/archives/2007/11/01/wordpress-custom-fields-listing-a-series-of-posts#comment-181629</guid>
		<description>Is there a way to show only the other items in the series--to exclude the title of the article you&#039;re currently viewing?</description>
		<content:encoded><![CDATA[<p>Is there a way to show only the other items in the series&#8211;to exclude the title of the article you&#8217;re currently viewing?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

