<?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 $post Object Quick Reference</title>
	<atom:link href="http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/</link>
	<description></description>
	<lastBuildDate>Thu, 19 Jan 2012 17:05:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: How to get contents of one page into another &#171; WordPressUnabridged.com Home Page</title>
		<link>http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/#comment-97</link>
		<dc:creator>How to get contents of one page into another &#171; WordPressUnabridged.com Home Page</dc:creator>
		<pubDate>Wed, 23 Mar 2011 16:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=66#comment-97</guid>
		<description>[...] This function requires pagetitle as a parameter and retrieves the page as a default post object.  We are collecting the it inside a variable called $page.  Now we can access all the post object [...] </description>
		<content:encoded><![CDATA[<p>[...] This function requires pagetitle as a parameter and retrieves the page as a default post object.  We are collecting the it inside a variable called $page.  Now we can access all the post object [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/#comment-96</link>
		<dc:creator>John Crenshaw</dc:creator>
		<pubDate>Wed, 22 Dec 2010 19:39:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=66#comment-96</guid>
		<description>That&#039;s true, the $post object doesn&#039;t contain a permalink property, so you have to do just what you&#039;ve done here.</description>
		<content:encoded><![CDATA[<p>That&#8217;s true, the $post object doesn&#8217;t contain a permalink property, so you have to do just what you&#8217;ve done here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asdf</title>
		<link>http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/#comment-95</link>
		<dc:creator>asdf</dc:creator>
		<pubDate>Mon, 06 Dec 2010 06:58:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=66#comment-95</guid>
		<description>after some research - doesn&#039;t exist but you can do:

$link = get_permalink($post-&gt;ID);

:)</description>
		<content:encoded><![CDATA[<p>after some research &#8211; doesn&#8217;t exist but you can do:</p>
<p>$link = get_permalink($post-&gt;ID);<br />
 <img src='http://www.rlmseo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asdf</title>
		<link>http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/#comment-94</link>
		<dc:creator>asdf</dc:creator>
		<pubDate>Mon, 06 Dec 2010 06:50:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=66#comment-94</guid>
		<description>useful list except i see no property for a post&#039;s permalink. this would be a pretty essential one especially in custom loops for short code functions since they must return a string so have html show up in the right location of a post.

it must exist since inside a loop using WP_Query you can execute the_permalink()

Help?</description>
		<content:encoded><![CDATA[<p>useful list except i see no property for a post&#8217;s permalink. this would be a pretty essential one especially in custom loops for short code functions since they must return a string so have html show up in the right location of a post.</p>
<p>it must exist since inside a loop using WP_Query you can execute the_permalink()</p>
<p>Help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/#comment-93</link>
		<dc:creator>John Crenshaw</dc:creator>
		<pubDate>Wed, 14 Apr 2010 11:19:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=66#comment-93</guid>
		<description>That&#039;s just what the attached excel spreadsheet shows how to do. Use $post-&gt;post_title to get the title.</description>
		<content:encoded><![CDATA[<p>That&#8217;s just what the attached excel spreadsheet shows how to do. Use $post->post_title to get the title.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jene</title>
		<link>http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/#comment-92</link>
		<dc:creator>Jene</dc:creator>
		<pubDate>Tue, 13 Apr 2010 13:13:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=66#comment-92</guid>
		<description>for sure a good resource. However, could anyone please be so kind to list down available variables in &quot;Post&quot; array or &quot;key&quot;? I have been struggling finding a way to extract post title and then manipulate it...

thanks in advance for helping.</description>
		<content:encoded><![CDATA[<p>for sure a good resource. However, could anyone please be so kind to list down available variables in &#8220;Post&#8221; array or &#8220;key&#8221;? I have been struggling finding a way to extract post title and then manipulate it&#8230;</p>
<p>thanks in advance for helping.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neocamel</title>
		<link>http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/#comment-91</link>
		<dc:creator>Neocamel</dc:creator>
		<pubDate>Mon, 12 Apr 2010 19:20:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=66#comment-91</guid>
		<description>My man...  HUGE!!!  Thanks so much for the help!  Took me a while to figure out how to echo the title post inside a php query, thanks agin!</description>
		<content:encoded><![CDATA[<p>My man&#8230;  HUGE!!!  Thanks so much for the help!  Took me a while to figure out how to echo the title post inside a php query, thanks agin!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/#comment-90</link>
		<dc:creator>John Crenshaw</dc:creator>
		<pubDate>Wed, 31 Mar 2010 12:22:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=66#comment-90</guid>
		<description>Lost a bunch of files the other day...it&#039;s back now.</description>
		<content:encoded><![CDATA[<p>Lost a bunch of files the other day&#8230;it&#8217;s back now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/#comment-89</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 30 Mar 2010 03:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=66#comment-89</guid>
		<description>Great post - but the Excel file seems to have gone missing!</description>
		<content:encoded><![CDATA[<p>Great post &#8211; but the Excel file seems to have gone missing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/#comment-88</link>
		<dc:creator>John Crenshaw</dc:creator>
		<pubDate>Tue, 09 Mar 2010 20:59:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=66#comment-88</guid>
		<description>There&#039;s a link to download a spreadsheet at the end of the post.</description>
		<content:encoded><![CDATA[<p>There&#8217;s a link to download a spreadsheet at the end of the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mash</title>
		<link>http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/#comment-87</link>
		<dc:creator>mash</dc:creator>
		<pubDate>Tue, 09 Mar 2010 19:48:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=66#comment-87</guid>
		<description>looking for a list of keys for this array.

anyone?</description>
		<content:encoded><![CDATA[<p>looking for a list of keys for this array.</p>
<p>anyone?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/#comment-86</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Thu, 18 Jun 2009 14:42:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=66#comment-86</guid>
		<description>This is a great resource, I&#039;m eternally forgetting what the variable that I&#039;m after is called.  A couple of points:

post_guid does indeed hold the url to the post, but it is the REAL url (not the permalink version), so if you&#039;re linking to it from within the site, use get_permalink(), not guid.

menu_order holds the values for display order of pages (only works with pages, not posts).

post_content_filtered  exists to store a cached version of post content (most likely with all the the_content filters already applied).  If you&#039;ve got a plugin that runs a very resource heavy filter on content, you might consider caching the results with post_content_filtered, and calling that from the front end instead.</description>
		<content:encoded><![CDATA[<p>This is a great resource, I&#8217;m eternally forgetting what the variable that I&#8217;m after is called.  A couple of points:</p>
<p>post_guid does indeed hold the url to the post, but it is the REAL url (not the permalink version), so if you&#8217;re linking to it from within the site, use get_permalink(), not guid.</p>
<p>menu_order holds the values for display order of pages (only works with pages, not posts).</p>
<p>post_content_filtered  exists to store a cached version of post content (most likely with all the the_content filters already applied).  If you&#8217;ve got a plugin that runs a very resource heavy filter on content, you might consider caching the results with post_content_filtered, and calling that from the front end instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: max</title>
		<link>http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/#comment-85</link>
		<dc:creator>max</dc:creator>
		<pubDate>Wed, 17 Jun 2009 18:33:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=66#comment-85</guid>
		<description>I love you for this post.</description>
		<content:encoded><![CDATA[<p>I love you for this post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: d</title>
		<link>http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/#comment-84</link>
		<dc:creator>d</dc:creator>
		<pubDate>Tue, 09 Jun 2009 02:16:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=66#comment-84</guid>
		<description>post_type can also be &quot;attachment&quot;, post_status will be &quot;inherit&quot; then..

this is how wordpress holds images</description>
		<content:encoded><![CDATA[<p>post_type can also be &#8220;attachment&#8221;, post_status will be &#8220;inherit&#8221; then..</p>
<p>this is how wordpress holds images</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil Freo</title>
		<link>http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/#comment-83</link>
		<dc:creator>Phil Freo</dc:creator>
		<pubDate>Sat, 09 May 2009 16:12:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=66#comment-83</guid>
		<description>post_parent should give you the ID of a subpage&#039;s parent page.</description>
		<content:encoded><![CDATA[<p>post_parent should give you the ID of a subpage&#8217;s parent page.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

