<?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: List Subpages</title>
	<atom:link href="http://robm.me.uk/projects/plugins/wordpress/list-subpages/feed" rel="self" type="application/rss+xml" />
	<link>http://robm.me.uk</link>
	<description></description>
	<lastBuildDate>Mon, 12 Dec 2011 14:16:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: WordPress &#124; akosma software</title>
		<link>http://robm.me.uk/projects/plugins/wordpress/list-subpages/comment-page-2#comment-26613</link>
		<dc:creator>WordPress &#124; akosma software</dc:creator>
		<pubDate>Fri, 27 Nov 2009 08:57:49 +0000</pubDate>
		<guid isPermaLink="false">http://pwnt.co.uk/blog/projects/plugins/wordpress/list-subpages/#comment-26613</guid>
		<description>&lt;p&gt;[...] List Subpages [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] List Subpages [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Top Plugins for Large WordPress Sites : Wordpress Website and Blog Design</title>
		<link>http://robm.me.uk/projects/plugins/wordpress/list-subpages/comment-page-2#comment-26481</link>
		<dc:creator>Top Plugins for Large WordPress Sites : Wordpress Website and Blog Design</dc:creator>
		<pubDate>Mon, 31 Aug 2009 02:11:41 +0000</pubDate>
		<guid isPermaLink="false">http://pwnt.co.uk/blog/projects/plugins/wordpress/list-subpages/#comment-26481</guid>
		<description>&lt;p&gt;[...] 2. List Subpages Plugin [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] 2. List Subpages Plugin [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WordPress Plugins Database &#187; Plugin Details &#187; List Subpages</title>
		<link>http://robm.me.uk/projects/plugins/wordpress/list-subpages/comment-page-2#comment-20616</link>
		<dc:creator>WordPress Plugins Database &#187; Plugin Details &#187; List Subpages</dc:creator>
		<pubDate>Wed, 10 Oct 2007 06:35:05 +0000</pubDate>
		<guid isPermaLink="false">http://pwnt.co.uk/blog/projects/plugins/wordpress/list-subpages/#comment-20616</guid>
		<description>&lt;p&gt;[...] Visit [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Visit [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Converting Your WordPress Blog into a CMS (Content Management System) &#124; I'd Rather Be Writing</title>
		<link>http://robm.me.uk/projects/plugins/wordpress/list-subpages/comment-page-2#comment-19602</link>
		<dc:creator>Converting Your WordPress Blog into a CMS (Content Management System) &#124; I'd Rather Be Writing</dc:creator>
		<pubDate>Mon, 02 Jul 2007 02:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://pwnt.co.uk/blog/projects/plugins/wordpress/list-subpages/#comment-19602</guid>
		<description>&lt;p&gt;[...] of static pages that you want to manage, rather than just an endless number of posts. You can use a Subpages plugin in your sidebar to make it easy for your users to find the pages. The context-sensitive Subpages [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] of static pages that you want to manage, rather than just an endless number of posts. You can use a Subpages plugin in your sidebar to make it easy for your users to find the pages. The context-sensitive Subpages [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WordPress Plugins Add Cool Functionality to your Blog &#124; I'd Rather Be Writing</title>
		<link>http://robm.me.uk/projects/plugins/wordpress/list-subpages/comment-page-2#comment-18722</link>
		<dc:creator>WordPress Plugins Add Cool Functionality to your Blog &#124; I'd Rather Be Writing</dc:creator>
		<pubDate>Tue, 17 Apr 2007 07:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://pwnt.co.uk/blog/projects/plugins/wordpress/list-subpages/#comment-18722</guid>
		<description>&lt;p&gt;[...] List Subpages plugin: Lists the child pages of a parent page. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] List Subpages plugin: Lists the child pages of a parent page. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LostInNetwork</title>
		<link>http://robm.me.uk/projects/plugins/wordpress/list-subpages/comment-page-2#comment-18332</link>
		<dc:creator>LostInNetwork</dc:creator>
		<pubDate>Sun, 18 Feb 2007 07:44:15 +0000</pubDate>
		<guid isPermaLink="false">http://pwnt.co.uk/blog/projects/plugins/wordpress/list-subpages/#comment-18332</guid>
		<description>&lt;p&gt;I am using this plug-in embedded in the Chameleon theme ( http://webgazette.co.uk/web-design/wordpress-themes/chameleon/ ). This theme has a dynamic &quot;subpages&quot; menu that displays below the horizontal pages menu when there are subpages.&lt;/p&gt;

&lt;p&gt;Now I have a strange problem:&lt;/p&gt;

&lt;p&gt;1) One of my pages lists itself as a subpage. I can click and click and click and the page stays the same. phpMyadmin reveals that there actually is NO real subpage anywhere, so there&#039;s nothing to correct in the database.&lt;/p&gt;

&lt;p&gt;2) One of my pages lists the subpages list, but it is empty.
So maybe it is &quot;&quot; or &quot; &quot; or something... That page actually has a child - but it is an attachment.&lt;/p&gt;

&lt;p&gt;Code from this plugin:&lt;/p&gt;

&lt;p&gt;// First it seems to change $current_page to parent?
// Goes to top of page hierarchy???
while($current_page) {
$page_query = $wpdb-&gt;get_row(&quot;SELECT ID, post_title, post_parent FROM $wpdb-&gt;posts WHERE ID = &#039;$current_page&#039;&quot;);
$current_page = $page_query-&gt;post_parent;
}&lt;/p&gt;

&lt;p&gt;$parent_id = $page_query-&gt;ID;
$parent_title = $page_query-&gt;post_title;
// Only display the message if there are actually subpages
if($wpdb-&gt;get_results(&quot;SELECT * FROM $wpdb-&gt;posts WHERE post_parent = &#039;$parent_id&#039;&quot;)) {
echo&#039;&lt; div id=&quot;subpage&quot; &gt; &lt; ul &gt;&lt; li &gt;Subpages: &lt; /li &gt;&#039;;
$html = wp_list_pages(&quot;child_of=$parent_id&amp;depth=$depth&amp;echo=&quot;.(!$return).&quot;&amp;title_li=0&quot;);
echo&#039;&lt; /ul &gt;&lt; /div &gt;&#039;;
}&lt;/p&gt;

&lt;p&gt;There is a bug in the conditional statement.&lt;/p&gt;

&lt;p&gt;When a page has an ATTACHMENT, the SELECT * FROM statement returns true, and the Subpages header is displayed. wp_list_pages does not list attachments, though. --&gt; Header and empty row. This happens in WordPress 2.0.7.&lt;/p&gt;

&lt;p&gt;Page type = attachment should be excluded.&lt;/p&gt;

&lt;p&gt;Better yet, include ONLY 1) &quot;pages&quot;, 2) that are &quot;published&quot;. Can I see an incompatibility with WP2.1 here in the present code? WP2.1 uses two fields now to describe the type and status of the record.&lt;/p&gt;

&lt;p&gt;The other problem, subpage being subpage of itself, is not yet resolved.&lt;/p&gt;

&lt;p&gt;My lament can be found here, too: http://wordpress.org/support/topic/106065&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I am using this plug-in embedded in the Chameleon theme ( <a href="http://webgazette.co.uk/web-design/wordpress-themes/chameleon/" rel="nofollow">http://webgazette.co.uk/web-design/wordpress-themes/chameleon/</a> ). This theme has a dynamic &#8220;subpages&#8221; menu that displays below the horizontal pages menu when there are subpages.</p>
<p>Now I have a strange problem:</p>
<p>1) One of my pages lists itself as a subpage. I can click and click and click and the page stays the same. phpMyadmin reveals that there actually is NO real subpage anywhere, so there&#8217;s nothing to correct in the database.</p>
<p>2) One of my pages lists the subpages list, but it is empty.<br />
So maybe it is &#8220;&#8221; or &#8221; &#8221; or something&#8230; That page actually has a child &#8211; but it is an attachment.</p>
<p>Code from this plugin:</p>
<p>// First it seems to change $current_page to parent?<br />
// Goes to top of page hierarchy???<br />
while($current_page) {<br />
$page_query = $wpdb-&gt;get_row(&#8220;SELECT ID, post_title, post_parent FROM $wpdb-&gt;posts WHERE ID = &#8216;$current_page&#8217;&#8221;);<br />
$current_page = $page_query-&gt;post_parent;<br />
}</p>
<p>$parent_id = $page_query-&gt;ID;<br />
$parent_title = $page_query-&gt;post_title;<br />
// Only display the message if there are actually subpages<br />
if($wpdb-&gt;get_results(&#8220;SELECT * FROM $wpdb-&gt;posts WHERE post_parent = &#8216;$parent_id&#8217;&#8221;)) {<br />
echo&#8217;&lt; div id=&#8221;subpage&#8221; &gt; &lt; ul &gt;&lt; li &gt;Subpages: &lt; /li &gt;&#8217;;<br />
$html = wp_list_pages(&#8220;child_of=$parent_id&amp;depth=$depth&amp;echo=&#8221;.(!$return).&#8221;&amp;title_li=0&#8243;);<br />
echo&#8217;&lt; /ul &gt;&lt; /div &gt;&#8217;;<br />
}</p>
<p>There is a bug in the conditional statement.</p>
<p>When a page has an ATTACHMENT, the SELECT * FROM statement returns true, and the Subpages header is displayed. wp_list_pages does not list attachments, though. &#8211;&gt; Header and empty row. This happens in WordPress 2.0.7.</p>
<p>Page type = attachment should be excluded.</p>
<p>Better yet, include ONLY 1) &#8220;pages&#8221;, 2) that are &#8220;published&#8221;. Can I see an incompatibility with WP2.1 here in the present code? WP2.1 uses two fields now to describe the type and status of the record.</p>
<p>The other problem, subpage being subpage of itself, is not yet resolved.</p>
<p>My lament can be found here, too: <a href="http://wordpress.org/support/topic/106065" rel="nofollow">http://wordpress.org/support/topic/106065</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://robm.me.uk/projects/plugins/wordpress/list-subpages/comment-page-2#comment-18230</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Thu, 15 Feb 2007 06:32:41 +0000</pubDate>
		<guid isPermaLink="false">http://pwnt.co.uk/blog/projects/plugins/wordpress/list-subpages/#comment-18230</guid>
		<description>&lt;p&gt;Well, it looks to me like this plugin is broken somewhat under WP2.1 -- as Jonas noted on 01 Feb 07, I&#039;m also getting a list of ALL pages on the site, rather that just a list of subpages for the page I&#039;m currently on.  Unfortunately, I don&#039;t have time to troubleshoot this myself -- has anyone found a solution?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Well, it looks to me like this plugin is broken somewhat under WP2.1 &#8212; as Jonas noted on 01 Feb 07, I&#8217;m also getting a list of ALL pages on the site, rather that just a list of subpages for the page I&#8217;m currently on.  Unfortunately, I don&#8217;t have time to troubleshoot this myself &#8212; has anyone found a solution?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Trowbridge</title>
		<link>http://robm.me.uk/projects/plugins/wordpress/list-subpages/comment-page-2#comment-18107</link>
		<dc:creator>Dave Trowbridge</dc:creator>
		<pubDate>Sat, 10 Feb 2007 00:44:15 +0000</pubDate>
		<guid isPermaLink="false">http://pwnt.co.uk/blog/projects/plugins/wordpress/list-subpages/#comment-18107</guid>
		<description>&lt;p&gt;I tried your instructions for creating a new &quot;list-subpages.php&quot; template, but when I go to  edit a page and try to select a page template, the new template doesn&#039;t appear in the drop-down box.&lt;/p&gt;

&lt;p&gt;BTW, one of the things I want to do with this is create an &quot;Acknowledgements&quot; page to list all the plug-ins and widgets I&#039;m using, with &quot;reviews&quot; of each. I&#039;m using a couple of yours, and they&#039;re great!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I tried your instructions for creating a new &#8220;list-subpages.php&#8221; template, but when I go to  edit a page and try to select a page template, the new template doesn&#8217;t appear in the drop-down box.</p>
<p>BTW, one of the things I want to do with this is create an &#8220;Acknowledgements&#8221; page to list all the plug-ins and widgets I&#8217;m using, with &#8220;reviews&#8221; of each. I&#8217;m using a couple of yours, and they&#8217;re great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonas Heide Smith</title>
		<link>http://robm.me.uk/projects/plugins/wordpress/list-subpages/comment-page-2#comment-17773</link>
		<dc:creator>Jonas Heide Smith</dc:creator>
		<pubDate>Thu, 01 Feb 2007 09:21:39 +0000</pubDate>
		<guid isPermaLink="false">http://pwnt.co.uk/blog/projects/plugins/wordpress/list-subpages/#comment-17773</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I&#039;ve used your nice plugin for some time.
But it seemed to stop working with the latest WP version. 
So I upgraded to the latest plugin version.
But inserting the [subpages /] tag (without the brackets) on http://game-research.com/index.php/articles/ I get all pages on the site, and not the subpages of the &quot;Articles&quot; page.&lt;/p&gt;

&lt;p&gt;Any ideas?&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Jonas&lt;/li&gt;
&lt;/ul&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve used your nice plugin for some time.<br />
But it seemed to stop working with the latest WP version.<br />
So I upgraded to the latest plugin version.<br />
But inserting the [subpages /] tag (without the brackets) on <a href="http://game-research.com/index.php/articles/" rel="nofollow">http://game-research.com/index.php/articles/</a> I get all pages on the site, and not the subpages of the &#8220;Articles&#8221; page.</p>
<p>Any ideas?</p>
<p>Thanks.</p>
<ul>
<li>Jonas</li>
</ul>
]]></content:encoded>
	</item>
	<item>
		<title>By: swollenpickles</title>
		<link>http://robm.me.uk/projects/plugins/wordpress/list-subpages/comment-page-2#comment-15580</link>
		<dc:creator>swollenpickles</dc:creator>
		<pubDate>Thu, 28 Dec 2006 05:44:35 +0000</pubDate>
		<guid isPermaLink="false">http://pwnt.co.uk/blog/projects/plugins/wordpress/list-subpages/#comment-15580</guid>
		<description>&lt;p&gt;Great plugin, but I have a quick question, how do you manipulate the output so that it only spits out the sub page link without the rest?
eg. if I have Page 1 and subpages 1A and 1B how do I get the output on my page to only show links to 1A and 1B?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great plugin, but I have a quick question, how do you manipulate the output so that it only spits out the sub page link without the rest?<br />
eg. if I have Page 1 and subpages 1A and 1B how do I get the output on my page to only show links to 1A and 1B?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil Newton</title>
		<link>http://robm.me.uk/projects/plugins/wordpress/list-subpages/comment-page-2#comment-15572</link>
		<dc:creator>Phil Newton</dc:creator>
		<pubDate>Wed, 27 Dec 2006 23:40:55 +0000</pubDate>
		<guid isPermaLink="false">http://pwnt.co.uk/blog/projects/plugins/wordpress/list-subpages/#comment-15572</guid>
		<description>&lt;p&gt;Typical programmer behaviour from me, editing things before I figure out how to use them. Instead of adding that line, call the function like this:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;echo list_subpages(&#039;order=post_title&#039;); &lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Having said that, it&#039;s still useful to add that line to prevent the plugin from throwing an error if no sort query is passed.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Typical programmer behaviour from me, editing things before I figure out how to use them. Instead of adding that line, call the function like this:</p>
<p><code>echo list_subpages('order=post_title'); </code></p>
<p>Having said that, it&#8217;s still useful to add that line to prevent the plugin from throwing an error if no sort query is passed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil Newton</title>
		<link>http://robm.me.uk/projects/plugins/wordpress/list-subpages/comment-page-2#comment-15570</link>
		<dc:creator>Phil Newton</dc:creator>
		<pubDate>Wed, 27 Dec 2006 23:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://pwnt.co.uk/blog/projects/plugins/wordpress/list-subpages/#comment-15570</guid>
		<description>&lt;p&gt;&lt;strong&gt;Nicholas&lt;/strong&gt;: I was having this problem earlier, so I added the following line to the &quot;list-subpages.php&quot; plugin file and everything was fixed.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;if (!$order) { $order=&#039;post_title&#039;; } &lt;/code&gt;&lt;/p&gt;

&lt;p&gt;It should go before line 47, which looks like this:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;if ( $subpages &gt; 0 ) {&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Hope that helps!&lt;/p&gt;

&lt;p&gt;Awesome plugin, btw. Exactly what I was looking for.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong>Nicholas</strong>: I was having this problem earlier, so I added the following line to the &#8220;list-subpages.php&#8221; plugin file and everything was fixed.</p>
<p><code>if (!$order) { $order='post_title'; } </code></p>
<p>It should go before line 47, which looks like this:</p>
<p><code>if ( $subpages &gt; 0 ) {</code></p>
<p>Hope that helps!</p>
<p>Awesome plugin, btw. Exactly what I was looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://robm.me.uk/projects/plugins/wordpress/list-subpages/comment-page-1#comment-15507</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Tue, 26 Dec 2006 16:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://pwnt.co.uk/blog/projects/plugins/wordpress/list-subpages/#comment-15507</guid>
		<description>&lt;p&gt;You put what in the header, Nicholas? You don&#039;t need to insert any PHP code into the header to use List Subpages...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You put what in the header, Nicholas? You don&#8217;t need to insert any PHP code into the header to use List Subpages&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicholas</title>
		<link>http://robm.me.uk/projects/plugins/wordpress/list-subpages/comment-page-1#comment-15506</link>
		<dc:creator>Nicholas</dc:creator>
		<pubDate>Tue, 26 Dec 2006 16:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://pwnt.co.uk/blog/projects/plugins/wordpress/list-subpages/#comment-15506</guid>
		<description>&lt;p&gt;I get the following error, below the header (where I put the php call function)&lt;/p&gt;

&lt;p&gt;WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;ASC&#039; at line 1]
SELECT * FROM wp_posts WHERE post_status = &#039;static&#039; ORDER BY ASC&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I get the following error, below the header (where I put the php call function)</p>
<p>WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ASC' at line 1]<br />
SELECT * FROM wp_posts WHERE post_status = &#8216;static&#8217; ORDER BY ASC</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://robm.me.uk/projects/plugins/wordpress/list-subpages/comment-page-1#comment-12612</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Thu, 16 Nov 2006 22:12:16 +0000</pubDate>
		<guid isPermaLink="false">http://pwnt.co.uk/blog/projects/plugins/wordpress/list-subpages/#comment-12612</guid>
		<description>&lt;p&gt;Kyle, if you&#039;re using it just as a PHP call then you&#039;ll want to modify it from this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&lt;?php list_subpages(); ?&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;to this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&lt;?php list_subpages(0); ?&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;That&#039;ll echo it without the need to modify the code.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Kyle, if you&#8217;re using it just as a PHP call then you&#8217;ll want to modify it from this:</p>
<pre><code>&lt;?php list_subpages(); ?&gt;
</code></pre>
<p>to this:</p>
<pre><code>&lt;?php list_subpages(0); ?&gt;
</code></pre>
<p>That&#8217;ll echo it without the need to modify the code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: robm.me.uk @ 2012-05-21 13:46:32 -->
