WordPress Page Categories and Tags
Posted by Mike
Category and Tag Taxonomy for WordPress Pages
Category and Tag Post taxonomy is familiar to all WordPress users, WordPress.com or self hosted systems. WordPress doesn’t have category or tag page taxonomy built-in. Several plugins are available from WordPress.org to extend these taxonomy terms to pages, closing the gap for WordPress to become a fully fledged website content management system.
One problem with these plugins has been the need to do some hard coding to allow these plugins to work properly. This is no longer the case. The latest version of Ninja Page Categories and Tags plugin now works without hard coding.
Ninja Page Categories and Tags
Ninja Page Categories and Tags adds the taxonomy to pages. When editing pages categories and tags can be selected the same way they are for Posts. The plugin can be downloaded free from WordPress.org.
The latest version 1.2.1 released on 14 February works without any hard coding or modification to theme template files, a better solution than having to custom code your theme. Theme changes will also be easier as a result as there’s no longer a need to add the code to a new theme.
Old Version to New Version
Our dedicated WordPress information and supprt website, Graphicline on WordPress, had used the earlier version of the plugin. The site is mainly based on Page content type for tutorials, posts are used for “News” and “Further Reading” articles. This function is important for the website – the tutorials are intended to help building a small business website using WordPress.
Being able to use categories for pages will allow the tutorials to be listed in Category Term Groups.
A few bugs existed with earlier versions. Some WordPress installations ended up displaying an error message “Warning: Illegal offset type in isset or empty in /wp-includes/post.php on line 828”. This had happened with SME Tech when viewing category archive pages. The latest version fixed the error for this site.
A Google search for that error message shows a number of sites with that error message. A good number, not all, of these are using Mystique Theme. Whether these sites are using Ninja Page Categories is unknown; however one of my sites that uses this theme still has the error (plugin disabled at the moment, but another site set-up to test WordPress functions that also uses that theme does not.
I conclude from this there is a conflict with another plugin, that may only cause problems with some themes. I will try to isolate the cause when time allows, and report back.