<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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">
	<channel>
		<title>WP Ninjas Forums &#187; Forum: Ninja Page Categories and Tags - Recent Posts</title>
		<link>http://forums.wpninjas.net/forum/5</link>
		<description>Just another bbPress community</description>
		<language>en-US</language>
		<pubDate>Thu, 17 May 2012 08:47:19 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.wpninjas.net/search.php</link>
		</textInput>
		<atom:link href="http://forums.wpninjas.net/rss/forum/5" rel="self" type="application/rss+xml" />

		<item>
			<title>pakarate on "Bugs"</title>
			<link>http://forums.wpninjas.net/topic/5#post-614</link>
			<pubDate>Tue, 22 Mar 2011 15:50:03 +0000</pubDate>
			<dc:creator>pakarate</dc:creator>
			<guid isPermaLink="false">614@http://forums.wpninjas.net/</guid>
			<description>&#60;p&#62;Widget only works if there are other widgets in the post. Seems to work with the Search post, but not on it's own. Also, if I put dates on it, it never shows up in  the widget. This is a great plugin, if I can get it to work it solves my problems. &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://tohickonvalleydesigns.com/wordpress/&#34; rel=&#34;nofollow&#34;&#62;http://tohickonvalleydesigns.com/wordpress/&#60;/a&#62; (This is a test environment.) Running 3.1
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James on "Plugin not working at all"</title>
			<link>http://forums.wpninjas.net/topic/6#post-179</link>
			<pubDate>Fri, 19 Nov 2010 14:40:25 +0000</pubDate>
			<dc:creator>James</dc:creator>
			<guid isPermaLink="false">179@http://forums.wpninjas.net/</guid>
			<description>&#60;p&#62;@emmvie - I will look into that. I really hope to simply include that into the next revision of the plugin.&#60;/p&#62;
&#60;p&#62;@olyma - Adding &#60;code&#62;&#38;lt;?php echo get_the_term_list( $post_id, &#38;#39;category&#38;#39;, &#38;#39;Category: &#38;#39;, &#38;#39;, &#38;#39;, &#38;#39;&#38;#39; ); ?&#38;gt;&#60;/code&#62; anywhere in the archive.php or page.php that you want the categories to be displayed should work for your needs.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>olyma on "Plugin not working at all"</title>
			<link>http://forums.wpninjas.net/topic/6#post-18</link>
			<pubDate>Wed, 06 Oct 2010 08:43:13 +0000</pubDate>
			<dc:creator>olyma</dc:creator>
			<guid isPermaLink="false">18@http://forums.wpninjas.net/</guid>
			<description>&#60;p&#62;This is a wonderful plugin, thank you so much! Everything works great in so far as pages showing up in my archives under specific categories and with tags appearing in the archives and at the end of posts using: &#38;lt;?php the_tags('Tags: ', ', ', ''); ?&#38;gt;, but when listing categories using: &#38;lt;?php the_category(', ') ?&#38;gt; in the files archives.php and page.php, the categories fail to be listed. Might you have some helpful code or other adeptness ninja coder? Many thanks again!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>emmvie on "Plugin not working at all"</title>
			<link>http://forums.wpninjas.net/topic/6#post-17</link>
			<pubDate>Thu, 30 Sep 2010 03:02:34 +0000</pubDate>
			<dc:creator>emmvie</dc:creator>
			<guid isPermaLink="false">17@http://forums.wpninjas.net/</guid>
			<description>&#60;p&#62;Dear James,&#60;br /&#62;
This solution is simply fantastic. Thanks so much!&#60;br /&#62;
I strongly suggest that you put your entire last post including the link and the function onto an &#34;FAQ&#34; or &#34;Notes&#34; tab at &#60;a href=&#34;http://wordpress.org/extend/plugins/ninja-page-categories-and-tags/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/ninja-page-categories-and-tags/&#60;/a&#62; so that everyone can better understand how brill your plugin is.&#60;br /&#62;
Thanks again.&#60;br /&#62;
emmvie
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James on "Plugin not working at all"</title>
			<link>http://forums.wpninjas.net/topic/6#post-15</link>
			<pubDate>Mon, 30 Aug 2010 13:38:53 +0000</pubDate>
			<dc:creator>James</dc:creator>
			<guid isPermaLink="false">15@http://forums.wpninjas.net/</guid>
			<description>&#60;p&#62;Correction. The plugin is working but you are using it for a different purpose than we intended. If you go to edit the page, you will see that a category is assigned and therefore it is working and the category has been added to your database listing for that page. There are very few good reasons to include pages in archives or sidebars category widgets, not to say that their aren't some. This wasn't our purpose though. Our main purpose was simply to create a relationship between posts and pages for more complex workings.&#60;/p&#62;
