archive.php looping custom post type not the posts
-
Hello Fellow WP’ers
I’ve been working on a theme, mainly the archive.php file and it’s doing something I’ve never seen before.
Inside my sidebar I have the following and everything is working just fine.
<?php wp_get_archives('type=monthly'); ?>
However, when I click on any link generated from the above I get to the archive.php template and it out puts the most recent post from a custom post type, not from the built in blog portion of the site.
Just wondering if anybody out there has experienced this problem before.
Cheers,
Simon
- The topic ‘archive.php looping custom post type not the posts’ is closed to new replies.