WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. whipd09
    Member
    Posted 2 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:
    http://www.site.com/2012/05/
    Instead of:
    http://www.site.com/archive/newsletters/2012/05/

    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.

    Thanks.

    http://wordpress.org/extend/plugins/custom-post-type-archives/

  2. whipd09
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic