<?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 Widgets</title>
	<atom:link href="http://floatingsun.net/code/wordpress-widgets/feed/" rel="self" type="application/rss+xml" />
	<link>http://floatingsun.net</link>
	<description></description>
	<lastBuildDate>Tue, 16 Mar 2010 20:29:28 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mark S. Meritt</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-2/#comment-16582</link>
		<dc:creator>Mark S. Meritt</dc:creator>
		<pubDate>Tue, 25 Sep 2007 00:59:41 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-16582</guid>
		<description>Quick correction on my last comment. The empty widget box appears in two situations -- it appears when:

1) A top-level Page has no sub pages, even if it has sibling pages

and

2) A sub page at any level has neither sibling pages nor sub pages</description>
		<content:encoded><![CDATA[<p>Quick correction on my last comment. The empty widget box appears in two situations &#8212; it appears when:</p>
<p>1) A top-level Page has no sub pages, even if it has sibling pages</p>
<p>and</p>
<p>2) A sub page at any level has neither sibling pages nor sub pages</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark S. Meritt</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-2/#comment-16577</link>
		<dc:creator>Mark S. Meritt</dc:creator>
		<pubDate>Mon, 24 Sep 2007 22:44:28 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-16577</guid>
		<description>Hello again, thanks for updating the widget. I notice, though, that there is still an issue I&#039;d commented about back in January that I imagine many people would probably like to see addressed.

When a Page has neither sibling pages nor sub pages, your widget produces an empty box that clutters the sidebar. I think it would be ideal if the widget would display nothing at all under these circumstances, just as it shows nothing on non-Pages like posts and archives.

