Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Custom Post Type Archives

Enables custom post type archives that will support both paging and feeds. All fully customizable.


  • Fixed a bug in 'wp_get_post_type_archives' functions. It should now support $format = 'option' output type.


  • This version should now support WordPress 3.1.
  • Function 'is_post_type_archive' is renamed to 'pta_is_post_type_archive', because since v3.1 WordPress implements it's own 'is_post_type_archive' function and WordPress's function won't work correctly with this plugin so you should use 'pta_is_post_type_archive' if you use this plugin. 'is_post_type_archive' function implemented by this plugin will still be available if you have a WordPress install older than v3.1.


  • Added support for yearly, monthly and daily archives. Now you can just put year and month and day at the end of the custom post type archive URLs to show only posts from those dates. It works the same way as in other places.
  • You can also use the new function 'wp_get_post_type_archives' to render out these dated lists the same way as the 'wp_get_archives' function. You can use the same options as the 'wp_get_archives' function as it uses it to get the data.
  • Added some body classes for the custom post type archives - 'post-type-archive' and 'post-type-{POST_TYPE}-archive'


  • Added extra customisation per enabled custom post type archive. Now it is possible to specify a custom title and custom rewrite slug for every enabled custom post type archive. If you don't want to use them, then just leave them blank and they won't be used. 'Rewrite Slug' option will only be visible if 'Use Rewrite Slug' option is enabled.
  • Added contextual help in options page.


  • Changed the way that plugin deals with titles. This should fix the random 'colon bug' which showed up for some people. To see how the new system works, please read the changes in plugins homepage or wordpress plugin directory.
  • Added a new feature for is_post_type_archive() function. Now it is possible to add an optional argument for this function which should contain the post type name. If that's passed then function will tell you whether you are in a post type archive which has this name.


  • Plugin now supports custom post type rewrite slugs. Previously it just used the post type name as an URL parameter, now it will use the custom rewrite slug (if one is set). You can enable or disable this option. The default is enable! Please read the FAQ for more information.
  • Improved the options page.


  • Added feed links for post type archives. You can controll this from plugin settings if you don't have 'automatic-feed-links' support enabled for your theme or feed link will be automatically added if 'automatic-feed-links' support is enabled.

  • Updated the main plugin file to say the right version. Hope that this will fix the stuck WordPress Directory version number as well.


  • Added another function - 'get_the_post_type_permalink' which will return the link not echo it as 'the_post_type_permalink' does
  • 'the_post_type_permalink' function now uses 'get_the_post_type_permalink' function to get the data
  • Added ability to pass an post ID and post object to these function to get the post type link.
  • These function will now return/echo an empty string if no post type was found.
  • Also I hope that this will fix the stuck 0.9 version that WordPress is saying on download page.


  • Added a 'Title' option that will allow users to customize the title that will be shown in post type archive pages.


  • Initial version. Can't say more :)

Requires: 3.0 or higher
Compatible up to: 3.2.1
Last Updated: 5 years ago
Active Installs: 1,000+


5 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1
0,2,0 100,2,2