&#60;p&#62;The problem is that natively WordPress doesn’t care if pages have categories. This means that the built in categories widget and archive pages do not include pages when they grab stuff from the database. The next version of our plugin will address this issue. You can fix the widget issue with a custom function in your functions.php file, but I haven’t written anything for that yet. If I get the time to put some code together before the release of our next version, I’ll post it here.&#60;/p&#62;
&#60;p&#62;The the easiest way to add pages to your archive pages that I’ve found is a function shared here: &#60;a href=&#34;http://bajada.net/2010/06/08/how-to-include-custom-post-types-in-the-loop-in-your-wordpress-weblog&#34; rel=&#34;nofollow&#34;&#62;http://bajada.net/2010/06/08/how-to-include-custom-post-types-in-the-loop-in-your-wordpress-weblog&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;It was meant to include custom post types into your archive pages along with all of your other content. I simply modified it to include the post_type “page”. Copy and paste this into your functions.php file and you should see your newly categorized pages included in your archives.&#60;/p&#62;
&#60;pre&#62;
add_filter( 'pre_get_posts' , 'ucc_include_custom_post_types' );
function ucc_include_custom_post_types( $query ) {
global $wp_query;

/* Don't break admin or preview pages. */
if ( !is_preview() &#38;amp;&#38;amp; !is_admin() &#38;amp;&#38;amp; !is_page() &#38;amp;&#38;amp; !is_single() &#38;amp;&#38;amp; !is_home() ) {
$args = array(
'public' =&#38;gt; true ,
'_builtin' =&#38;gt; false
);
$output = 'names';
$operator = 'and';

$post_types = get_post_types( $args , $output , $operator );
$post_types = array_merge( $post_types , array( 'post', 'page' ) );

if ($query-&#38;gt;is_feed) {
// Do feed processing here.
} else {
$my_post_type = get_query_var( 'post_type' );
if ( empty( $my_post_type ) )
$query-&#38;gt;set( 'post_type' , $post_types );
}
}

return $query;
}
&#60;/pre&#62;</description>
		</item>
		<item>
			<title>classifieds on "Plugin not working at all"</title>
			<link>http://forums.wpninjas.net/topic/6#post-14</link>
			<pubDate>Fri, 27 Aug 2010 02:45:22 +0000</pubDate>
			<dc:creator>classifieds</dc:creator>
			<guid isPermaLink="false">14@http://forums.wpninjas.net/</guid>
			<description>&#60;p&#62;Clarification: The category shows up fine, but any pages I assign to it do not show up on the site under that category.  I can email you the site if needed
&#60;/p&#62;</description>
		</item>
		<item>
			<title>classifieds on "Plugin not working at all"</title>
			<link>http://forums.wpninjas.net/topic/6#post-13</link>
			<pubDate>Fri, 27 Aug 2010 02:39:38 +0000</pubDate>
			<dc:creator>classifieds</dc:creator>
			<guid isPermaLink="false">13@http://forums.wpninjas.net/</guid>
			<description>&#60;p&#62;Using new install of wordpress 3.01, with all other plugins deactivated and default wordpress theme.&#60;/p&#62;
&#60;p&#62;Basically I put a Category widget on my sidebar, and the category I made shows up, but after I assigned a page to that category, it does not show up on the site.  Only posts show up. When looking at the Categories page in the admin, they dont show the pages from there either.&#60;/p&#62;
&#60;p&#62;When I create a post and assign it to that category, the site and admin work normally, as they usually do.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James on "Bugs"</title>
			<link>http://forums.wpninjas.net/topic/5#post-5</link>
			<pubDate>Tue, 17 Aug 2010 09:53:19 +0000</pubDate>
			<dc:creator>James</dc:creator>
			<guid isPermaLink="false">5@http://forums.wpninjas.net/</guid>
			<description>&#60;p&#62;Please put any bugs that you may encounter while using Ninja Page Categories and Tags into this thread.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James on "Feature Requests"</title>
			<link>http://forums.wpninjas.net/topic/4#post-4</link>
			<pubDate>Tue, 17 Aug 2010 08:46:29 +0000</pubDate>
			<dc:creator>James</dc:creator>
			<guid isPermaLink="false">4@http://forums.wpninjas.net/</guid>
			<description>&#60;p&#62;Please put any feature requests that you may have for Ninja Page Categories and Tags into this thread.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

