<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WPContent</title>
	<atom:link href="http://www.wpcontent.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpcontent.com</link>
	<description>WordPress plugin &#38; theme hacks, how-to&#039;s &#38; video tutorials</description>
	<lastBuildDate>Sat, 03 Apr 2010 19:02:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to add any content between the first and second post on your WordPress blog</title>
		<link>http://www.wpcontent.com/post/190</link>
		<comments>http://www.wpcontent.com/post/190#comments</comments>
		<pubDate>Sat, 03 Apr 2010 18:56:46 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[adding content]]></category>
		<category><![CDATA[ads]]></category>
		<category><![CDATA[template edits]]></category>

		<guid isPermaLink="false">http://www.wpcontent.com/?p=190</guid>
		<description><![CDATA[Here&#8217;s a quick and easy way to add content (ads, user messages, images, etc&#8230;) in between the first and second post on your blog&#8217;s homepage.  I cover The Loop and how to use PHP if statements to control where your content gets added and how to avoid it getting repeated.
I also explain how to show [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a quick and easy way to add content (ads, user messages, images, etc&#8230;) in between the first and second post on your blog&#8217;s homepage.  I cover <a href="http://codex.wordpress.org/The_Loop" target="_blank">The Loop</a> and how to use PHP if statements to control where your content gets added and how to avoid it getting repeated.</p>
<p>I also explain how to show the full article on the first 2 posts and the excerpts on the remaining posts.</p>
<p><a href="http://www.wpcontent.com/post/190"><em>Click here to view the embedded video.</em></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpcontent.com/post/190/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Get a 24-hour Free Trial membership to lynda․com and master WordPress</title>
		<link>http://www.wpcontent.com/post/187</link>
		<comments>http://www.wpcontent.com/post/187#comments</comments>
		<pubDate>Wed, 24 Mar 2010 13:13:37 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Lynda]]></category>

		<guid isPermaLink="false">http://www.wpcontent.com/?p=187</guid>
		<description><![CDATA[Lynda is a great way to learn WordPress (and other software).  Now they are offering a free 24 hour trial period!  It&#8217;s definitely worth taking a look at if you want to learn more about WordPress or PhotoShop or CSS or&#8230;
Check it out here: Free 24 Hour Lynda Trial
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.wpcontent.com/102" target="_blank">Lynda</a> is a great way to learn WordPress (and other software).  Now they are offering a free 24 hour trial period!  It&#8217;s definitely worth taking a look at if you want to learn more about WordPress or PhotoShop or CSS or&#8230;</p>
<p>Check it out here: <a href="http://www.wpcontent.com/102" target="_blank">Free 24 Hour Lynda Trial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpcontent.com/post/187/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can I change permissions on my WordPress blog so that I can upload images?</title>
		<link>http://www.wpcontent.com/post/183</link>
		<comments>http://www.wpcontent.com/post/183#comments</comments>
		<pubDate>Tue, 02 Mar 2010 20:19:02 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[file permissions]]></category>
		<category><![CDATA[upload media]]></category>

		<guid isPermaLink="false">http://www.wpcontent.com/?p=183</guid>
		<description><![CDATA[If you get an error like &#8220;Unable to create directory /home/path/public_html/wp-content/uploads/2010/03. Is its parent directory writable by the server?&#8221; the first time you try to upload an image or video, it&#8217;s most likely a problem with your server&#8217;s permissions.  And while this sounds like a scary  thing to fix, it&#8217;s actually quite easy.  In the [...]]]></description>
			<content:encoded><![CDATA[<p>If you get an error like &#8220;<span style="color: #ff0000;"><strong><em>Unable to create directory /home/path/public_html/wp-content/uploads/2010/03. Is its parent directory writable by the server?</em></strong></span>&#8221; the first time you try to upload an image or video, it&#8217;s most likely a problem with your server&#8217;s permissions.  And while this sounds like a scary  thing to fix, it&#8217;s actually quite easy.  In the video below I will show you how to change the permissions on your server so that your folders will be safe and you will be able to upload media.  Be sure to read more about <a title="changing file permissions" href="http://codex.wordpress.org/Changing_File_Permissions" target="_blank">changing file permissions here</a>.  I show you how to change permissions using cPanel&#8217;s File Manager and through the free FTP program <a title="Get FileZilla" href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;ved=0CAgQFjAA&amp;url=http%3A%2F%2Ffilezilla-project.org%2F&amp;ei=DXCNS_ypEYWVtgeu46nwCA&amp;usg=AFQjCNFi0DpQ1I5V_nCUkxMoqvM1kA5XnA&amp;sig2=3RSO_0J-cOJY7ooyY-GTcA" target="_blank">FileZilla</a>.</p>
<p><a href="http://www.wpcontent.com/post/183"><em>Click here to view the embedded video.</em></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpcontent.com/post/183/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The WordPress flash media uploader doesn&#8217;t work. How can I fix it?</title>
		<link>http://www.wpcontent.com/post/176</link>
		<comments>http://www.wpcontent.com/post/176#comments</comments>
		<pubDate>Sat, 27 Feb 2010 17:36:07 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[2.9]]></category>
		<category><![CDATA[flash uploader]]></category>
		<category><![CDATA[HTTP error]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[upload media]]></category>

		<guid isPermaLink="false">http://www.wpcontent.com/?p=176</guid>
		<description><![CDATA[Depending on your webhost&#8217;s server settings, the flash uploader may not work, which can be a real bummer especially if you upload a lot of media.  For those who are unaware, the flash uploader allows you to upload more than 1 piece of media at a time.  This is especially useful if you add many [...]]]></description>
			<content:encoded><![CDATA[<p>Depending on your webhost&#8217;s server settings, the flash uploader may not work, which can be a real bummer especially if you upload a lot of media.  For those who are unaware, the flash uploader allows you to upload more than 1 piece of media at a time.  This is especially useful if you add many photos to your posts.</p>
<p>In this video, I show you how to force the flash media uploader to work.  Thanks to <a href="http://www.kimwoodbridge.com/wordpress-flash-uploader-fix-for-the-http-error/" target="_blank">KimWoodbridge.com</a> for the useful .htaccess code.  This code will remove the &#8220;HTTP Error&#8221; message that you might have already received.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p176code2'); return false;">View Code</a> TXT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1762"><td class="code" id="p176code2"><pre class="txt" style="font-family:monospace;">#BEGIN Image Upload HTTP Error Fix
&lt;IfModule mod_security.c&gt;
&lt;Files async-upload.php&gt;
SecFilterEngine Off
SecFilterScanPOST Off
&lt;/Files&gt;
&lt;/IfModule&gt;
#END Image Upload HTTP Error Fix</pre></td></tr></table></div>

<p><a href="http://www.wpcontent.com/post/176"><em>Click here to view the embedded video.</em></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpcontent.com/post/176/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preventing your Wordpress cron schedule from conflicting with other cron schedules</title>
		<link>http://www.wpcontent.com/post/45</link>
		<comments>http://www.wpcontent.com/post/45#comments</comments>
		<pubDate>Tue, 02 Dec 2008 02:18:45 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[cron jobs]]></category>
		<category><![CDATA[cron_schedules]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.wpcontent.com/?p=45</guid>
		<description><![CDATA[Setting up your own cron jobs in Wordpress is quite simple using the Wordpress filter cron_schedules.  I&#8217;ve searched the web high and low for info related to adding your own cron job to Wordpress and this blog post has got to be by far the most informative.
There is one thing missing from the post and [...]]]></description>
			<content:encoded><![CDATA[<p>Setting up your own cron jobs in Wordpress is quite simple using the Wordpress filter cron_schedules.  I&#8217;ve searched the web high and low for info related to adding your own cron job to Wordpress and <a href="http://blog.slaven.net.au/archives/2007/02/01/timing-is-everything-scheduling-in-wordpress/" target="_blank">this blog post</a> has got to be by far the most informative.</p>
<p>There is one thing missing from the post and that&#8217;s making sure your cron is compatible with all other cron jobs that other plugins may add.</p>
<p>I have written a plugin that uses the cron_schedules filter to add a cron job.  I wrote it as was suggested in Slaven&#8217;s blog post.  Then a few months later, one of my plugin users reported that the cron job of my plugin was not running at all.  It took me quite a few hours of testing but I finally figured out that another plugin&#8217;s cron was overwriting my cron.</p>
<p>So, here&#8217;s how to ensure that your cron job plays nicely with other cron jobs. The code I use here is based on the <a href="http://blog.slaven.net.au/archives/2007/02/01/timing-is-everything-scheduling-in-wordpress/" target="_blank">tutorial by Slaven</a> which you should definitely check out.</p>
<p>Here is the original function which adds the new cron to Wordpress&#8217;s cron_schedules:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p45code5'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p455"><td class="code" id="p45code5"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> more_reccurences<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #990000;">array</span> <span style="color: #009900;">&#40;</span>
		<span style="color: #0000ff;">'weekly'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'interval'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #cc66cc;">604800</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'display'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000ff;">'Once Weekly'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
		<span style="color: #0000ff;">'fortnightly'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'interval'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #cc66cc;">1209600</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'display'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000ff;">'Once Fortnightly'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
	<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Now, to make sure that your schedules do not overwrite any other cron schedules:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p45code6'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p456"><td class="code" id="p45code6"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> more_reccurences<span style="color: #009900;">&#40;</span><span style="color: #000088;">$schedules</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$schedules</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'weekly'</span><span style="color: #009900;">&#93;</span> 		<span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'interval'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #cc66cc;">604800</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'display'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000ff;">'Once Weekly'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$schedules</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'fortnightly'</span><span style="color: #009900;">&#93;</span> 	<span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'interval'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #cc66cc;">1209600</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'display'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000ff;">'Once Fortnightly'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #000088;">$schedules</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>In this example, we pass the $schedules variable to the more_reccurences() function so we have access to it from within the function.  Then, we add two new associative arrays to the $schedules variable.  Finally, return the $schedules variable with your new values added but without overwriting any of the crons that might have been set by other plugins.</p>
<p>I&#8217;ve had many users test this method setting a cron job and I haven&#8217;t had any problems so far.  Again, I would like to thank Slaven for his original tutorial!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpcontent.com/post/45/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

