[Plugin: Custom Post Type Archives] wp_get_post_type_archives() linking back to blog
I’ve setup the plugin and most of it seems to be working except when I try to use the wp_get_post_type_archives() function. (Which is the main reason I’m using this plugin).
It correctly lists out the months in the sidebar, with the correct post counts for each but when you click to view that month it takes you to WordPress’s posts archive for that month instead of the custom post type’s.
Note: I’m using the Custom Post Type UI plugin along with this one. I currently have ‘Has Archive’ set to false in that plugin.
- The topic ‘[Plugin: Custom Post Type Archives] wp_get_post_type_archives() linking back to blog’ is closed to new replies.