<?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 for Jorge Pedret</title>
	<atom:link href="http://jorgepedret.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://jorgepedret.com</link>
	<description>Freelance Web Developer + Front End Designer</description>
	<lastBuildDate>Fri, 11 May 2012 07:35:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on Get pages by template name in WordPress by Jesper</title>
		<link>http://jorgepedret.com/web-development/get-pages-by-template-name-in-wordpress/comment-page-1/#comment-36305</link>
		<dc:creator>Jesper</dc:creator>
		<pubDate>Fri, 11 May 2012 07:35:06 +0000</pubDate>
		<guid isPermaLink="false">http://jorgepedret.com/?p=535#comment-36305</guid>
		<description>Thanx Jorge and Alyssa!
‘hierarchical’ =&gt; 0 was the extra magic</description>
		<content:encoded><![CDATA[<p>Thanx Jorge and Alyssa!<br />
‘hierarchical’ =&gt; 0 was the extra magic</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Get pages by template name in WordPress by Jorge Pedret</title>
		<link>http://jorgepedret.com/web-development/get-pages-by-template-name-in-wordpress/comment-page-1/#comment-34688</link>
		<dc:creator>Jorge Pedret</dc:creator>
		<pubDate>Wed, 11 Apr 2012 18:01:05 +0000</pubDate>
		<guid isPermaLink="false">http://jorgepedret.com/?p=535#comment-34688</guid>
		<description>Hey Alyssa, thanks for posting a solution for the problem :-) I&#039;m happy you got it working.</description>
		<content:encoded><![CDATA[<p>Hey Alyssa, thanks for posting a solution for the problem <img src='http://jorgepedret.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  I&#8217;m happy you got it working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Get pages by template name in WordPress by Alyssa</title>
		<link>http://jorgepedret.com/web-development/get-pages-by-template-name-in-wordpress/comment-page-1/#comment-34687</link>
		<dc:creator>Alyssa</dc:creator>
		<pubDate>Wed, 11 Apr 2012 17:42:27 +0000</pubDate>
		<guid isPermaLink="false">http://jorgepedret.com/?p=535#comment-34687</guid>
		<description>I figured out a fix to my problem,  you have to add 

&#039;hierarchical&#039; =&gt; 0

So it would be:

$pages = get_pages(array(
	&#039;meta_key&#039; =&gt; &#039;_wp_page_template&#039;,
	&#039;meta_value&#039; =&gt; &#039;page-quote.php&#039;,
        &#039;hierarchical&#039; =&gt; 0
));
foreach($pages as $page){
	echo $page-&gt;post_title.&#039;&#039;;
}</description>
		<content:encoded><![CDATA[<p>I figured out a fix to my problem,  you have to add </p>
<p>&#8216;hierarchical&#8217; =&gt; 0</p>
<p>So it would be:</p>
<p>$pages = get_pages(array(<br />
	&#8216;meta_key&#8217; =&gt; &#8216;_wp_page_template&#8217;,<br />
	&#8216;meta_value&#8217; =&gt; &#8216;page-quote.php&#8217;,<br />
        &#8216;hierarchical&#8217; =&gt; 0<br />
));<br />
foreach($pages as $page){<br />
	echo $page-&gt;post_title.&#8221;;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Get pages by template name in WordPress by Andy Adams</title>
		<link>http://jorgepedret.com/web-development/get-pages-by-template-name-in-wordpress/comment-page-1/#comment-33665</link>
		<dc:creator>Andy Adams</dc:creator>
		<pubDate>Sat, 24 Mar 2012 00:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://jorgepedret.com/?p=535#comment-33665</guid>
		<description>Thanks for the tip, much appreciated :).</description>
		<content:encoded><![CDATA[<p>Thanks for the tip, much appreciated <img src='http://jorgepedret.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to translate WordPress&#8217; admin to a different language? by Oscar</title>
		<link>http://jorgepedret.com/wordpress/how-to-translate-wordpress-admin-to-a-different-language/comment-page-1/#comment-31724</link>
		<dc:creator>Oscar</dc:creator>
		<pubDate>Sat, 03 Mar 2012 18:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://jorgepedret.com/?p=647#comment-31724</guid>
		<description>excelente aporte :) jeje !! siempre se aprende algo de buenos post ;)</description>
		<content:encoded><![CDATA[<p>excelente aporte <img src='http://jorgepedret.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  jeje !! siempre se aprende algo de buenos post <img src='http://jorgepedret.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Get pages by template name in WordPress by Alyssa</title>
		<link>http://jorgepedret.com/web-development/get-pages-by-template-name-in-wordpress/comment-page-1/#comment-31580</link>
		<dc:creator>Alyssa</dc:creator>
		<pubDate>Thu, 01 Mar 2012 22:09:11 +0000</pubDate>
		<guid isPermaLink="false">http://jorgepedret.com/?p=535#comment-31580</guid>
		<description>wow I have figured out why it&#039;s not working but cannot fix it... the templates that work are only the templates that have no parent page. But all the pages with this template need to have parent pages. Why does having a parent to the page prevent this code from working?</description>
		<content:encoded><![CDATA[<p>wow I have figured out why it&#8217;s not working but cannot fix it&#8230; the templates that work are only the templates that have no parent page. But all the pages with this template need to have parent pages. Why does having a parent to the page prevent this code from working?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Get pages by template name in WordPress by Alyssa</title>
		<link>http://jorgepedret.com/web-development/get-pages-by-template-name-in-wordpress/comment-page-1/#comment-31575</link>
		<dc:creator>Alyssa</dc:creator>
		<pubDate>Thu, 01 Mar 2012 21:13:19 +0000</pubDate>
		<guid isPermaLink="false">http://jorgepedret.com/?p=535#comment-31575</guid>
		<description>Hi I thought I replied to you before. The link is http://www.kccaribbeanservices.com/latest

Actually It works with some page templates and not with others but I&#039;m not sure why. The template that isn&#039;t working is being used on over 200 published pages. I double checked spelling and everything is correct. I am completely baffled!</description>
		<content:encoded><![CDATA[<p>Hi I thought I replied to you before. The link is <a href="http://www.kccaribbeanservices.com/latest" rel="nofollow">http://www.kccaribbeanservices.com/latest</a></p>
<p>Actually It works with some page templates and not with others but I&#8217;m not sure why. The template that isn&#8217;t working is being used on over 200 published pages. I double checked spelling and everything is correct. I am completely baffled!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Get pages by template name in WordPress by Guillaume</title>
		<link>http://jorgepedret.com/web-development/get-pages-by-template-name-in-wordpress/comment-page-1/#comment-30845</link>
		<dc:creator>Guillaume</dc:creator>
		<pubDate>Thu, 23 Feb 2012 10:35:03 +0000</pubDate>
		<guid isPermaLink="false">http://jorgepedret.com/?p=535#comment-30845</guid>
		<description>Works perfectly for me ! It&#039;s exactly what I needed, thanks</description>
		<content:encoded><![CDATA[<p>Works perfectly for me ! It&#8217;s exactly what I needed, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Placeholder text for Gravity Form input elements by Erik Gyepes</title>
		<link>http://jorgepedret.com/web-development/placeholder-text-for-gravity-form-input-elements/comment-page-1/#comment-30385</link>
		<dc:creator>Erik Gyepes</dc:creator>
		<pubDate>Thu, 16 Feb 2012 22:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://jorgepedret.com/?p=537#comment-30385</guid>
		<description>BTW - this does not work when you post the form (through AJAX) and there are errors. Then the placeholder&#039;s are gone..</description>
		<content:encoded><![CDATA[<p>BTW &#8211; this does not work when you post the form (through AJAX) and there are errors. Then the placeholder&#8217;s are gone..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Get pages by template name in WordPress by Alyssa</title>
		<link>http://jorgepedret.com/web-development/get-pages-by-template-name-in-wordpress/comment-page-1/#comment-30378</link>
		<dc:creator>Alyssa</dc:creator>
		<pubDate>Thu, 16 Feb 2012 19:03:18 +0000</pubDate>
		<guid isPermaLink="false">http://jorgepedret.com/?p=535#comment-30378</guid>
		<description>Yes I am positive- the template is product.php and there are over 500 pages with this template

http://www.kccaribbeanservices.com/new</description>
		<content:encoded><![CDATA[<p>Yes I am positive- the template is product.php and there are over 500 pages with this template</p>
<p><a href="http://www.kccaribbeanservices.com/new" rel="nofollow">http://www.kccaribbeanservices.com/new</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

