<?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 Sidebar Stats Widget</title>
	<atom:link href="http://www.tacticaltechnique.com/wordpress/sidebar-stats-widget/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tacticaltechnique.com/wordpress/sidebar-stats-widget/</link>
	<description>Web Development Observations and Asides by Corey Salzano</description>
	<lastBuildDate>Mon, 30 Aug 2010 07:07:34 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Corey</title>
		<link>http://www.tacticaltechnique.com/wordpress/sidebar-stats-widget/comment-page-1/#comment-22963</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Sat, 20 Feb 2010 18:42:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.tacticaltechnique.com/?p=489#comment-22963</guid>
		<description>@sheta i just sent you an email. i think the problem is quotes, not the div tag itself. if you can help me locate the problem i can surely update the code.
&lt;p&gt;&#160;&lt;/p&gt;
@wordsmoker yes, the function is called sidebar_stats_widget. bravo on destroying your wp to the point that widgets cower in fear. the function begins by pulling the saved settings from an option that you may also want to manipulate:
&lt;p&gt;&#160;&lt;/p&gt; 
&lt;code&gt;	$saved_options = array( );
	$saved_options = get_option(&quot;widget_sidebar_stats&quot;);
	if( !$saved_options ){
		// set defaults
		$default_options = array( );
		$default_options[&#039;title&#039;] = &#039;Sidebar Stats Plugin&#039;;
		$default_options[&#039;beforeStat&#039;] = &#039;&lt;b&gt;&#039;;
		$default_options[&#039;afterStat&#039;] = &#039;&lt;/b&gt;&#039;;
		$default_options[&#039;prefix&#039;] = &#039;&#039;;
		$default_options[&#039;suffix&#039;] = &#039;&#039;;
		update_option( &quot;widget_sidebar_stats&quot;,$default_options );
		$saved_options = $default_options;
	}&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>@sheta i just sent you an email. i think the problem is quotes, not the div tag itself. if you can help me locate the problem i can surely update the code.</p>
<p>&nbsp;</p>
<p>@wordsmoker yes, the function is called sidebar_stats_widget. bravo on destroying your wp to the point that widgets cower in fear. the function begins by pulling the saved settings from an option that you may also want to manipulate:</p>
<p>&nbsp;</p>
<p><code>	$saved_options = array( );<br />
	$saved_options = get_option("widget_sidebar_stats");<br />
	if( !$saved_options ){<br />
		// set defaults<br />
		$default_options = array( );<br />
		$default_options['title'] = 'Sidebar Stats Plugin';<br />
		$default_options['beforeStat'] = '&lt;b&gt;';<br />
		$default_options['afterStat'] = '&lt;/b&gt;';<br />
		$default_options['prefix'] = '';<br />
		$default_options['suffix'] = '';<br />
		update_option( "widget_sidebar_stats",$default_options );<br />
		$saved_options = $default_options;<br />
	}</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wordsmoker</title>
		<link>http://www.tacticaltechnique.com/wordpress/sidebar-stats-widget/comment-page-1/#comment-22944</link>
		<dc:creator>Wordsmoker</dc:creator>
		<pubDate>Sat, 20 Feb 2010 16:00:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.tacticaltechnique.com/?p=489#comment-22944</guid>
		<description>Hi Corey

My sidebar is a hacked and kludged mess, so complex it&#039;s almost beautiful. Because of this, dragging widgets doesn&#039;t work properly, so I normally call a plugin via coding - is the function to be called &quot;sidebar_stats_widget&quot;?

Thanks in advance

VwS</description>
		<content:encoded><![CDATA[<p>Hi Corey</p>
<p>My sidebar is a hacked and kludged mess, so complex it&#8217;s almost beautiful. Because of this, dragging widgets doesn&#8217;t work properly, so I normally call a plugin via coding &#8211; is the function to be called &#8220;sidebar_stats_widget&#8221;?</p>
<p>Thanks in advance</p>
<p>VwS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sheta</title>
		<link>http://www.tacticaltechnique.com/wordpress/sidebar-stats-widget/comment-page-1/#comment-22921</link>
		<dc:creator>Sheta</dc:creator>
		<pubDate>Sat, 20 Feb 2010 11:36:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.tacticaltechnique.com/?p=489#comment-22921</guid>
		<description>Plugin won&#039;t accept a div tag in the &quot;Before everything&quot; box. It won&#039;t insert itself into my standard sidebar div, either. So I voted it broken. Hope to see an improvement!</description>
		<content:encoded><![CDATA[<p>Plugin won&#8217;t accept a div tag in the &#8220;Before everything&#8221; box. It won&#8217;t insert itself into my standard sidebar div, either. So I voted it broken. Hope to see an improvement!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
