<?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>Rob Cooper dot Com - Canadian Eh &#187; wordpress</title>
	<atom:link href="http://www.robcooper.com/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.robcooper.com</link>
	<description>.... anything is possible and nothing happens by accident</description>
	<lastBuildDate>Sat, 30 Jul 2011 00:59:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Solution: Cant Create Categories in WordPress</title>
		<link>http://www.robcooper.com/wordpress/solution-cant-create-categories-wordpress.html</link>
		<comments>http://www.robcooper.com/wordpress/solution-cant-create-categories-wordpress.html#comments</comments>
		<pubDate>Tue, 22 Feb 2011 03:05:45 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[categories]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[solutions]]></category>

		<guid isPermaLink="false">http://www.robcooper.com/?p=272</guid>
		<description><![CDATA[I got a call from a client saying "I can't create categories in wordpress", so popped into his blog for a look.   Sure enough, can't create categories and in a related matter, can't edit permalink structure for the url of the post either.  A google search turned up no real answers and I thought, "the answer is in the log files" ....]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.robcooper.com/canada//2011/02/cant-create-categories-in-wordpress-221x300.png" alt="cant create categories in wordpress" title="cant-create-categories-in-wordpress" width="221" height="300" class="alignright size-medium wp-image-273" />After having created a few categories in a new wordpress blog, suddenly had the issue arise where I <strong>can&#8217;t create wordpress categories</strong>.  Could not edit categories or update categories.  A quick search found others having similar problems, but no solutions.  In a related matter, at the same time,  I found I <strong>can&#8217;t update wordpress permalinks</strong> on the edit post screen.  Well, suffice it to say, I found the solution and I&#8217;m posting it here for my own reminder.</p>
<h2>Can&#8217;t Create WordPress Categories</h2>
<p>You&#8217;ve created the blog, added categories, created posts and pages and everything was running just fine until one day, POOF! &#8211; the editor seemed to stall, and the &#8220;edit&#8221; button seemed to go into an infinite loop.</p>
<p>You may have found that you can&#8217;t edit categories in WordPress either.  I tried that too.  Tried to edit &#8220;uncategorized&#8221; into the new one I needed, but same deal.  Didn&#8217;t matter if it was on the post edit screen or the create categories screen.</p>
<p>solution to follow &#8230;</p>
<h2>Can&#8217;t update permalink</h2>
<p>In a related issue, you may have found that you can&#8217;t edit permalinks either.  The &#8220;Edit&#8221; button works, allowing editing of the url part of the post, but when you go to click the &#8220;OK&#8221; button, nothing happens and the button is unresponsive.</p>
<div id="attachment_274" class="wp-caption aligncenter" style="width: 602px"><img src="http://www.robcooper.com/canada//2011/02/cant-edit-permalinks-in-wordpress.png" alt="cant edit permalinks in wordpress" title="cant-edit-permalinks-in-wordpress" width="592" height="132" class="size-full wp-image-274" /><p class="wp-caption-text">clicking the edit button works, but after editing, the OK button spins forever or does not respond at all</p></div>
<p>solution to follow &#8230;</p>
<p>This has been a frustrating experience for both myself and my client.  It was he who brought it to my attention and even I could not get it to work.  Googling the problem returned results that were 2 years old at the newest and solutions ranged from &#8220;edit the categories in the database&#8221;, to &#8220;insert a .htaccess file into your wp-admin folder&#8221;.</p>
<p>My first thought was <strong>The Solution Is In The Log Files</strong>!</p>
<h2>The Solution</h2>
<p>My log files showed repeated entries of <strong>PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted</strong> &#8212;- blah blah blah, showing various amounts of memory and various .php files and wordpress plugins.</p>
<p>The answer is quite simple actually:</p>
<p><strong>Increase memory size!</strong></p>
<p>Edit your .htaccess file located in the root of your domain structure to reflect something bigger than the default.  My client&#8217;s site had a default memory limit of 32 Meg.  I increased it to 40 Meg and suddenly could create categories.</p>
<p>insert this code in your .htaccess: <code><strong>php_value memory_limit 40M</strong></code></p>
<p>The inability to edit permalinks was also corrected.</p>
<p>If you <strong>can&#8217;t create categories in wordpress</strong> or <strong>cant edit permalinks</strong>, first check your log files, and if you see memory errors, increase the memory limit.
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.robcooper.com%2Fwordpress%2Fsolution-cant-create-categories-wordpress.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.robcooper.com%2Fwordpress%2Fsolution-cant-create-categories-wordpress.html&amp;source=formerfatguy&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://www.robcooper.com/wordpress/solution-cant-create-categories-wordpress.html"></g:plusone></div><img src="http://www.robcooper.com/?ak_action=api_record_view&id=272&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.robcooper.com/wordpress/solution-cant-create-categories-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Password Protect Part of Post or Page</title>
		<link>http://www.robcooper.com/wordpress/how-to-password-protect-post-page.html</link>
		<comments>http://www.robcooper.com/wordpress/how-to-password-protect-post-page.html#comments</comments>
		<pubDate>Fri, 17 Jul 2009 18:33:28 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://www.robcooper.com/?p=189</guid>
		<description><![CDATA[If you're looking for way to password protect part of a post or page in wordpress, these two plugins provide an answer to your quest.  Show part of your post to regular readers, but hide part of the post with a password.]]></description>
			<content:encoded><![CDATA[<p>Have you ever wanted to password protect part of your blog post or page, but display some content as well?  This little wordpress plugin allows you to show part of a post or page and then keep a portion password protected.  Password protecting a post is easy, it&#8217;s the showing of partial content that&#8217;s tricky.  This is not about password protecting part of your website, but part of a post.</p>
<p>I&#8217;ve been looking for a solution to this for awhile now.</p>
<p>I have a very popular natural health and weight loss website which publishes a monthly newsletter.  Subscribers to that newsletter get my free report &#8220;How I Lost 300 Pounds &#8211; How To Lose 10 Pounds a Month, Every Month, Until You Reach Your Goal Weight&#8221;.  Those who follow the directions in the report often go on to report that they&#8217;re getting the results and losing the weight while feeling much better. The free weight loss report is a way for me to offer some really great content in exchange for an email address.</p>
<p>I&#8217;m sure you might be in the same situation.</p>
<p>So, in giving them a place to download the material, on my download page, I also want to offer other reports to the general readership.  In offering other reports of value, it&#8217;s a way to show them that by subscribing, the get the &#8220;big one&#8221;.  </p>
<p>I wondered &#8220;how do I password protect part of a post or page?&#8221; but not the rest.</p>
<p>Apparently it can&#8217;t be done.</p>
<p><strong>Until I found this plugin:</strong> <a href="http://www.newmedias.co.uk/free-wordpress-plugins/">Password &#8211; Partial Post Protection</a> (which didn&#8217;t work out of the box as claimed I might add).  On that page, half way down it is the link. It&#8217;s tucked in between a few other wordpress plugins but a little hard to see if you just scan over it.</p>
<p><img src="http://www.robcooper.com/canadian/wordpress/password-protect-part-of-post-or-page.png" title="password protect part of post or page" alt="password protect part of post or page" align="right" style="margin:0 0 10px 10px">What it does is add a little box above your publish section in the upper right hand corner of your write post page in your wordpress admin.  It uses shortcodes as you see in the image and everything within the shortcodes becomes password protected.</p>
<h2>Code Is Broken Though</h2>
<p>It&#8217;s a single file and out of the box it wont work.  In order for the form to submit the password back to the page for authentication, you have to press the submit button (obviously), but the &lt;input&gt; field for the submit button uses type=&#8221;button&#8221; which does not submit the form.</p>
<p>Line 67 has to be changed from &lt;input type=&#8221;button&#8221; &#8230;&#8230;..&gt; to &lt;input type=&#8221;submit&#8221; &#8230;..&gt;</p>
<p>Have a look at how it works:</p>
<p><strong>The next section of this post is password protected!</strong><br />
(password is &#8220;test&#8221;)</p>
<form action="/tag/wordpress/feed" method="post" enctype="multipart/form-data"><label>Password&nbsp;<input type="password" name="password" /></label><input type="submit" value="submit" name="submit" /></form>
<p>&nbsp;</p>
<p><strong>And this part is now visible again:</strong><br />
And this part below the password protection is again available to readers without the password.</p>
<p>This first solution <em>does not</em> make use of the built in password protection feature of wordpress.</p>
<h3>A Second Solution</h3>
<p>Funny enough, after looking for a solution to this for hours, I happened to read over the sitemap of a page I had open in a tab in my browser and found another solution to this.  I haven&#8217;t tried his <a href="http://www.dagondesign.com/articles/show-the-intro-to-password-protected-posts-in-wordpress/">show the intro to password protected posts</a> wordpress plugin, but I&#8217;m running a few others from him.</p>
<p>This second solution makes use of the <-- more --> tag <em>and</em> actual wordpress post password protection.</p>
<p>Seems to me that the first solution using short codes is a bit easier.</p>
<p>So there you have it.  If you want to know how to password protect part of a post or page in wordpress, these two plugins may do the trick for you as they have for me.  Now, I can move forward and create the download page for my readers that hides the bonus report until the subscribe for the password.
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.robcooper.com%2Fwordpress%2Fhow-to-password-protect-post-page.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.robcooper.com%2Fwordpress%2Fhow-to-password-protect-post-page.html&amp;source=formerfatguy&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://www.robcooper.com/wordpress/how-to-password-protect-post-page.html"></g:plusone></div><img src="http://www.robcooper.com/?ak_action=api_record_view&id=189&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.robcooper.com/wordpress/how-to-password-protect-post-page.html/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

