[Resolved] 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 the loop returns the first post from a custom post type, and nothing from the built in posts in WP.
Just wondering if anybody out there has experienced this problem before.
- The topic ‘[Resolved] archive.php looping custom post type not the posts’ is closed to new replies.