I have a weird problem with my category pages displaying just blog posts and not the category posts. I do have a custom sidebar.php that changes based on the post category using a second (3 loops in some) loop.
http://pastebin.ca/1166440 should show where I am going with this.
Single posts, pages, blog page all work fine. It’s just the category pages that do not work right.
I have tried to wrap my head around multiple loops in WP and have a feeling that’s the reason but I could be wrong.
I don’t have any special .htaccess rules that could be causing a redirect. I am using a custom permalink with %postname%, in case that helps.
- The topic ‘Category pages displays regular blog posts’ is closed to new replies.