A major release for GD Custom Posts And Taxonomies Tools is here. Only Pro version is released with several new features including support for new custom post types template, improved rewriting rules for both on site pages and feeds and more.
All the changes bellow are only for Pro version. As I said before, Lite version will only get maintenance releases, and will be updated when new WP is released if there are changes in custom post types or taxonomies.
Custom post type URL rewrite
WordPress custom post types implementation has 2 major flaws: there is no template for custom post type archive and rewrite rules are incomplete to support all needed elements like feeds. Maybe we will see this fixed in WP 3.1, but until that happens, our plugin implements that now. For archive, you have new template called: type-$post_type.php. If you have post type named book, you will get (if the rewrite slug is also set to book):
Archive page: http://www.website.com/book/
Paged archive: http://www.website.com/book/page/3
Feed link will be added into page HTML header also (if supported by the theme). xScape Theme Framework now also supports this (new version will be released in a day or two), and if the GD Custom Posts And Taxonomies Tools Pro is installed, you can generate and use archive template and you can add these pages to menus through menu designer.
This features are activated automatically, if the custom post type you created is set to allow rewriting (it’s on by default). You can disable this if you want from plugin settings panel.
Taxonomies widget now have very important new option to set post type. This will get you only terms for a taxonomy belonging to posts for a selected post type (or you can still choose to see all). To make this happen, I made a new function to replace default get_terms(), and to add new post_type parameter to it.
And more to come
Few bugs are fixed, some functions and files rearranged. And, in the next day or two new tutorials will be released to cover new features. Demo website that will showcase power of GD Custom Posts And Taxonomies Tools Pro and GD aZon FUSION Pro plugins is coming, powered by lightScape theme.
Please, test new features and report problems in the forum or in comments.
GD Custom Posts And Taxonomies Tools: