Problem retriving the Archives
-
Hi,
Not sure how to fix it.
In the Archve.php I set redirects based on the category to display diffrent templates
<?php
$post = $wp_query->post;
if ( in_category(‘4’) ) { include(TEMPLATEPATH . ‘/lifeKeys-catalog.php’); }
elseif ( in_category(’18’) ) { include(TEMPLATEPATH . ‘/blog-catalog.php’); }
else { include(TEMPLATEPATH . ‘/catalog-custom.php’); }
?>Now, my Archive wont display correctly. My Archives links display last 4 months. When you click one, instead of showing the date in the URL, it show a category link.
http://www.unlockingthebible.com/category/blog/
I also installed a plugin to filter the archives by category.
Please help, hjow to display the archives results now?
Krystian
- The topic ‘Problem retriving the Archives’ is closed to new replies.