<?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: Programmatically Pull Attachments from WordPress Posts</title>
	<atom:link href="http://www.aldenta.com/2009/05/05/programmatically-pull-attachments-from-wordpress-posts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aldenta.com/2009/05/05/programmatically-pull-attachments-from-wordpress-posts/</link>
	<description>Handcrafting the Web by John Ford</description>
	<lastBuildDate>Mon, 05 Jul 2010 12:28:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
	<item>
		<title>By: Julian</title>
		<link>http://www.aldenta.com/2009/05/05/programmatically-pull-attachments-from-wordpress-posts/comment-page-1/#comment-87846</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Mon, 05 Jul 2010 12:28:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.aldenta.com/?p=138#comment-87846</guid>
		<description>Hi there. Big thanks for the code, has been very useful so far.
My only problem at the moment is that when you remove an image from the post, it will still be ouptut in the loop. Would you know how to ommit that?

Many thanks again!

Julian</description>
		<content:encoded><![CDATA[<p>Hi there. Big thanks for the code, has been very useful so far.<br />
My only problem at the moment is that when you remove an image from the post, it will still be ouptut in the loop. Would you know how to ommit that?</p>
<p>Many thanks again!</p>
<p>Julian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bede</title>
		<link>http://www.aldenta.com/2009/05/05/programmatically-pull-attachments-from-wordpress-posts/comment-page-1/#comment-86883</link>
		<dc:creator>Bede</dc:creator>
		<pubDate>Fri, 25 Jun 2010 13:23:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.aldenta.com/?p=138#comment-86883</guid>
		<description>Just wanted to say a big thanks, been trying for ages to find a nice function to allow for pulling image info from a custom RSS2 feed. 

thanks!</description>
		<content:encoded><![CDATA[<p>Just wanted to say a big thanks, been trying for ages to find a nice function to allow for pulling image info from a custom RSS2 feed. </p>
<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dameian</title>
		<link>http://www.aldenta.com/2009/05/05/programmatically-pull-attachments-from-wordpress-posts/comment-page-1/#comment-82516</link>
		<dc:creator>Dameian</dc:creator>
		<pubDate>Thu, 20 May 2010 18:10:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.aldenta.com/?p=138#comment-82516</guid>
		<description>Hi John,

Thank you for this post! It helped me tremendously when putting together a custom gallery solution to meet a client&#039;s specific needs. I took your code and ran with it a bit to allow people to create custom galleries and/or insert different size preview images at various spots in their WP themes. Maybe it can be of use to people who find your post:

http://dameian.com/12/make-a-custom-wordpress-gallery-from-post-image-attachments/

I am not a super php guy by any means, so there may be a better way to go about it than what I&#039;ve done. Any comments or suggestions to help make it better are welcome.

Thanks again!</description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>Thank you for this post! It helped me tremendously when putting together a custom gallery solution to meet a client&#8217;s specific needs. I took your code and ran with it a bit to allow people to create custom galleries and/or insert different size preview images at various spots in their WP themes. Maybe it can be of use to people who find your post:</p>
<p><a href="http://dameian.com/12/make-a-custom-wordpress-gallery-from-post-image-attachments/" rel="nofollow">http://dameian.com/12/make-a-custom-wordpress-gallery-from-post-image-attachments/</a></p>
<p>I am not a super php guy by any means, so there may be a better way to go about it than what I&#8217;ve done. Any comments or suggestions to help make it better are welcome.</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeremy</title>
		<link>http://www.aldenta.com/2009/05/05/programmatically-pull-attachments-from-wordpress-posts/comment-page-1/#comment-79843</link>
		<dc:creator>jeremy</dc:creator>
		<pubDate>Mon, 03 May 2010 23:06:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.aldenta.com/?p=138#comment-79843</guid>
		<description>First of all, thanks John! - I was very happy to find this snippet of code to help me achieve what I&#039;m going for...

At this point, I&#039;m able to output thumbnails of attached images in the case that a post has images attached to it; what I&#039;m looking to do now is turn those thumbnail-sized images into links to the medium- or large-sized photos themselves.

Perhaps someone has already explained how to do this and I&#039;ve missed it (I&#039;m sorry to bother if that&#039;s the case!) - but I&#039;ve tried a number of the modifications explained on this page and haven&#039;t figured it out so far. Any ideas?</description>
		<content:encoded><![CDATA[<p>First of all, thanks John! &#8211; I was very happy to find this snippet of code to help me achieve what I&#8217;m going for&#8230;</p>
<p>At this point, I&#8217;m able to output thumbnails of attached images in the case that a post has images attached to it; what I&#8217;m looking to do now is turn those thumbnail-sized images into links to the medium- or large-sized photos themselves.</p>
<p>Perhaps someone has already explained how to do this and I&#8217;ve missed it (I&#8217;m sorry to bother if that&#8217;s the case!) &#8211; but I&#8217;ve tried a number of the modifications explained on this page and haven&#8217;t figured it out so far. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martino</title>
		<link>http://www.aldenta.com/2009/05/05/programmatically-pull-attachments-from-wordpress-posts/comment-page-1/#comment-67794</link>
		<dc:creator>Martino</dc:creator>
		<pubDate>Tue, 16 Mar 2010 12:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.aldenta.com/?p=138#comment-67794</guid>
		<description>Excellent, just what I wanted. Cheerio!</description>
		<content:encoded><![CDATA[<p>Excellent, just what I wanted. Cheerio!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stefano</title>
		<link>http://www.aldenta.com/2009/05/05/programmatically-pull-attachments-from-wordpress-posts/comment-page-1/#comment-67747</link>
		<dc:creator>stefano</dc:creator>
		<pubDate>Mon, 15 Mar 2010 19:55:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.aldenta.com/?p=138#comment-67747</guid>
		<description>i had to change

$attachments = get_children( array(&#039;post_parent&#039; =&gt; $post-&gt;ID, 

with

 $attachments = get_children( array(&#039;post_parent&#039; =&gt; get_the_ID(),

to make it work as I needed

thanks a lot</description>
		<content:encoded><![CDATA[<p>i had to change</p>
<p>$attachments = get_children( array(&#8216;post_parent&#8217; =&gt; $post-&gt;ID, </p>
<p>with</p>
<p> $attachments = get_children( array(&#8216;post_parent&#8217; =&gt; get_the_ID(),</p>
<p>to make it work as I needed</p>
<p>thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Ford</title>
		<link>http://www.aldenta.com/2009/05/05/programmatically-pull-attachments-from-wordpress-posts/comment-page-1/#comment-56178</link>
		<dc:creator>John Ford</dc:creator>
		<pubDate>Tue, 26 Jan 2010 17:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.aldenta.com/?p=138#comment-56178</guid>
		<description>@Dian, feel free to use the code snippets for whatever you need. I consider my WordPress code under the GPL just like WordPress - http://wordpress.org/about/gpl/</description>
		<content:encoded><![CDATA[<p>@Dian, feel free to use the code snippets for whatever you need. I consider my WordPress code under the GPL just like WordPress &#8211; <a href="http://wordpress.org/about/gpl/" rel="nofollow">http://wordpress.org/about/gpl/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dian</title>
		<link>http://www.aldenta.com/2009/05/05/programmatically-pull-attachments-from-wordpress-posts/comment-page-1/#comment-56127</link>
		<dc:creator>Dian</dc:creator>
		<pubDate>Mon, 25 Jan 2010 19:36:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.aldenta.com/?p=138#comment-56127</guid>
		<description>Hey John, thanks for these great pieces of code!

I&#039;ve successfully implemented the PDF module into my theme. 

Although I&#039;m not a true php developer my work required me to build my own theme and load it with features to meet client requirements.

The theme I&#039;m building is called O Theme (O stands for Open). 
It is still early development but as soon as it gets enough features I&#039;ll upload all source files and make it available for other designers. 

Do you mind if I use and modify your code? I&#039;m writing an article for each feature I load into the theme and of course If you don&#039;t mind I&#039;ll write one for this feature and link to this page?

Keep up the good work!</description>
		<content:encoded><![CDATA[<p>Hey John, thanks for these great pieces of code!</p>
<p>I&#8217;ve successfully implemented the PDF module into my theme. </p>
<p>Although I&#8217;m not a true php developer my work required me to build my own theme and load it with features to meet client requirements.</p>
<p>The theme I&#8217;m building is called O Theme (O stands for Open).<br />
It is still early development but as soon as it gets enough features I&#8217;ll upload all source files and make it available for other designers. </p>
<p>Do you mind if I use and modify your code? I&#8217;m writing an article for each feature I load into the theme and of course If you don&#8217;t mind I&#8217;ll write one for this feature and link to this page?</p>
<p>Keep up the good work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Ford</title>
		<link>http://www.aldenta.com/2009/05/05/programmatically-pull-attachments-from-wordpress-posts/comment-page-1/#comment-55209</link>
		<dc:creator>John Ford</dc:creator>
		<pubDate>Thu, 07 Jan 2010 18:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.aldenta.com/?p=138#comment-55209</guid>
		<description>@Michael, it would take looking at your code in more detail and doing some PHP debugging. Are you using the latest version of WordPress, 2.9.1?  The echo code is just an example. You&#039;d need to be familiar with PHP and how to use the information after that.</description>
		<content:encoded><![CDATA[<p>@Michael, it would take looking at your code in more detail and doing some PHP debugging. Are you using the latest version of WordPress, 2.9.1?  The echo code is just an example. You&#8217;d need to be familiar with PHP and how to use the information after that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.aldenta.com/2009/05/05/programmatically-pull-attachments-from-wordpress-posts/comment-page-1/#comment-54980</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 04 Jan 2010 20:33:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.aldenta.com/?p=138#comment-54980</guid>
		<description>When trying to get the title and caption, I end up with just the word Object on the front end. Do I need to change any other code? I&#039;m a bit confused how to access the info that I am getting from the echo command.</description>
		<content:encoded><![CDATA[<p>When trying to get the title and caption, I end up with just the word Object on the front end. Do I need to change any other code? I&#8217;m a bit confused how to access the info that I am getting from the echo command.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
