<?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 - Tag: call - Recent Posts</title>
		<link>http://www.kriesi.at/support/tags/call</link>
		<description>Support Forum - Tag: call - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Sun, 26 May 2013 03:22:49 +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/tags/call" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Call post attachments of images"</title>
			<link>http://www.kriesi.at/support/topic/call-post-attachments-of-images#post-16948</link>
			<pubDate>Wed, 13 Apr 2011 15:04:13 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">16948@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Glad that I could help you :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tap-tap on "Call post attachments of images"</title>
			<link>http://www.kriesi.at/support/topic/call-post-attachments-of-images#post-16930</link>
			<pubDate>Wed, 13 Apr 2011 11:26:01 +0000</pubDate>
			<dc:creator>tap-tap</dc:creator>
			<guid isPermaLink="false">16930@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;thank You Dude :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Call post attachments of images"</title>
			<link>http://www.kriesi.at/support/topic/call-post-attachments-of-images#post-16873</link>
			<pubDate>Wed, 13 Apr 2011 04:52:52 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">16873@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
try changing the code you posted above to:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
$attachments = get_children( array(&#38;#39;post_parent&#38;#39; =&#38;gt; get_the_ID(), &#38;#39;post_type&#38;#39; =&#38;gt; &#38;#39;attachment&#38;#39;,  &#38;#39;numberposts&#38;#39; =&#38;gt; 1,  &#38;#39;post_mime_type&#38;#39; =&#38;gt; &#38;#39;image&#38;#39;) );
foreach ( $attachments as $attachment_id =&#38;gt; $attachment ) {
echo &#38;#39;&#38;lt;div style=&#38;quot;float:left;margin:0px 5px 0px 0px;background:#eeeeee;border:1px solid #bbb;padding:5px;&#38;quot; &#38;gt;&#38;#39;;
echo &#38;#39; &#38;#39; . wp_get_attachment_link( $attachment_id ) . &#38;#39;&#38;#39;;
echo &#38;#39;&#38;lt;/div&#38;gt;&#38;#39;;
} ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>tap-tap on "Call post attachments of images"</title>
			<link>http://www.kriesi.at/support/topic/call-post-attachments-of-images#post-16800</link>
			<pubDate>Mon, 11 Apr 2011 22:27:00 +0000</pubDate>
			<dc:creator>tap-tap</dc:creator>
			<guid isPermaLink="false">16800@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;crazywp or anyone who can contribute I would be very thankfull!&#60;/p&#62;
&#60;p&#62;How Can call only the 1st attachment from the current post to display them (mostly .jpg attachments) in the current post. &#60;/p&#62;
&#60;p&#62;this code grabs all the attachments (images) from the blog and displays it under the 1st attachment (picture):&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
$attachments = get_children( array('post_parent' =&#38;gt; get_the_ID(), 'post_type' =&#38;gt; 'attachment', 'post_mime_type' =&#38;gt; 'image') );&#60;br /&#62;
foreach ( $attachments as $attachment_id =&#38;gt; $attachment ) {&#60;br /&#62;
echo '&#38;lt;div style=&#34;float:left;margin:0px 5px 0px 0px;background:#eeeeee;border:1px solid #bbb;padding:5px;&#34; &#38;gt;';&#60;br /&#62;
echo ' ' . wp_get_attachment_link( $attachment_id ) . '';&#60;br /&#62;
echo '&#38;lt;/div&#38;gt;';&#60;br /&#62;
} ?&#38;gt;&#60;/p&#62;
&#60;p&#62;HOW CAN I EDIT THIS TO DISPLAY ONLY THE FIRST IMAGE NOT ALL IMAGES? THANK YOU VERY MUCH TO ALL IN ADVANCE :)!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crazywp on "Call post attachments of images"</title>
			<link>http://www.kriesi.at/support/topic/call-post-attachments-of-images#post-2466</link>
			<pubDate>Tue, 10 Aug 2010 13:25:32 +0000</pubDate>
			<dc:creator>crazywp</dc:creator>
			<guid isPermaLink="false">2466@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Well i figure the problem and fix it &#60;/p&#62;
&#60;p&#62;One last question &#60;/p&#62;
&#60;p&#62;im using Related post plugin but it require custom field to show image  do you know how to replace custom field to use attached images instead this will be awesome &#60;/p&#62;
&#60;p&#62;the code attached to this post   &#60;a href=&#34;http://pastebin.com/W3wANA5y&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/W3wANA5y&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You may look at the attachment code above too &#60;/p&#62;
&#60;p&#62;Thanks in advance
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crazywp on "Call post attachments of images"</title>
			<link>http://www.kriesi.at/support/topic/call-post-attachments-of-images#post-2367</link>
			<pubDate>Mon, 09 Aug 2010 15:49:06 +0000</pubDate>
			<dc:creator>crazywp</dc:creator>
			<guid isPermaLink="false">2367@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;there is the code in copy paste   &#60;a href=&#34;http://pastebin.com/KCBRSMq8&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/KCBRSMq8&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crazywp on "Call post attachments of images"</title>
			<link>http://www.kriesi.at/support/topic/call-post-attachments-of-images#post-2366</link>
			<pubDate>Mon, 09 Aug 2010 15:48:14 +0000</pubDate>
			<dc:creator>crazywp</dc:creator>
			<guid isPermaLink="false">2366@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;(code) &#38;lt;?php&#60;br /&#62;
$attachments = get_children( array('post_parent' =&#38;gt; get_the_ID(), 'post_type' =&#38;gt; 'attachment', 'post_mime_type' =&#38;gt; 'image') );&#60;br /&#62;
foreach ( $attachments as $attachment_id =&#38;gt; $attachment ) {&#60;br /&#62;
	echo '&#38;lt;ol class=&#34;related-posts&#34;&#38;gt;';&#60;br /&#62;
	echo ' ' . wp_get_attachment_link( $attachment_id ) . '';&#60;br /&#62;
			echo '';&#60;br /&#62;
} ?&#38;gt;  (/code) &#60;/p&#62;
&#60;p&#62;There is the code im using &#60;/p&#62;
&#60;p&#62;And this the example page&#60;br /&#62;
&#60;a href=&#34;http://charmthemes.com/showtime-business-and-portfolio-wordpress-theme/&#34; rel=&#34;nofollow&#34;&#62;http://charmthemes.com/showtime-business-and-portfolio-wordpress-theme/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;i want the images to beside each other and want also to remove the lightbox from it
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James Morrison on "Call post attachments of images"</title>
			<link>http://www.kriesi.at/support/topic/call-post-attachments-of-images#post-2365</link>
			<pubDate>Mon, 09 Aug 2010 15:45:34 +0000</pubDate>
			<dc:creator>James Morrison</dc:creator>
			<guid isPermaLink="false">2365@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;I don't understand your question, can you elaborate?&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
James
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crazywp on "Call post attachments of images"</title>
			<link>http://www.kriesi.at/support/topic/call-post-attachments-of-images#post-2293</link>
			<pubDate>Mon, 09 Aug 2010 05:01:11 +0000</pubDate>
			<dc:creator>crazywp</dc:creator>
			<guid isPermaLink="false">2293@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Call post attachments of images&#60;/p&#62;
&#60;p&#62;how i can call the attachments to display them after the lightbox it will be like adding another views
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
