Custom Post Type Archives
wp_get_post_type_archives() linking back to blog (2 posts)

  1. whipd09
    Posted 4 years ago #

    Hi guys,

    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.

    In other words the links take you to:
    Instead of:

    Any ideas?

    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.



  2. whipd09
    Posted 4 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Post Type Archives
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic