3
votes

I have a custom post type called 'press_release'

I have a few posts, and viewing them uses the 'single-press_release.php' template file. This all works fine, however i want to have a monthly archive list for just this post type.

<?php wp_get_archives();?>

Displaying this in my single-press_release.php page displays a monthly archive list for standard blog posts, and not the press releases, how do i do this?

1

1 Answers

2
votes