<?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: Custom Post Type Permalinks</title>
	<atom:link href="http://shibashake.com/wordpress-theme/custom-post-type-permalinks/feed" rel="self" type="application/rss+xml" />
	<link>http://shibashake.com/wordpress-theme/custom-post-type-permalinks</link>
	<description>Dynamic WordPress Theme</description>
	<lastBuildDate>Tue, 15 May 2012 17:59:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: ShibaShake</title>
		<link>http://shibashake.com/wordpress-theme/custom-post-type-permalinks#comment-13390</link>
		<dc:creator>ShibaShake</dc:creator>
		<pubDate>Mon, 16 Apr 2012 01:26:01 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6415#comment-13390</guid>
		<description>Sounds like it could be a permalink conflict -
http://shibashake.com/wordpress-theme/custom-post-type-permalinks-part-2#conflict</description>
		<content:encoded><![CDATA[<p>Sounds like it could be a permalink conflict -<br />
<a href="http://shibashake.com/wordpress-theme/custom-post-type-permalinks-part-2#conflict" rel="nofollow">http://shibashake.com/wordpress-theme/custom-post-type-permalinks-part-2#conflict</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://shibashake.com/wordpress-theme/custom-post-type-permalinks#comment-13382</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Sun, 15 Apr 2012 21:29:12 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6415#comment-13382</guid>
		<description>hey, great tutorials. works well to change the permalink, however with the new ones set up i just get a 404 error. The post edit page shows the new permalink but when I open it, 404 error still.

is there anything i might be missing?

thanks :)</description>
		<content:encoded><![CDATA[<p>hey, great tutorials. works well to change the permalink, however with the new ones set up i just get a 404 error. The post edit page shows the new permalink but when I open it, 404 error still.</p>
<p>is there anything i might be missing?</p>
<p>thanks <img src='http://shibashake.com/wordpress-theme/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://shibashake.com/wordpress-theme/custom-post-type-permalinks#comment-11973</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 28 Feb 2012 10:30:39 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6415#comment-11973</guid>
		<description>Thanks for this article, helped me fix up the permalinks on my custom post types.</description>
		<content:encoded><![CDATA[<p>Thanks for this article, helped me fix up the permalinks on my custom post types.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ShibaShake</title>
		<link>http://shibashake.com/wordpress-theme/custom-post-type-permalinks#comment-1973</link>
		<dc:creator>ShibaShake</dc:creator>
		<pubDate>Wed, 11 Aug 2010 17:16:48 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6415#comment-1973</guid>
		<description>I usually flush the rewrite rules on my deactivation function - i.e. the function tied to my plugin deactivation hook.

&lt;pre lang=&quot;PHP&quot;&gt;
register_deactivation_hook( __FILE__, &#039;my_deactivate_function&#039;  );

function my_deactivate_function() {
    	global $wp_rewrite;
	$wp_rewrite-&gt;flush_rules();	
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>I usually flush the rewrite rules on my deactivation function &#8211; i.e. the function tied to my plugin deactivation hook.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">register_deactivation_hook<span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'my_deactivate_function'</span>  <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> my_deactivate_function<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$wp_rewrite</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$wp_rewrite</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">flush_rules</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Kirsy</title>
		<link>http://shibashake.com/wordpress-theme/custom-post-type-permalinks#comment-1954</link>
		<dc:creator>Kirsy</dc:creator>
		<pubDate>Tue, 10 Aug 2010 08:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6415#comment-1954</guid>
		<description>Hi There! Thanks for the post. I&#039;m kind of a newby with this stuff. Can you tell me where (which .php?) i need to ad this:

global $wp_rewrite;
$wp_rewrite-&gt;flush_rules();

Hope you can help me out..
Tnx! Kirsy</description>
		<content:encoded><![CDATA[<p>Hi There! Thanks for the post. I&#8217;m kind of a newby with this stuff. Can you tell me where (which .php?) i need to ad this:</p>
<p>global $wp_rewrite;<br />
$wp_rewrite-&gt;flush_rules();</p>
<p>Hope you can help me out..<br />
Tnx! Kirsy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: http://shibashake.com/wordpress-theme/cu&#8230; &#171; rtCafe</title>
		<link>http://shibashake.com/wordpress-theme/custom-post-type-permalinks#comment-1801</link>
		<dc:creator>http://shibashake.com/wordpress-theme/cu&#8230; &#171; rtCafe</dc:creator>
		<pubDate>Sat, 17 Jul 2010 04:52:32 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6415#comment-1801</guid>
		<description>[...] http://shibashake.com/wordpress-theme/custom-post-type-permalinks  &#160; [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://shibashake.com/wordpress-theme/custom-post-type-permalinks" rel="nofollow">http://shibashake.com/wordpress-theme/custom-post-type-permalinks</a>  &nbsp; [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 10/24 queries in 0.611 seconds using disk: basic
Object Caching 438/456 objects using disk: basic

Served from: shibashake.com @ 2012-05-15 11:14:53 -->
