<?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: Retrieving Post/Page Meta Information within a Customized WordPress Query</title>
	<atom:link href="http://www.paulhobson.com/wordpress/2010/03/retrieving-postpage-meta-information-within-a-customized-wordpress-query/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paulhobson.com/wordpress/2010/03/retrieving-postpage-meta-information-within-a-customized-wordpress-query/</link>
	<description>My Thoughts About God, Government, Geeks, Games, and Goofy.</description>
	<lastBuildDate>Wed, 08 Feb 2012 16:18:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Paul</title>
		<link>http://www.paulhobson.com/wordpress/2010/03/retrieving-postpage-meta-information-within-a-customized-wordpress-query/comment-page-1/#comment-2343</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 19 Nov 2010 00:29:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulhobson.com/wordpress/?p=3658#comment-2343</guid>
		<description>Hey John, 

Yes you&#039;ll still have to close your loop. The code sample I provided should be used as the core functionality of what you&#039;re trying to accomplish, but it still needs to be nested within proper Wordpress syntax. Try closing your loop, if you are still having trouble after this, let me know and I&#039;ll see if I can help you out.</description>
		<content:encoded><![CDATA[<p>Hey John, </p>
<p>Yes you&#8217;ll still have to close your loop. The code sample I provided should be used as the core functionality of what you&#8217;re trying to accomplish, but it still needs to be nested within proper WordPress syntax. Try closing your loop, if you are still having trouble after this, let me know and I&#8217;ll see if I can help you out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny</title>
		<link>http://www.paulhobson.com/wordpress/2010/03/retrieving-postpage-meta-information-within-a-customized-wordpress-query/comment-page-1/#comment-2332</link>
		<dc:creator>Johnny</dc:creator>
		<pubDate>Tue, 16 Nov 2010 14:13:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulhobson.com/wordpress/?p=3658#comment-2332</guid>
		<description>Hey Paul!

I have tried to get this working, but i can&#039;t!
I try to implement it to my thematic child theme and i have this:
Should there be an endwhile; somewhere?

function get_my_fantastic_events() { 
$wp_query = null;
$wp_query = new WP_Query();
$wp_query-&gt;query(&#039;showposts=3&amp;cat=1&amp;paged=&#039;.$paged);

if($wp_query-&gt;have_posts()):
while($wp_query-&gt;have_posts()):$wp_query-&gt;the_post();
global $post; 

// access meta information referencing the global post object
$date = get_post_meta(get_the_ID(), &#039;date&#039;, true);
echo $date;
}
add_action(&#039;thematic_betweenmainasides&#039;, &#039;get_my_fantastic_events&#039;);</description>
		<content:encoded><![CDATA[<p>Hey Paul!</p>
<p>I have tried to get this working, but i can&#8217;t!<br />
I try to implement it to my thematic child theme and i have this:<br />
Should there be an endwhile; somewhere?</p>
<p>function get_my_fantastic_events() {<br />
$wp_query = null;<br />
$wp_query = new WP_Query();<br />
$wp_query-&gt;query(&#8216;showposts=3&amp;cat=1&amp;paged=&#8217;.$paged);</p>
<p>if($wp_query-&gt;have_posts()):<br />
while($wp_query-&gt;have_posts()):$wp_query-&gt;the_post();<br />
global $post; </p>
<p>// access meta information referencing the global post object<br />
$date = get_post_meta(get_the_ID(), &#8216;date&#8217;, true);<br />
echo $date;<br />
}<br />
add_action(&#8216;thematic_betweenmainasides&#8217;, &#8216;get_my_fantastic_events&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.paulhobson.com/wordpress/2010/03/retrieving-postpage-meta-information-within-a-customized-wordpress-query/comment-page-1/#comment-1757</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sat, 03 Jul 2010 18:04:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulhobson.com/wordpress/?p=3658#comment-1757</guid>
		<description>Hi, 

My first impression is that you&#039;re not updating the &quot;single.php&quot; file with the appropriate code to display your custom field. Wordpress utilizes two separate pages to display the &quot;index&quot; content (usually index.php) and single &quot;page&quot; or &quot;post&quot; content (usually single.php). If you aren&#039;t already, try adding the get_post_meta function to the &quot;single.php&quot; file and see if that displays your tag line correctly. 

If it doesn&#039;t, or you&#039;ve done this already and it still doesn&#039;t work, let me know. I&#039;m more than happy to help you try and figure this out.</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>My first impression is that you&#8217;re not updating the &#8220;single.php&#8221; file with the appropriate code to display your custom field. WordPress utilizes two separate pages to display the &#8220;index&#8221; content (usually index.php) and single &#8220;page&#8221; or &#8220;post&#8221; content (usually single.php). If you aren&#8217;t already, try adding the get_post_meta function to the &#8220;single.php&#8221; file and see if that displays your tag line correctly. </p>
<p>If it doesn&#8217;t, or you&#8217;ve done this already and it still doesn&#8217;t work, let me know. I&#8217;m more than happy to help you try and figure this out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manu3l9816</title>
		<link>http://www.paulhobson.com/wordpress/2010/03/retrieving-postpage-meta-information-within-a-customized-wordpress-query/comment-page-1/#comment-1755</link>
		<dc:creator>manu3l9816</dc:creator>
		<pubDate>Sat, 03 Jul 2010 12:08:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulhobson.com/wordpress/?p=3658#comment-1755</guid>
		<description>Please could you help me with this I&#039;m trying to do something similar but is not working.
i have a custom field called tagline and works well for the index, the blog and all the pages you create with wordpress but for example you create a page called blog to hold all the posts and create a custom field, the blog shows correctly the custom field but if you click on any of the post will take you to a single page that does not have the tagline.

my question is is it possible to create a get_post_meta on the single page to show the tagline of the blog page? 

I&#039;ve been searching for two weeks and haven&#039;t found a solution to this, I&#039;m still learning so please if you have time give me a hand with this problem.

Thank&#039;s and great blog</description>
		<content:encoded><![CDATA[<p>Please could you help me with this I&#8217;m trying to do something similar but is not working.<br />
i have a custom field called tagline and works well for the index, the blog and all the pages you create with wordpress but for example you create a page called blog to hold all the posts and create a custom field, the blog shows correctly the custom field but if you click on any of the post will take you to a single page that does not have the tagline.</p>
<p>my question is is it possible to create a get_post_meta on the single page to show the tagline of the blog page? </p>
<p>I&#8217;ve been searching for two weeks and haven&#8217;t found a solution to this, I&#8217;m still learning so please if you have time give me a hand with this problem.</p>
<p>Thank&#8217;s and great blog</p>
]]></content:encoded>
	</item>
</channel>
</rss>

