<?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: is_subpage() WordPress function to check page parent</title> <atom:link href="http://www.mattvarone.com/wordpress/wordpress-check-page-parent/feed/" rel="self" type="application/rss+xml" /><link>http://www.mattvarone.com/wordpress/wordpress-check-page-parent/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-check-page-parent</link> <description>Creative Developer</description> <lastBuildDate>Sat, 07 Jan 2012 17:50:34 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Angela</title><link>http://www.mattvarone.com/wordpress/wordpress-check-page-parent/#comment-12325</link> <dc:creator>Angela</dc:creator> <pubDate>Thu, 05 Jan 2012 12:46:13 +0000</pubDate> <guid
isPermaLink="false">http://www.mattvarone.com/?p=694#comment-12325</guid> <description>Nice one to check if it is a subpage or not!</description> <content:encoded><![CDATA[<p>Nice one to check if it is a subpage or not!</p> ]]></content:encoded> </item> <item><title>By: Rahul</title><link>http://www.mattvarone.com/wordpress/wordpress-check-page-parent/#comment-12324</link> <dc:creator>Rahul</dc:creator> <pubDate>Tue, 03 Jan 2012 16:54:17 +0000</pubDate> <guid
isPermaLink="false">http://www.mattvarone.com/?p=694#comment-12324</guid> <description>How can I check current page is home page or other.
I try this syntax
if ( is_home() ) { echo &#039; class=&quot;current_page_item&quot;&#039;; }
But not working I use wordpress 3.3
Any idea...???</description> <content:encoded><![CDATA[<p>How can I check current page is home page or other.</p><p>I try this syntax</p><p>if ( is_home() ) { echo &#8216; class=&#8221;current_page_item&#8221;&#8216;; }</p><p>But not working I use wordpress 3.3</p><p>Any idea&#8230;???</p> ]]></content:encoded> </item> <item><title>By: Mohsin</title><link>http://www.mattvarone.com/wordpress/wordpress-check-page-parent/#comment-9943</link> <dc:creator>Mohsin</dc:creator> <pubDate>Sat, 10 Sep 2011 08:09:11 +0000</pubDate> <guid
isPermaLink="false">http://www.mattvarone.com/?p=694#comment-9943</guid> <description>I am just trying to learn wordpress from different online sources and it is good to get this post because this is one of the most common problem that new wordpress users face frequently. Thank you for this post.
-mohsinmallik@&lt;a href=&quot;http://millerhaus.com&quot; rel=&quot;nofollow&quot;&gt;Amish country bed and breakfast&lt;/a&gt; expert</description> <content:encoded><![CDATA[<p>I am just trying to learn wordpress from different online sources and it is good to get this post because this is one of the most common problem that new wordpress users face frequently. Thank you for this post.</p><p>-mohsinmallik@<a
href="http://millerhaus.com" rel="nofollow">Amish country bed and breakfast</a> expert</p> ]]></content:encoded> </item> <item><title>By: Maurice Thrower</title><link>http://www.mattvarone.com/wordpress/wordpress-check-page-parent/#comment-9495</link> <dc:creator>Maurice Thrower</dc:creator> <pubDate>Tue, 30 Aug 2011 06:42:27 +0000</pubDate> <guid
isPermaLink="false">http://www.mattvarone.com/?p=694#comment-9495</guid> <description>Like David said, why is his not a par of the WordPress codex? As useful as this is, it&#039;s a no brainer. In other words, even if you had no brain it would still make sense!</description> <content:encoded><![CDATA[<p>Like David said, why is his not a par of the WordPress codex? As useful as this is, it&#8217;s a no brainer. In other words, even if you had no brain it would still make sense!</p> ]]></content:encoded> </item> <item><title>By: ken</title><link>http://www.mattvarone.com/wordpress/wordpress-check-page-parent/#comment-3960</link> <dc:creator>ken</dc:creator> <pubDate>Tue, 29 Mar 2011 16:37:19 +0000</pubDate> <guid
isPermaLink="false">http://www.mattvarone.com/?p=694#comment-3960</guid> <description>Found this after giving up on the is_subpage version in the Codex. Works well except for one instance that was messing me up with their version too: if the subpage has a different page template than the parent page, it won&#039;t work.
seems to be a number of reasons why it hasn&#039;t entered in as a proper function in wordpress yet.</description> <content:encoded><![CDATA[<p>Found this after giving up on the is_subpage version in the Codex. Works well except for one instance that was messing me up with their version too: if the subpage has a different page template than the parent page, it won&#8217;t work.</p><p>seems to be a number of reasons why it hasn&#8217;t entered in as a proper function in wordpress yet.</p> ]]></content:encoded> </item> <item><title>By: Nathan</title><link>http://www.mattvarone.com/wordpress/wordpress-check-page-parent/#comment-3917</link> <dc:creator>Nathan</dc:creator> <pubDate>Wed, 16 Feb 2011 05:52:21 +0000</pubDate> <guid
isPermaLink="false">http://www.mattvarone.com/?p=694#comment-3917</guid> <description>Nice, I&#039;d left a comment awhile ago about doing this with your previous version of is_subpage qnd whaddya know, here it is.
Another question, if you don&#039;t mind: should I be able to use !is_subpage() and !is_subpage(10)? Doesn&#039;t seem to produce the desired affects...</description> <content:encoded><![CDATA[<p>Nice, I&#8217;d left a comment awhile ago about doing this with your previous version of is_subpage qnd whaddya know, here it is.</p><p>Another question, if you don&#8217;t mind: should I be able to use !is_subpage() and !is_subpage(10)? Doesn&#8217;t seem to produce the desired affects&#8230;</p> ]]></content:encoded> </item> </channel> </rss>
