<?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 WP Inside Out</title>
	<atom:link href="http://www.wpinsideout.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpinsideout.com</link>
	<description>A site dedicated to a full understanding of Wordpress</description>
	<lastBuildDate>Mon, 06 Jun 2011 01:17:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>Comment on Five Ways to Control the Length Of Your WordPress Excerpt by Ryan</title>
		<link>http://www.wpinsideout.com/five-ways-to-control-the-length-of-your-wordpress-excerpt#comment-3290</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Mon, 06 Jun 2011 01:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpinsideout.com/?p=152#comment-3290</guid>
		<description>Great post. I was having trouble with the preg_replace modification in your final solution for example 5, so I simply did away with the preg_replace and the wrapping paragraph tags and used WordPress&#039; built in function for doing this:

&lt;code&gt;
echo wpautop($matches[0]);
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Great post. I was having trouble with the preg_replace modification in your final solution for example 5, so I simply did away with the preg_replace and the wrapping paragraph tags and used WordPress&#8217; built in function for doing this:</p>
<p><pre><code>
echo wpautop($matches[0]);
</code></pre></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Five Ways to Control the Length Of Your WordPress Excerpt by Mifas</title>
		<link>http://www.wpinsideout.com/five-ways-to-control-the-length-of-your-wordpress-excerpt#comment-3203</link>
		<dc:creator>Mifas</dc:creator>
		<pubDate>Sat, 28 May 2011 03:55:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpinsideout.com/?p=152#comment-3203</guid>
		<description>Thanks for the code man :)</description>
		<content:encoded><![CDATA[<p>Thanks for the code man <img src='http://www.wpinsideout.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redirect All Types by M. Darnell</title>
		<link>http://www.wpinsideout.com/plugins/redirect-all-types#comment-2921</link>
		<dc:creator>M. Darnell</dc:creator>
		<pubDate>Tue, 10 May 2011 12:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpinsideout.com#comment-2921</guid>
		<description>Thank you for this wonderful plugin. People tend to go way overkill with the plugins they make, but this one is simple enough to be extended or adapted to be included in a theme. Keep up the good work.</description>
		<content:encoded><![CDATA[<p>Thank you for this wonderful plugin. People tend to go way overkill with the plugins they make, but this one is simple enough to be extended or adapted to be included in a theme. Keep up the good work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Day Ten: Adding A Threshold To the Event Calendar by nayeem</title>
		<link>http://www.wpinsideout.com/day-ten-adding-a-threshold-to-the-event-calendar#comment-1045</link>
		<dc:creator>nayeem</dc:creator>
		<pubDate>Mon, 07 Feb 2011 12:04:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpinsideout.com/?p=301#comment-1045</guid>
		<description>I resolve the problem which i ask earlier. what i want  in next development is one additional calender widget in sidebar . Suppose i click (eg 14 feb) in sidebar calendar, it will so all the 14 feb events in the index file.</description>
		<content:encoded><![CDATA[<p>I resolve the problem which i ask earlier. what i want  in next development is one additional calender widget in sidebar . Suppose i click (eg 14 feb) in sidebar calendar, it will so all the 14 feb events in the index file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Day Ten: Adding A Threshold To the Event Calendar by Michael Mallett</title>
		<link>http://www.wpinsideout.com/day-ten-adding-a-threshold-to-the-event-calendar#comment-908</link>
		<dc:creator>Michael Mallett</dc:creator>
		<pubDate>Thu, 27 Jan 2011 17:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpinsideout.com/?p=301#comment-908</guid>
		<description>Is there anyway of adding recurring events to this design? Or would you have to completely change the database and php script?</description>
		<content:encoded><![CDATA[<p>Is there anyway of adding recurring events to this design? Or would you have to completely change the database and php script?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Day Ten: Adding A Threshold To the Event Calendar by nayeem</title>
		<link>http://www.wpinsideout.com/day-ten-adding-a-threshold-to-the-event-calendar#comment-842</link>
		<dc:creator>nayeem</dc:creator>
		<pubDate>Wed, 19 Jan 2011 13:53:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpinsideout.com/?p=301#comment-842</guid>
		<description>Thanks  for your support, I don&#039;t want the event in CUSTOM POST TYPE  instead  in the POST itself . I replace the code in custom_event_calendar.php the following code 

add_action(&#039;save_post&#039;, &#039;save_event_data&#039;);


function save_event_data(){

	if($_POST[&#039;post_type&#039;] == &quot;event&quot;){

		include(EVENT_CALENDAR_DIR . &quot;event_class.php&quot;);

		$event = new Manage_events;

		$data = array(

			&#039;post_id&#039; =&gt; $_POST[&#039;ID&#039;],

			&#039;start_date&#039; =&gt; $_POST[&#039;start_date&#039;],

			&#039;end_date&#039; =&gt; $_POST[&#039;end_date&#039;],

			&#039;start_time&#039; =&gt; $_POST[&#039;start_time&#039;],

			&#039;end_time&#039; =&gt; $_POST[&#039;end_time&#039;],

			&#039;event_visible&#039; =&gt; $_POST[&#039;event_visible&#039;]

		);

		$event-&gt;save($data);

	}

} 
i replace the&lt;b&gt; event&lt;/b&gt; to &lt;b&gt; post&lt;/b&gt; in custom_event_calendar.php  it working perfect, but in the save event it not stored the data in data base

add_action(&#039;save_post&#039;, &#039;save_event_data&#039;);


function save_event_data(){

	if($post-&gt;post_type == &#039;post&#039;){

		 include(EVENT_CALENDAR_DIR . &quot;event_class.php&quot;);

		$event = new Manage_events;

		
$data = array(

			&#039;post_id&#039; =&gt; $_POST[&#039;ID&#039;],

			&#039;start_date&#039; =&gt; $_POST[&#039;start_date&#039;],

			&#039;end_date&#039; =&gt; $_POST[&#039;end_date&#039;],

			&#039;start_time&#039; =&gt; $_POST[&#039;start_time&#039;],

			&#039;end_time&#039; =&gt; $_POST[&#039;end_time&#039;],

			&#039;event_visible&#039; =&gt; $_POST[&#039;event_visible&#039;]

		);

		
$event-&gt;save($data);

	}

}

 
i got the custom field in the post.when i  publish the content with custom date ,data is not stored in the database. Can you suggest some tricks.</description>
		<content:encoded><![CDATA[<p>Thanks  for your support, I don&#8217;t want the event in CUSTOM POST TYPE  instead  in the POST itself . I replace the code in custom_event_calendar.php the following code </p>
<p>add_action(&#8216;save_post&#8217;, &#8216;save_event_data&#8217;);</p>
<p>function save_event_data(){</p>
<p>	if($_POST['post_type'] == &#8220;event&#8221;){</p>
<p>		include(EVENT_CALENDAR_DIR . &#8220;event_class.php&#8221;);</p>
<p>		$event = new Manage_events;</p>
<p>		$data = array(</p>
<p>			&#8216;post_id&#8217; =&gt; $_POST['ID'],</p>
<p>			&#8216;start_date&#8217; =&gt; $_POST['start_date'],</p>
<p>			&#8216;end_date&#8217; =&gt; $_POST['end_date'],</p>
<p>			&#8216;start_time&#8217; =&gt; $_POST['start_time'],</p>
<p>			&#8216;end_time&#8217; =&gt; $_POST['end_time'],</p>
<p>			&#8216;event_visible&#8217; =&gt; $_POST['event_visible']</p>
<p>		);</p>
<p>		$event-&gt;save($data);</p>
<p>	}</p>
<p>}<br />
i replace the<b> event</b> to <b> post</b> in custom_event_calendar.php  it working perfect, but in the save event it not stored the data in data base</p>
<p>add_action(&#8216;save_post&#8217;, &#8216;save_event_data&#8217;);</p>
<p>function save_event_data(){</p>
<p>	if($post-&gt;post_type == &#8216;post&#8217;){</p>
<p>		 include(EVENT_CALENDAR_DIR . &#8220;event_class.php&#8221;);</p>
<p>		$event = new Manage_events;</p>
<p>$data = array(</p>
<p>			&#8216;post_id&#8217; =&gt; $_POST['ID'],</p>
<p>			&#8216;start_date&#8217; =&gt; $_POST['start_date'],</p>
<p>			&#8216;end_date&#8217; =&gt; $_POST['end_date'],</p>
<p>			&#8216;start_time&#8217; =&gt; $_POST['start_time'],</p>
<p>			&#8216;end_time&#8217; =&gt; $_POST['end_time'],</p>
<p>			&#8216;event_visible&#8217; =&gt; $_POST['event_visible']</p>
<p>		);</p>
<p>$event-&gt;save($data);</p>
<p>	}</p>
<p>}</p>
<p>i got the custom field in the post.when i  publish the content with custom date ,data is not stored in the database. Can you suggest some tricks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Day Seven – Adding Query Vars and Rewrite Rules by Arpita Patel</title>
		<link>http://www.wpinsideout.com/adding-query-vars-and-rewrite-rules#comment-840</link>
		<dc:creator>Arpita Patel</dc:creator>
		<pubDate>Wed, 19 Jan 2011 04:51:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpinsideout.com/?p=229#comment-840</guid>
		<description>Really very good article. helped me to impement extra rewrite rules in our sites.


Thanks a lot.

Arpita</description>
		<content:encoded><![CDATA[<p>Really very good article. helped me to impement extra rewrite rules in our sites.</p>
<p>Thanks a lot.</p>
<p>Arpita</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Advanced Custom Post Types &#8211; PHP Class Integration by Rich</title>
		<link>http://www.wpinsideout.com/advanced-custom-post-types-php-class-integration#comment-833</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Mon, 17 Jan 2011 19:50:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpinsideout.com/?p=97#comment-833</guid>
		<description>Thanks for such a well written article!</description>
		<content:encoded><![CDATA[<p>Thanks for such a well written article!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Day Ten: Adding A Threshold To the Event Calendar by Carlitos</title>
		<link>http://www.wpinsideout.com/day-ten-adding-a-threshold-to-the-event-calendar#comment-828</link>
		<dc:creator>Carlitos</dc:creator>
		<pubDate>Sun, 16 Jan 2011 11:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpinsideout.com/?p=301#comment-828</guid>
		<description>Hello! 

First of all, many many thanks for this great tutorial series. It has been most illuminating. 

I&#039;d like to point out that the code, as it is attached to this post, has one little bug.  On the last lines of the custom_event_calendar function (custom_event_calendar.php), you overwrite the contents of the $options array, as in:

&lt;code&gt;
    include(&#039;calendar.php&#039;);

    $options = array(
            &#039;link_base&#039; =&gt; $link_base
    );

    include(&#039;calendar_events.php&#039;);

    $options = array(
        &#039;threshold&#039; =&gt; &quot;7:00:00&quot;
    );

    $our_events = new Our_calendar_events($options);

    $events = $our_events-&gt;calendar_content($month, $year);

    $event_calendar = new Event_calendar($options);

    return $event_calendar-&gt;create($month, $year, $events);

&lt;/code&gt;

This has the negative effect of not passing $link_base to Event_calendar-&gt;create, because $options has been overwritten with only $threshold&#039;s value. I changed this code to the following, and it resumed working as intended:

&lt;code&gt;

    $options = array(
            &#039;link_base&#039; =&gt; $link_base,
						&#039;threshold&#039; =&gt; &quot;7:00:00&quot;
    );

    include(&#039;calendar.php&#039;);
    include(&#039;calendar_events.php&#039;);

    $our_events = new Our_calendar_events($options);
    $events = $our_events-&gt;calendar_content($month, $year);
    $event_calendar = new Event_calendar($options);

    return $event_calendar-&gt;create($month, $year, $events);
&lt;/code&gt;

Again, thanks a million for this series!</description>
		<content:encoded><![CDATA[<p>Hello! </p>
<p>First of all, many many thanks for this great tutorial series. It has been most illuminating. </p>
<p>I&#8217;d like to point out that the code, as it is attached to this post, has one little bug.  On the last lines of the custom_event_calendar function (custom_event_calendar.php), you overwrite the contents of the $options array, as in:</p>
<p><pre><code>
&nbsp;&nbsp;&nbsp;&nbsp;include(&#039;calendar.php&#039;);

&nbsp;&nbsp;&nbsp;&nbsp;$options = array(
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#039;link_base&#039; =&gt; $link_base
&nbsp;&nbsp;&nbsp;&nbsp;);

&nbsp;&nbsp;&nbsp;&nbsp;include(&#039;calendar_events.php&#039;);

&nbsp;&nbsp;&nbsp;&nbsp;$options = array(
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#039;threshold&#039; =&gt; &quot;7:00:00&quot;
&nbsp;&nbsp;&nbsp;&nbsp;);

&nbsp;&nbsp;&nbsp;&nbsp;$our_events = new Our_calendar_events($options);

&nbsp;&nbsp;&nbsp;&nbsp;$events = $our_events-&gt;calendar_content($month, $year);

&nbsp;&nbsp;&nbsp;&nbsp;$event_calendar = new Event_calendar($options);

&nbsp;&nbsp;&nbsp;&nbsp;return $event_calendar-&gt;create($month, $year, $events);

</code></pre></p>
<p>This has the negative effect of not passing $link_base to Event_calendar-&gt;create, because $options has been overwritten with only $threshold&#8217;s value. I changed this code to the following, and it resumed working as intended:</p>
<p><pre><code>

&nbsp;&nbsp;&nbsp;&nbsp;$options = array(
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#039;link_base&#039; =&gt; $link_base,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#039;threshold&#039; =&gt; &quot;7:00:00&quot;
&nbsp;&nbsp;&nbsp;&nbsp;);

&nbsp;&nbsp;&nbsp;&nbsp;include(&#039;calendar.php&#039;);
&nbsp;&nbsp;&nbsp;&nbsp;include(&#039;calendar_events.php&#039;);

&nbsp;&nbsp;&nbsp;&nbsp;$our_events = new Our_calendar_events($options);
&nbsp;&nbsp;&nbsp;&nbsp;$events = $our_events-&gt;calendar_content($month, $year);
&nbsp;&nbsp;&nbsp;&nbsp;$event_calendar = new Event_calendar($options);

&nbsp;&nbsp;&nbsp;&nbsp;return $event_calendar-&gt;create($month, $year, $events);
</code></pre></p>
<p>Again, thanks a million for this series!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Custom Meta Box with a Datepicker by nayeem</title>
		<link>http://www.wpinsideout.com/a-custom-meta-box-with-a-datepicker#comment-802</link>
		<dc:creator>nayeem</dc:creator>
		<pubDate>Mon, 10 Jan 2011 12:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpinsideout.com/?p=125#comment-802</guid>
		<description>Great stuff.I am using start date and end date in custom field .I am having problem to get the range of date from the custom fields instead of publishing date.In my site i have menu tab today , weekly ,monthly events. 

For eg: Event is happening between 6 jan 2011 to 25 jan 2011.While clicking the today event tab button  it shows nothing except on publish date.What would you suggest?</description>
		<content:encoded><![CDATA[<p>Great stuff.I am using start date and end date in custom field .I am having problem to get the range of date from the custom fields instead of publishing date.In my site i have menu tab today , weekly ,monthly events. </p>
<p>For eg: Event is happening between 6 jan 2011 to 25 jan 2011.While clicking the today event tab button  it shows nothing except on publish date.What would you suggest?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

