<?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: Query or show a specific post in wordpress</title> <atom:link href="http://www.tipsandtricks-hq.com/query-or-show-a-specific-post-in-wordpress-php-code-example-44/feed" rel="self" type="application/rss+xml" /><link>http://www.tipsandtricks-hq.com/query-or-show-a-specific-post-in-wordpress-php-code-example-44</link> <description>Tech tips, WordPress plugins, WordPress tweaks and Technical tips to build a better blog.</description> <lastBuildDate>Thu, 09 Feb 2012 03:41:53 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Jeyakumar</title><link>http://www.tipsandtricks-hq.com/query-or-show-a-specific-post-in-wordpress-php-code-example-44/comment-page-2#comment-51556</link> <dc:creator>Jeyakumar</dc:creator> <pubDate>Mon, 30 Jan 2012 06:20:28 +0000</pubDate> <guid
isPermaLink="false">http://www.tipsandtricks-hq.com/?p=44#comment-51556</guid> <description>Thanks for post this article .. This article saved my time.Keep posting like this</description> <content:encoded><![CDATA[<p>Thanks for post this article .. This article saved my time.Keep posting like this</p> ]]></content:encoded> </item> <item><title>By: svein husjord</title><link>http://www.tipsandtricks-hq.com/query-or-show-a-specific-post-in-wordpress-php-code-example-44/comment-page-2#comment-51191</link> <dc:creator>svein husjord</dc:creator> <pubDate>Fri, 20 Jan 2012 19:57:27 +0000</pubDate> <guid
isPermaLink="false">http://www.tipsandtricks-hq.com/?p=44#comment-51191</guid> <description>Hi! Thanks a lot for this very particular and helpful code snippet. It couldn&#039;t be clearer, or more helpful.</description> <content:encoded><![CDATA[<p>Hi! Thanks a lot for this very particular and helpful code snippet. It couldn&#8217;t be clearer, or more helpful.</p> ]]></content:encoded> </item> <item><title>By: admin</title><link>http://www.tipsandtricks-hq.com/query-or-show-a-specific-post-in-wordpress-php-code-example-44/comment-page-2#comment-50596</link> <dc:creator>admin</dc:creator> <pubDate>Thu, 05 Jan 2012 10:22:49 +0000</pubDate> <guid
isPermaLink="false">http://www.tipsandtricks-hq.com/?p=44#comment-50596</guid> <description>&lt;code&gt;
&lt;?php
$key_1_value = get_post_meta(&#039;POST-ID&#039;, &#039;Key_1&#039;, true); //Use this to retrieve the plain custom field value. Example: 1117,302,1309
$thePostIdArray = explode(&quot;,&quot;, $key_1_value); //Load the customer field value into an array (each comma will separate an item)
print_r($thePostIdArray); //Lets check the value of this array
?&gt;
&lt;/code&gt;</description> <content:encoded><![CDATA[<p><code><br
/> &lt;?php<br
/> $key_1_value = get_post_meta('POST-ID', 'Key_1', true); //Use this to retrieve the plain custom field value. Example: 1117,302,1309<br
/> $thePostIdArray = explode(",", $key_1_value); //Load the customer field value into an array (each comma will separate an item)<br
/> print_r($thePostIdArray); //Lets check the value of this array<br
/> ?&gt;<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: Andre</title><link>http://www.tipsandtricks-hq.com/query-or-show-a-specific-post-in-wordpress-php-code-example-44/comment-page-2#comment-50556</link> <dc:creator>Andre</dc:creator> <pubDate>Wed, 04 Jan 2012 15:43:25 +0000</pubDate> <guid
isPermaLink="false">http://www.tipsandtricks-hq.com/?p=44#comment-50556</guid> <description>For:$thePostIdArray = array(&quot;28&quot;,&quot;74&quot;, &quot;82&quot;, &quot;92&quot;);How would I make the post id&#039;s be loaded from a custom field in WordPress?For example I want to make a custom post type, and a field where a user can enter in order post ID&#039;s.Like this: 1117,302,1309 - and these will then dynamically be placed in the array?Is this possible?The post type, and field is easy, I&#039;m just not sure on how to pass the ID&#039;s from the field into the array.thoughts?</description> <content:encoded><![CDATA[<p>For:</p><p>$thePostIdArray = array(&#8220;28&#8243;,&#8221;74&#8243;, &#8220;82&#8243;, &#8220;92&#8243;);</p><p>How would I make the post id&#8217;s be loaded from a custom field in WordPress?</p><p>For example I want to make a custom post type, and a field where a user can enter in order post ID&#8217;s.</p><p>Like this: 1117,302,1309 &#8211; and these will then dynamically be placed in the array?</p><p>Is this possible?</p><p>The post type, and field is easy, I&#8217;m just not sure on how to pass the ID&#8217;s from the field into the array.</p><p>thoughts?</p> ]]></content:encoded> </item> <item><title>By: admin</title><link>http://www.tipsandtricks-hq.com/query-or-show-a-specific-post-in-wordpress-php-code-example-44/comment-page-2#comment-48575</link> <dc:creator>admin</dc:creator> <pubDate>Fri, 16 Dec 2011 09:56:40 +0000</pubDate> <guid
isPermaLink="false">http://www.tipsandtricks-hq.com/?p=44#comment-48575</guid> <description>First you would add the image URL as a custom field in that post. Then you can retrieve the value of that custom field and use it to show the image. Are you using a custom field?</description> <content:encoded><![CDATA[<p>First you would add the image URL as a custom field in that post. Then you can retrieve the value of that custom field and use it to show the image. Are you using a custom field?</p> ]]></content:encoded> </item> <item><title>By: Damir Calusic</title><link>http://www.tipsandtricks-hq.com/query-or-show-a-specific-post-in-wordpress-php-code-example-44/comment-page-2#comment-48567</link> <dc:creator>Damir Calusic</dc:creator> <pubDate>Fri, 16 Dec 2011 07:40:22 +0000</pubDate> <guid
isPermaLink="false">http://www.tipsandtricks-hq.com/?p=44#comment-48567</guid> <description>Hi,I wonder how to show the thumbnail image of the the post with example 2. Everything works but I dont know how to show the image of the post.&#039;Do you know how to display the image aswell?</description> <content:encoded><![CDATA[<p>Hi,</p><p>I wonder how to show the thumbnail image of the the post with example 2. Everything works but I dont know how to show the image of the post.&#8217;</p><p>Do you know how to display the image aswell?</p> ]]></content:encoded> </item> <item><title>By: Sanam Maharjan</title><link>http://www.tipsandtricks-hq.com/query-or-show-a-specific-post-in-wordpress-php-code-example-44/comment-page-2#comment-47158</link> <dc:creator>Sanam Maharjan</dc:creator> <pubDate>Wed, 07 Dec 2011 09:53:46 +0000</pubDate> <guid
isPermaLink="false">http://www.tipsandtricks-hq.com/?p=44#comment-47158</guid> <description>Thanks a lot. Worked as a charm :)</description> <content:encoded><![CDATA[<p>Thanks a lot. Worked as a charm <img
src='http://www.tipsandtricks-hq.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Edgars</title><link>http://www.tipsandtricks-hq.com/query-or-show-a-specific-post-in-wordpress-php-code-example-44/comment-page-2#comment-46771</link> <dc:creator>Edgars</dc:creator> <pubDate>Mon, 05 Dec 2011 00:24:43 +0000</pubDate> <guid
isPermaLink="false">http://www.tipsandtricks-hq.com/?p=44#comment-46771</guid> <description>Thanks a lot, saved my day when have_posts() for some strange reason started to break.and to previous comments -  for excerpt there is a the_excerpt() function, not post_excerpt.</description> <content:encoded><![CDATA[<p>Thanks a lot, saved my day when have_posts() for some strange reason started to break.</p><p>and to previous comments &#8211;  for excerpt there is a the_excerpt() function, not post_excerpt.</p> ]]></content:encoded> </item> <item><title>By: Adam</title><link>http://www.tipsandtricks-hq.com/query-or-show-a-specific-post-in-wordpress-php-code-example-44/comment-page-2#comment-46291</link> <dc:creator>Adam</dc:creator> <pubDate>Thu, 01 Dec 2011 08:55:06 +0000</pubDate> <guid
isPermaLink="false">http://www.tipsandtricks-hq.com/?p=44#comment-46291</guid> <description>thanks for sharing :)</description> <content:encoded><![CDATA[<p>thanks for sharing <img
src='http://www.tipsandtricks-hq.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: PowenKo, Wordpress, post, Display &#124; PowenKo</title><link>http://www.tipsandtricks-hq.com/query-or-show-a-specific-post-in-wordpress-php-code-example-44/comment-page-2#comment-45590</link> <dc:creator>PowenKo, Wordpress, post, Display &#124; PowenKo</dc:creator> <pubDate>Thu, 24 Nov 2011 23:33:04 +0000</pubDate> <guid
isPermaLink="false">http://www.tipsandtricks-hq.com/?p=44#comment-45590</guid> <description>[...] reference: http://www.tipsandtricks-hq.com/query-or-show-a-specific-post-in-wordpress-php-code-example-44 [...]</description> <content:encoded><![CDATA[<p>[...] reference: http://www.tipsandtricks-hq.com/query-or-show-a-specific-post-in-wordpress-php-code-example-44 [...]</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: www.tipsandtricks-hq.com @ 2012-02-09 00:59:25 -->