Thanks for your consideration, and thanks again for the plug-in!</description>
		<content:encoded><![CDATA[<p>Hello again, thanks for updating the widget. I notice, though, that there is still an issue I&#8217;d commented about back in January that I imagine many people would probably like to see addressed.</p>
<p>When a Page has neither sibling pages nor sub pages, your widget produces an empty box that clutters the sidebar. I think it would be ideal if the widget would display nothing at all under these circumstances, just as it shows nothing on non-Pages like posts and archives.</p>
<p>Thanks for your consideration, and thanks again for the plug-in!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web Services &#187; Better Blog Day 4: Interlinking Posts</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-2/#comment-15585</link>
		<dc:creator>Web Services &#187; Better Blog Day 4: Interlinking Posts</dc:creator>
		<pubDate>Wed, 22 Aug 2007 07:03:46 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-15585</guid>
		<description>[...] use that somehow when deciding what posts are &#8220;related&#8221;. A quick search found the UTW Related Posts widget which does pretty much what I was looking for -picks out a number of posts and puts them in a list. [...]</description>
		<content:encoded><![CDATA[<p>[...] use that somehow when deciding what posts are &#8220;related&#8221;. A quick search found the UTW Related Posts widget which does pretty much what I was looking for -picks out a number of posts and puts them in a list. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diwaker Gupta</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-2/#comment-15399</link>
		<dc:creator>Diwaker Gupta</dc:creator>
		<pubDate>Tue, 14 Aug 2007 05:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-15399</guid>
		<description>*@matt, @eric*: I&#039;ve updated the widget, this problem should be fixed now. Thanks for your patience!</description>
		<content:encoded><![CDATA[<p>*@matt, @eric*: I&#8217;ve updated the widget, this problem should be fixed now. Thanks for your patience!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diwaker Gupta</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-2/#comment-15398</link>
		<dc:creator>Diwaker Gupta</dc:creator>
		<pubDate>Tue, 14 Aug 2007 05:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-15398</guid>
		<description>*@nice*: I&#039;ve updated the widget -- it should work with the latest Wordpress now. Sorry for the delay, and do let me know if you&#039;re still having any problems!

*@sebastian*: Thanks for trying to help out! I&#039;ve finally updated the widget :-)</description>
		<content:encoded><![CDATA[<p>*@nice*: I&#8217;ve updated the widget &#8212; it should work with the latest Wordpress now. Sorry for the delay, and do let me know if you&#8217;re still having any problems!</p>
<p>*@sebastian*: Thanks for trying to help out! I&#8217;ve finally updated the widget :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WP Plugins DB &#187; Plugin Details &#187; UTW-Related Posts</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-2/#comment-14797</link>
		<dc:creator>WP Plugins DB &#187; Plugin Details &#187; UTW-Related Posts</dc:creator>
		<pubDate>Wed, 04 Jul 2007 06:02:27 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-14797</guid>
		<description>[...] Visit [...]</description>
		<content:encoded><![CDATA[<p>[...] Visit [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WP Plugins DB &#187; Plugin Details &#187; Sub pages</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-2/#comment-14796</link>
		<dc:creator>WP Plugins DB &#187; Plugin Details &#187; Sub pages</dc:creator>
		<pubDate>Wed, 04 Jul 2007 06:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-14796</guid>
		<description>[...] Visit [...]</description>
		<content:encoded><![CDATA[<p>[...] Visit [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nice from Thailand</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-2/#comment-14231</link>
		<dc:creator>Nice from Thailand</dc:creator>
		<pubDate>Sun, 27 May 2007 16:31:47 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-14231</guid>
		<description>Can some one tell me how to fix this plugin to work with WP2.2?


Fatal error: Call to undefined function: register_sidebar_widget() in /home/m/a/mattkevan/public_html/wp-content/plugins/widgets/subpages.php on line 72

I tried Eric and Sebastian&#039;s code but it doesn&#039;t work.
Thanks.</description>
		<content:encoded><![CDATA[<p>Can some one tell me how to fix this plugin to work with WP2.2?</p>
<p>Fatal error: Call to undefined function: register_sidebar_widget() in /home/m/a/mattkevan/public_html/wp-content/plugins/widgets/subpages.php on line 72</p>
<p>I tried Eric and Sebastian&#8217;s code but it doesn&#8217;t work.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nice from Thailand</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-2/#comment-14229</link>
		<dc:creator>Nice from Thailand</dc:creator>
		<pubDate>Sun, 27 May 2007 15:29:52 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-14229</guid>
		<description>@Sebastian,
I tried your code, but it doesn&#039;t work in WP 2.2
someone please help me :(</description>
		<content:encoded><![CDATA[<p>@Sebastian,<br />
I tried your code, but it doesn&#8217;t work in WP 2.2<br />
someone please help me :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-1/#comment-14208</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Sat, 26 May 2007 21:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-14208</guid>
		<description>Cool Widget!

You&#039;ve to change the code as followed:
at the top of the code put following
&lt;strong&gt;function subpages_control_init() { &lt;/strong&gt;
and at the end of the file please insert
&lt;strong&gt;}
add_action(&#039;plugins_loaded&#039;, &#039;subpages_control_init&#039;);&lt;/strong&gt;

So it work&#039;s fine for me.
Best regards from good old Germany to all of You!</description>
		<content:encoded><![CDATA[<p>Cool Widget!</p>
<p>You&#8217;ve to change the code as followed:<br />
at the top of the code put following<br />
<strong>function subpages_control_init() { </strong><br />
and at the end of the file please insert<br />
<strong>}<br />
add_action(&#8216;plugins_loaded&#8217;, &#8217;subpages_control_init&#8217;);</strong></p>
<p>So it work&#8217;s fine for me.<br />
Best regards from good old Germany to all of You!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-1/#comment-13354</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Mon, 23 Apr 2007 05:42:38 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-13354</guid>
		<description>@Matt: I had exactly the same problem. For the record, I &lt;b&gt;did&lt;/b&gt; have the Widgets plugin installed, working correctly, and hosting other widget-based plugins.

Did a little digging around and it looks like the registration sequence in the plugin is incorrect. For some reason, WP chose to load the subpages plugin &lt;b&gt;before&lt;/b&gt; it loaded widgets plugin on my server, so the call to register_sidebar_widget was hitting the dreaded undefined error.

I replaced the two register_ calls at the end of the file with the following sequence, and all was good with the world:


function subpages_init() {
    if ( !function_exists(&#039;register_sidebar_widget&#039;) )
        return;

	// Tell Dynamic Sidebar about our new widget and its control
	register_sidebar_widget(&#039;Sub Pages&#039;, &#039;subpages&#039;);
	register_widget_control(&#039;Sub Pages&#039;, &#039;subpages_control&#039;);
}

add_action(&#039;plugins_loaded&#039;, &#039;subpages_init&#039;);


Unfortunately, it looks like this plugin isn&#039;t going to do what I need it to do, but I hope this info helps.</description>
		<content:encoded><![CDATA[<p>@Matt: I had exactly the same problem. For the record, I <b>did</b> have the Widgets plugin installed, working correctly, and hosting other widget-based plugins.</p>
<p>Did a little digging around and it looks like the registration sequence in the plugin is incorrect. For some reason, WP chose to load the subpages plugin <b>before</b> it loaded widgets plugin on my server, so the call to register_sidebar_widget was hitting the dreaded undefined error.</p>
<p>I replaced the two register_ calls at the end of the file with the following sequence, and all was good with the world:</p>
<p>function subpages_init() {<br />
    if ( !function_exists(&#8216;register_sidebar_widget&#8217;) )<br />
        return;</p>
<p>	// Tell Dynamic Sidebar about our new widget and its control<br />
	register_sidebar_widget(&#8216;Sub Pages&#8217;, &#8217;subpages&#8217;);<br />
	register_widget_control(&#8216;Sub Pages&#8217;, &#8217;subpages_control&#8217;);<br />
}</p>
<p>add_action(&#8216;plugins_loaded&#8217;, &#8217;subpages_init&#8217;);</p>
<p>Unfortunately, it looks like this plugin isn&#8217;t going to do what I need it to do, but I hope this info helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-1/#comment-13012</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 16 Apr 2007 12:21:52 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-13012</guid>
		<description>Hi , it looks like your plugin does pretty much what I want, but whenever I activate it I get this error:

Fatal error: Call to undefined function: register_sidebar_widget() in /home/m/a/mattkevan/public_html/wp-content/plugins/widgets/subpages.php on line 72

Any ideas of what&#039;s going wrong?

Thanks for your help!

Matt</description>
		<content:encoded><![CDATA[<p>Hi , it looks like your plugin does pretty much what I want, but whenever I activate it I get this error:</p>
<p>Fatal error: Call to undefined function: register_sidebar_widget() in /home/m/a/mattkevan/public_html/wp-content/plugins/widgets/subpages.php on line 72</p>
<p>Any ideas of what&#8217;s going wrong?</p>
<p>Thanks for your help!</p>
<p>Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-1/#comment-12354</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Wed, 21 Mar 2007 09:34:14 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-12354</guid>
		<description>How about a show self option to the sibling part of the sidebar widget? I might try to make it myself, but I&#039;m not really a programmer. I&#039;ll let you know if I do.</description>
		<content:encoded><![CDATA[<p>How about a show self option to the sibling part of the sidebar widget? I might try to make it myself, but I&#8217;m not really a programmer. I&#8217;ll let you know if I do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: My WordPress plugins &#124; rich text</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-1/#comment-9501</link>
		<dc:creator>My WordPress plugins &#124; rich text</dc:creator>
		<pubDate>Sun, 11 Mar 2007 00:53:52 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-9501</guid>
		<description>[...] Subpages Widget: In the static pages section, provides a list of pages below the current page in my page hierarchy, and a list of pages at the same level as the current page. Visible here. [...]</description>
		<content:encoded><![CDATA[<p>[...] Subpages Widget: In the static pages section, provides a list of pages below the current page in my page hierarchy, and a list of pages at the same level as the current page. Visible here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rhett</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-1/#comment-3276</link>
		<dc:creator>Rhett</dc:creator>
		<pubDate>Sun, 18 Feb 2007 01:47:06 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-3276</guid>
		<description>I searched &quot;subpages widget&quot; on a whim to see if there was a brilliant person who already thought of this and you have.  Many thanks.</description>
		<content:encoded><![CDATA[<p>I searched &#8220;subpages widget&#8221; on a whim to see if there was a brilliant person who already thought of this and you have.  Many thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kretzschmar</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-1/#comment-2714</link>
		<dc:creator>kretzschmar</dc:creator>
		<pubDate>Thu, 18 Jan 2007 16:30:28 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-2714</guid>
		<description>My own Navigation on diekretzschmars is broken since the update to wordpress 2.1. I am not very good at querying the database.

I would like a back-link. So if I am on a Subpage a link to the parent page is listet (maybe named back).</description>
		<content:encoded><![CDATA[<p>My own Navigation on diekretzschmars is broken since the update to wordpress 2.1. I am not very good at querying the database.</p>
<p>I would like a back-link. So if I am on a Subpage a link to the parent page is listet (maybe named back).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kretzschmar</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-1/#comment-2713</link>
		<dc:creator>kretzschmar</dc:creator>
		<pubDate>Thu, 18 Jan 2007 16:21:20 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-2713</guid>
		<description>siblings do not work for me. i am using wordpress 2.1 and i get a MYSQL Error. You have to change:

get_var(&quot;SELECT post_parent FROM $wpdb-&gt;posts WHERE ID = $current_page&quot;); 

to

get_var(&quot;SELECT post_parent FROM $wpdb-&gt;posts WHERE ID = &#039;$current_page&#039;&quot;);

Hope my corrections are shown. Otherwise, current_page needs to be in single quotation marks.</description>
		<content:encoded><![CDATA[<p>siblings do not work for me. i am using wordpress 2.1 and i get a MYSQL Error. You have to change:</p>
<p>get_var(&#8220;SELECT post_parent FROM $wpdb-&gt;posts WHERE ID = $current_page&#8221;); </p>
<p>to</p>
<p>get_var(&#8220;SELECT post_parent FROM $wpdb-&gt;posts WHERE ID = &#8216;$current_page&#8217;&#8221;);</p>
<p>Hope my corrections are shown. Otherwise, current_page needs to be in single quotation marks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark S. Meritt</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-1/#comment-2695</link>
		<dc:creator>Mark S. Meritt</dc:creator>
		<pubDate>Mon, 15 Jan 2007 16:05:16 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-2695</guid>
		<description>FYI, I solved that last issue I mentioned.  I just went into the code for your widget and change the line that says:


        if ( is_single() &#124;&#124; is_page() ){

to

        if ( is_single()){

And that was that!  Wonderful.  You might consider adding an option to the widget so that people can choose whether it appears on posts, pages or both.  But in the meantime, this certainly works fine for me.</description>
		<content:encoded><![CDATA[<p>FYI, I solved that last issue I mentioned.  I just went into the code for your widget and change the line that says:</p>
<p>        if ( is_single() || is_page() ){</p>
<p>to</p>
<p>        if ( is_single()){</p>
<p>And that was that!  Wonderful.  You might consider adding an option to the widget so that people can choose whether it appears on posts, pages or both.  But in the meantime, this certainly works fine for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark S. Meritt</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-1/#comment-2664</link>
		<dc:creator>Mark S. Meritt</dc:creator>
		<pubDate>Sat, 13 Jan 2007 02:05:01 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-2664</guid>
		<description>I just installed your UTW Related Posts widget, and that&#039;s really great, too!  One strange bit of activity that isn&#039;t the widget&#039;s fault, but maybe you have some insight:

When I first installed UTW and had it automatically display tags on all posts, it turned out that this caused a strange behavior.  Because I also had it automatically adding Categories as Tags, it was taking my default Category and adding is as a Tag even on my *pages*, not just my posts.  That word then showed up, bizarrely, on all my pages.  I had to have UTW stop automatically displaying tags everywhere, instead adding it only as I wished on particular templates.  That fixed that.

However, now, even a tag archive shows only posts and not pages, when I go to a post that is in my default category, lo and behold, your UTW Related Posts widget shows a number of my pages!!!  I&#039;m guessing that UTW is somehow continuing to add that default category as a tag even on all my pages.  An archive knows to only look for posts, but your widget seems to look for everything.  Do you know if:

1) There is a way to eliminate that default item from the pages somehow, and/or

2) If you can revise your widget to act just like tha archive, looking only at posts and not both posts and pages?</description>
		<content:encoded><![CDATA[<p>I just installed your UTW Related Posts widget, and that&#8217;s really great, too!  One strange bit of activity that isn&#8217;t the widget&#8217;s fault, but maybe you have some insight:</p>
<p>When I first installed UTW and had it automatically display tags on all posts, it turned out that this caused a strange behavior.  Because I also had it automatically adding Categories as Tags, it was taking my default Category and adding is as a Tag even on my *pages*, not just my posts.  That word then showed up, bizarrely, on all my pages.  I had to have UTW stop automatically displaying tags everywhere, instead adding it only as I wished on particular templates.  That fixed that.</p>
<p>However, now, even a tag archive shows only posts and not pages, when I go to a post that is in my default category, lo and behold, your UTW Related Posts widget shows a number of my pages!!!  I&#8217;m guessing that UTW is somehow continuing to add that default category as a tag even on all my pages.  An archive knows to only look for posts, but your widget seems to look for everything.  Do you know if:</p>
<p>1) There is a way to eliminate that default item from the pages somehow, and/or</p>
<p>2) If you can revise your widget to act just like tha archive, looking only at posts and not both posts and pages?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark S. Meritt</title>
		<link>http://floatingsun.net/code/wordpress-widgets/comment-page-1/#comment-2657</link>
		<dc:creator>Mark S. Meritt</dc:creator>
		<pubDate>Thu, 11 Jan 2007 21:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://floatingsun.net/blog/code/wordpress-widgets/#comment-2657</guid>
		<description>Hey, there, another couple of small things.  First, I&#039;ll lend my support to the request for page order to be recognized!  Beyond that, I notice that for my pages that have no subpages, I get an emptpy box showing up in my sidebar.  It would be ideal of the subpages widget just made sure to display nothing at all in those cases.  Possible?  Or is this a theme/CSS issue and not a widget coding issue at all?</description>
		<content:encoded><![CDATA[<p>Hey, there, another couple of small things.  First, I&#8217;ll lend my support to the request for page order to be recognized!  Beyond that, I notice that for my pages that have no subpages, I get an emptpy box showing up in my sidebar.  It would be ideal of the subpages widget just made sure to display nothing at all in those cases.  Possible?  Or is this a theme/CSS issue and not a widget coding issue at all?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
