<?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 x + 3</title>
	<atom:link href="http://xplus3.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://xplus3.net</link>
	<description></description>
	<lastBuildDate>Fri, 18 May 2012 22:16:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>Comment on Archives for Custom Post Types in WordPress by Brian Layman</title>
		<link>http://xplus3.net/2010/08/08/archives-for-custom-post-types-in-wordpress/comment-page-1/#comment-2895</link>
		<dc:creator>Brian Layman</dc:creator>
		<pubDate>Fri, 18 May 2012 22:16:16 +0000</pubDate>
		<guid isPermaLink="false">http://xplus3.net/?p=311#comment-2895</guid>
		<description>Very nice! This answered my exact question. Thank you!</description>
		<content:encoded><![CDATA[<p>Very nice! This answered my exact question. Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Permalinks for Custom Post Types in WordPress 3.0+ by Lu?t doanh nghi?p</title>
		<link>http://xplus3.net/2010/05/20/wp3-custom-post-type-permalinks/comment-page-1/#comment-2894</link>
		<dc:creator>Lu?t doanh nghi?p</dc:creator>
		<pubDate>Tue, 15 May 2012 03:59:09 +0000</pubDate>
		<guid isPermaLink="false">http://xplus3.net/?p=275#comment-2894</guid>
		<description>how to show categories with function register_post_type

my code 
&lt;code&gt; 
function codex_custom_init() {
  $labels = array(
    &#039;name&#039; =&gt; _x(&#039;News&#039;, &#039;post type general name&#039;),
    &#039;singular_name&#039; =&gt; _x(&#039;News&#039;, &#039;post type singular name&#039;),
    &#039;add_new&#039; =&gt; _x(&#039;Add New&#039;, &#039;News&#039;),
    &#039;add_new_item&#039; =&gt; __(&#039;Add News&#039;),
    &#039;edit_item&#039; =&gt; __(&#039;Edit News&#039;),
    &#039;new_item&#039; =&gt; __(&#039;New News&#039;),
    &#039;all_items&#039; =&gt; __(&#039;All News&#039;),
    &#039;view_item&#039; =&gt; __(&#039;View News&#039;),
    &#039;search_items&#039; =&gt; __(&#039;Search News&#039;),
    &#039;not_found&#039; =&gt;  __(&#039;No News found&#039;),
    &#039;not_found_in_trash&#039; =&gt; __(&#039;No News found in Trash&#039;), 
    &#039;parent_item_colon&#039; =&gt; &#039;&#039;,
    &#039;menu_name&#039; =&gt; &#039;News&#039;,

  );
  $args = array(
    &#039;labels&#039; =&gt; $labels,
    &#039;public&#039; =&gt; true,
    &#039;publicly_queryable&#039; =&gt; true,
    &#039;show_ui&#039; =&gt; true, 
    &#039;show_in_menu&#039; =&gt; true, 
    &#039;query_var&#039; =&gt; true,
    &#039;map_meta_cap&#039; =&gt; true,    
    &#039;rewrite&#039; =&gt; true,
    &#039;capability_type&#039; =&gt; &#039;post&#039;,
    &#039;has_archive&#039; =&gt; true, 
    &#039;hierarchical&#039; =&gt; false,
    &#039;menu_position&#039; =&gt; 6,
    &#039;supports&#039; =&gt; array( &#039;title&#039;, &#039;editor&#039;, &#039;author&#039;, &#039;thumbnail&#039;, &#039;excerpt&#039;, &#039;trackbacks&#039;, &#039;custom-fields&#039;, &#039;comments&#039;, &#039;revisions&#039;, &#039;post-formats&#039; ),
    &#039;taxonomies&#039; =&gt; array(&#039;n&#039;, &#039;post_tag&#039;),
    &#039;show_ui&#039; =&gt; true,
  ); 
  register_post_type(&#039;n&#039;,$args);
}
add_action( &#039;init&#039;, &#039;codex_custom_init&#039; );
&lt;/code&gt; 

Thanks</description>
		<content:encoded><![CDATA[<p>how to show categories with function register_post_type</p>
<p>my code<br />
<code><br />
function codex_custom_init() {<br />
  $labels = array(<br />
    'name' =&gt; _x('News', 'post type general name'),<br />
    'singular_name' =&gt; _x('News', 'post type singular name'),<br />
    'add_new' =&gt; _x('Add New', 'News'),<br />
    'add_new_item' =&gt; __('Add News'),<br />
    'edit_item' =&gt; __('Edit News'),<br />
    'new_item' =&gt; __('New News'),<br />
    'all_items' =&gt; __('All News'),<br />
    'view_item' =&gt; __('View News'),<br />
    'search_items' =&gt; __('Search News'),<br />
    'not_found' =&gt;  __('No News found'),<br />
    'not_found_in_trash' =&gt; __('No News found in Trash'),<br />
    'parent_item_colon' =&gt; '',<br />
    'menu_name' =&gt; 'News',</p>
<p>  );<br />
  $args = array(<br />
    'labels' =&gt; $labels,<br />
    'public' =&gt; true,<br />
    'publicly_queryable' =&gt; true,<br />
    'show_ui' =&gt; true,<br />
    'show_in_menu' =&gt; true,<br />
    'query_var' =&gt; true,<br />
    'map_meta_cap' =&gt; true,<br />
    'rewrite' =&gt; true,<br />
    'capability_type' =&gt; 'post',<br />
    'has_archive' =&gt; true,<br />
    'hierarchical' =&gt; false,<br />
    'menu_position' =&gt; 6,<br />
    'supports' =&gt; array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'comments', 'revisions', 'post-formats' ),<br />
    'taxonomies' =&gt; array('n', 'post_tag'),<br />
    'show_ui' =&gt; true,<br />
  );<br />
  register_post_type('n',$args);<br />
}<br />
add_action( 'init', 'codex_custom_init' );<br />
</code> </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Permalinks for Custom Post Types in WordPress 3.0+ by syed</title>
		<link>http://xplus3.net/2010/05/20/wp3-custom-post-type-permalinks/comment-page-1/#comment-2888</link>
		<dc:creator>syed</dc:creator>
		<pubDate>Thu, 19 Apr 2012 15:27:30 +0000</pubDate>
		<guid isPermaLink="false">http://xplus3.net/?p=275#comment-2888</guid>
		<description>Thank Jonathan, I was having issue with custom post type, I was getting 404. And your comment saved me ;).</description>
		<content:encoded><![CDATA[<p>Thank Jonathan, I was having issue with custom post type, I was getting 404. And your comment saved me ;).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Permalinks for Custom Post Types in WordPress 3.0+ by Daniel</title>
		<link>http://xplus3.net/2010/05/20/wp3-custom-post-type-permalinks/comment-page-1/#comment-2886</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 11 Apr 2012 11:09:07 +0000</pubDate>
		<guid isPermaLink="false">http://xplus3.net/?p=275#comment-2886</guid>
		<description>Just in case it help somebody

&lt;code&gt;
add_action(&#039;init&#039;, &#039;my_rewrite&#039;);
function my_rewrite() {
global $wp_rewrite;
$my_structure = &#039;/%postname%.html&#039;;
$wp_rewrite-&gt;add_rewrite_tag(&quot;%postname%&quot;, &#039;([^/]+)&#039;, &quot;my-post-type=&quot;);
$wp_rewrite-&gt;add_permastruct(&#039;my-post-type&#039;, $my_structure, false);
$wp_rewrite-&gt;flush_rules(); // !!!
}
&lt;/code&gt;

It changes example.com/my-post-type/test-1 to example.com/test-1.html

&lt;strong&gt;Warning:&lt;/strong&gt;
Note the .html (dot HTML) at the end of the new permalink - just in case it gives you conflicts, also be aware of other things in your installation that may be using the same name as your custom post type, like pages, posts or categories, anything that can be accessed from the same url.</description>
		<content:encoded><![CDATA[<p>Just in case it help somebody</p>
<p><code><br />
add_action('init', 'my_rewrite');<br />
function my_rewrite() {<br />
global $wp_rewrite;<br />
$my_structure = '/%postname%.html';<br />
$wp_rewrite-&gt;add_rewrite_tag("%postname%", '([^/]+)', "my-post-type=");<br />
$wp_rewrite-&gt;add_permastruct('my-post-type', $my_structure, false);<br />
$wp_rewrite-&gt;flush_rules(); // !!!<br />
}<br />
</code></p>
<p>It changes example.com/my-post-type/test-1 to example.com/test-1.html</p>
<p><strong>Warning:</strong><br />
Note the .html (dot HTML) at the end of the new permalink &#8211; just in case it gives you conflicts, also be aware of other things in your installation that may be using the same name as your custom post type, like pages, posts or categories, anything that can be accessed from the same url.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Permalinks for Custom Post Types in WordPress 3.0+ by Daniel</title>
		<link>http://xplus3.net/2010/05/20/wp3-custom-post-type-permalinks/comment-page-1/#comment-2885</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 11 Apr 2012 10:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://xplus3.net/?p=275#comment-2885</guid>
		<description>but... ho can I remove the whole custom post type name or slug from the url, to change from example.com/my-post-type/test-1  to example.com/test-1   ????

So far I have:
&lt;code&gt;function my_rewrite() {
    global $wp_rewrite;
    $wp_rewrite-&gt;add_permastruct(&#039;my-post-type&#039;, &#039;%postname%/&#039;, false);
    add_rewrite_rule(&#039;my-post-type/([0-9]{4})/(.+)/?$&#039;, &#039;index.php?typename=$matches[2]&#039;, &#039;top&#039;);
    $wp_rewrite-&gt;flush_rules(); // !!!
}&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>but&#8230; ho can I remove the whole custom post type name or slug from the url, to change from example.com/my-post-type/test-1  to example.com/test-1   ????</p>
<p>So far I have:<br />
<code>function my_rewrite() {<br />
    global $wp_rewrite;<br />
    $wp_rewrite-&gt;add_permastruct('my-post-type', '%postname%/', false);<br />
    add_rewrite_rule('my-post-type/([0-9]{4})/(.+)/?$', 'index.php?typename=$matches[2]', 'top');<br />
    $wp_rewrite-&gt;flush_rules(); // !!!<br />
}</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Permalinks for Custom Post Types in WordPress 3.0+ by custom post type and custom taxonomy permalink &#124; web technical support</title>
		<link>http://xplus3.net/2010/05/20/wp3-custom-post-type-permalinks/comment-page-1/#comment-2882</link>
		<dc:creator>custom post type and custom taxonomy permalink &#124; web technical support</dc:creator>
		<pubDate>Mon, 09 Apr 2012 11:18:35 +0000</pubDate>
		<guid isPermaLink="false">http://xplus3.net/?p=275#comment-2882</guid>
		<description>[...] Whem I&#8217;m using this solution: http://xplus3.net/2010/05/20/wp3-custom-post-type-permalinks/comment-page-1/#comment-1005 [...]</description>
		<content:encoded><![CDATA[<p>[...] Whem I&#8217;m using this solution: <a href="http://xplus3.net/2010/05/20/wp3-custom-post-type-permalinks/comment-page-1/#comment-1005" rel="nofollow">http://xplus3.net/2010/05/20/wp3-custom-post-type-permalinks/comment-page-1/#comment-1005</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Thumbnails WordPress Plugin by David Ray</title>
		<link>http://xplus3.net/2008/11/17/custom-thumbnails-wordpress-plugin/comment-page-1/#comment-2877</link>
		<dc:creator>David Ray</dc:creator>
		<pubDate>Tue, 03 Apr 2012 18:54:46 +0000</pubDate>
		<guid isPermaLink="false">http://xplus3.net/?p=148#comment-2877</guid>
		<description>Great Idea for a plugin, when I tried using it with WP 3.3.1 the dropdown list was not populated with anything. Any Ideas?

Thanks,

David</description>
		<content:encoded><![CDATA[<p>Great Idea for a plugin, when I tried using it with WP 3.3.1 the dropdown list was not populated with anything. Any Ideas?</p>
<p>Thanks,</p>
<p>David</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Custom Permalinks for Custom Post Types in WordPress 3.0+ by Iani</title>
		<link>http://xplus3.net/2010/05/20/wp3-custom-post-type-permalinks/comment-page-1/#comment-2873</link>
		<dc:creator>Iani</dc:creator>
		<pubDate>Mon, 02 Apr 2012 06:18:24 +0000</pubDate>
		<guid isPermaLink="false">http://xplus3.net/?p=275#comment-2873</guid>
		<description>Thanks a lot! Your post + the first comment did the trick.

However, I have a quick question. How to add a &quot;.html&quot; extension to the link we&#039;re talking about?

Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks a lot! Your post + the first comment did the trick.</p>
<p>However, I have a quick question. How to add a &#8220;.html&#8221; extension to the link we&#8217;re talking about?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Excerpts for WordPress Pages by hlynnt</title>
		<link>http://xplus3.net/2010/09/15/excerpts-for-wordpress-pages/comment-page-1/#comment-2870</link>
		<dc:creator>hlynnt</dc:creator>
		<pubDate>Tue, 20 Mar 2012 17:53:04 +0000</pubDate>
		<guid isPermaLink="false">http://xplus3.net/?p=335#comment-2870</guid>
		<description>I would like to choose a set amount of words rather than charactors so that the cut-off doesn&#039;t chop a word in the middle. Is there a way to do this?</description>
		<content:encoded><![CDATA[<p>I would like to choose a set amount of words rather than charactors so that the cut-off doesn&#8217;t chop a word in the middle. Is there a way to do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Excerpts for WordPress Pages by Quang</title>
		<link>http://xplus3.net/2010/09/15/excerpts-for-wordpress-pages/comment-page-1/#comment-2868</link>
		<dc:creator>Quang</dc:creator>
		<pubDate>Sun, 04 Mar 2012 22:00:06 +0000</pubDate>
		<guid isPermaLink="false">http://xplus3.net/?p=335#comment-2868</guid>
		<description>@Ruth Maude: You are right. Just need to tick on Excerpt on the Screen Options.</description>
		<content:encoded><![CDATA[<p>@Ruth Maude: You are right. Just need to tick on Excerpt on the Screen Options.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

