<?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: get page id and content with example &amp; code</title>
	<atom:link href="http://www.tanzilo.com/2008/12/19/wordpress-get-page-id-and-content-with-example-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tanzilo.com/2008/12/19/wordpress-get-page-id-and-content-with-example-code/</link>
	<description>Talks on Web Technology and Better Product Development</description>
	<lastBuildDate>Mon, 06 Feb 2012 02:05:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: lobster</title>
		<link>http://www.tanzilo.com/2008/12/19/wordpress-get-page-id-and-content-with-example-code/comment-page-1/#comment-915</link>
		<dc:creator>lobster</dc:creator>
		<pubDate>Tue, 29 Nov 2011 15:41:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=58#comment-915</guid>
		<description>your function is not great as it cutting off the paragraph tags of the content putting  instead . nl2br is what is causing it. 

Use 

post_content); echo $content;  ?&gt;

instead.</description>
		<content:encoded><![CDATA[<p>your function is not great as it cutting off the paragraph tags of the content putting  instead . nl2br is what is causing it. </p>
<p>Use </p>
<p>post_content); echo $content;  ?&gt;</p>
<p>instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eL</title>
		<link>http://www.tanzilo.com/2008/12/19/wordpress-get-page-id-and-content-with-example-code/comment-page-1/#comment-905</link>
		<dc:creator>eL</dc:creator>
		<pubDate>Wed, 19 Oct 2011 01:31:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=58#comment-905</guid>
		<description>Thanks you :)
Very helpful for my duties</description>
		<content:encoded><![CDATA[<p>Thanks you <img src='http://www.tanzilo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Very helpful for my duties</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: free php scripts</title>
		<link>http://www.tanzilo.com/2008/12/19/wordpress-get-page-id-and-content-with-example-code/comment-page-1/#comment-900</link>
		<dc:creator>free php scripts</dc:creator>
		<pubDate>Fri, 30 Sep 2011 12:26:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=58#comment-900</guid>
		<description>Thanks for sharing the great tutorial.. It&#039;s very helpful.</description>
		<content:encoded><![CDATA[<p>Thanks for sharing the great tutorial.. It&#8217;s very helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anon</title>
		<link>http://www.tanzilo.com/2008/12/19/wordpress-get-page-id-and-content-with-example-code/comment-page-1/#comment-899</link>
		<dc:creator>Anon</dc:creator>
		<pubDate>Thu, 29 Sep 2011 21:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=58#comment-899</guid>
		<description>Thanks! This was of great help :&gt;</description>
		<content:encoded><![CDATA[<p>Thanks! This was of great help :&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sumarno</title>
		<link>http://www.tanzilo.com/2008/12/19/wordpress-get-page-id-and-content-with-example-code/comment-page-1/#comment-894</link>
		<dc:creator>Sumarno</dc:creator>
		<pubDate>Tue, 20 Sep 2011 08:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=58#comment-894</guid>
		<description>Woow . . . .this post help me very much ! thanks broo</description>
		<content:encoded><![CDATA[<p>Woow . . . .this post help me very much ! thanks broo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul</title>
		<link>http://www.tanzilo.com/2008/12/19/wordpress-get-page-id-and-content-with-example-code/comment-page-1/#comment-859</link>
		<dc:creator>Rahul</dc:creator>
		<pubDate>Thu, 07 Jul 2011 16:26:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=58#comment-859</guid>
		<description>Great Post
This is really very helpfull to us

Thanks for sharing... :)</description>
		<content:encoded><![CDATA[<p>Great Post<br />
This is really very helpfull to us</p>
<p>Thanks for sharing&#8230; <img src='http://www.tanzilo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matteo</title>
		<link>http://www.tanzilo.com/2008/12/19/wordpress-get-page-id-and-content-with-example-code/comment-page-1/#comment-853</link>
		<dc:creator>Matteo</dc:creator>
		<pubDate>Fri, 24 Jun 2011 09:48:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=58#comment-853</guid>
		<description>Thanks for sharing your post! Really helpful!</description>
		<content:encoded><![CDATA[<p>Thanks for sharing your post! Really helpful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.tanzilo.com/2008/12/19/wordpress-get-page-id-and-content-with-example-code/comment-page-1/#comment-841</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sat, 04 Jun 2011 20:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=58#comment-841</guid>
		<description>Great post, very helpful.  Thanks.</description>
		<content:encoded><![CDATA[<p>Great post, very helpful.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.tanzilo.com/2008/12/19/wordpress-get-page-id-and-content-with-example-code/comment-page-1/#comment-765</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 08 Nov 2010 19:26:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=58#comment-765</guid>
		<description>@ Chiara

you can get and show the content of as many pages as you want in any page.
Just use &quot;query_posts&quot; function

For more, check:
http://codex.wordpress.org/Function_Reference/query_posts</description>
		<content:encoded><![CDATA[<p>@ Chiara</p>
<p>you can get and show the content of as many pages as you want in any page.<br />
Just use &#8220;query_posts&#8221; function</p>
<p>For more, check:<br />
<a href="http://codex.wordpress.org/Function_Reference/query_posts" rel="nofollow">http://codex.wordpress.org/Function_Reference/query_posts</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chiara</title>
		<link>http://www.tanzilo.com/2008/12/19/wordpress-get-page-id-and-content-with-example-code/comment-page-1/#comment-764</link>
		<dc:creator>Chiara</dc:creator>
		<pubDate>Mon, 08 Nov 2010 17:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=58#comment-764</guid>
		<description>Hello!
This is great! Thanx!

I have one question, maybe you can help me. I keep trying things but still no success! 

I got four boxes on my home page, and in each one, my client wants now to display content from 4 static pages. I am using the following code to do that:

post_excerpt; 
$title = $page_data-&gt;post_title; 
echo $page_data-&gt;post_title;
echo $page_data-&gt;post_excerpt;                    
?&gt; 

They want also to have the featured image to display in the box, together with the title and the excerpt. How can I achieve that?

I can&#039;t have the content to display, because they want the image to stay a fix size, and the page content might have more than one image, but only the featured one should show up in the home page. 

Thank you!

Chiara</description>
		<content:encoded><![CDATA[<p>Hello!<br />
This is great! Thanx!</p>
<p>I have one question, maybe you can help me. I keep trying things but still no success! </p>
<p>I got four boxes on my home page, and in each one, my client wants now to display content from 4 static pages. I am using the following code to do that:</p>
<p>post_excerpt;<br />
$title = $page_data-&gt;post_title;<br />
echo $page_data-&gt;post_title;<br />
echo $page_data-&gt;post_excerpt;<br />
?&gt; </p>
<p>They want also to have the featured image to display in the box, together with the title and the excerpt. How can I achieve that?</p>
<p>I can&#8217;t have the content to display, because they want the image to stay a fix size, and the page content might have more than one image, but only the featured one should show up in the home page. </p>
<p>Thank you!</p>
<p>Chiara</p>
]]></content:encoded>
	</item>
</channel>
</rss>

