I've gotten my custom post types to display as it should in date based archives; the structure example.com/year/month/day (and above) works properly as long as it's extended with '?post_type=post_type_name'.

With Bainternets solution I've also gotten wp_get_archives to properly list archives based on whether or not they contain my CPT.

The problem is that wp_get_archives still returns the default archive permalinks, like this:


but as I mentioned earlier, I need:


Any suggestions on how to achieve this?


1 Answer 1


From comment:

Use the plugin Custom Post Type Archives. It is slightly more flexible than the argument 'has_archive' => TRUE for register_post_type().

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.