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.
Cheers,
Simon
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘archive.php looping custom post type not the posts’ is closed to new replies.