Custom Post Type Archives v1.2 released!
Today (actually – about an hour ago) I’ve updated the Custom Post Type Archives plugin to a new – 1.2 – version. This new release has one new thing (and some small changes in comments and readme) – links to custom post type feeds. Now – what?
You, probably, know what RSS feeds are, if not, then you should, probably, read this article in Wikipedia about RSS. WordPress generates these feeds for us so that we don’t really have worry about that. This plugin also supports feeds for custom post type archives, so thats great as well. In previous releases you could only access these feeds by putting ‘feed’ at the end of your post type archive URL. So – if you wanted for other people to know the feed URL, you had to manually insert the feed link into your HTML head. Not any more!
Now this plugin will do that for you. There is a new option in the plugin settings that’s called ‘Enable feed links’ and it defaults to TRUE (so if you’ve just updated or installed this plugin you don’t have to do anything to make feed links work). If you want to disable it then just uncheck the checkbox and save. No feed links will be inserted.
But – you might say: “Wait a second. I’ve just updated, but I still don’t have this option!”. This is true when you have ‘automatic-feed-links’ enabled for your WordPress theme. If this theme support option is enabled then the plugin won’t show the ‘Enable feed links’ option in the plugin settings page and it will include the feed link automatically. I’ve chosen to do it this way, because I think, that that theme support option should override my plugin option. If you think differently, then feel free to tell my why I’m wrong and I might even listen to you! (only joking – I WILL listen to your opinion)
If you really want to disable the feed link for custom post type archive pages, then you can use the ‘pta_add_feed_link’ filter. This will override it all (both plugin option and theme support option). Look for examples in either Custom Post Type Archives homepage or on WordPress plugin directory (for this plugin).
That’s it! I’m not yet sure what I will put on next release, but I’m thinking a new metabox for WordPress Menu’s is one of the options. Actually – if you look at this plugins source code, then you might see some commented code about this feature. Not really useful but anyway…
If you have some suggestions about what I should include next, then please leave a comment, describing what should I do. Thanks already!
Also – if you like the plugin then please rate it on WordPress plugin directory. Ideally with 5 stars! And if it works for you then mark that by saying that it works.
Thanks.
Some say...
What can you say?