Category posts display incorrectly…archives.php not being used for display!!
-
Hi there, can someone help me debug my theme and in particular my navigation bar. I am listing categories using the following code
<ul> <li><a href="<?php echo get_settings('home'); ?>">Home</a></li> <?php wp_list_categories('title_li=&include=44&hide_empty=0&depth=1'); ?> <?php wp_list_categories('title_li=&include=4&hide_empty=0&depth=1'); ?> <?php wp_list_categories('title_li=&include=9&hide_empty=0&depth=1'); ?> <?php wp_list_categories('title_li=&include=45&hide_empty=0&depth=1'); ?> <?php wp_list_categories('title_li=&include=43&hide_empty=0&depth=1'); ?> </ul>
However if you visit https://www.xtracold.co.uk and test this out you will see that the Snow/MTB or Tech categories display correctly with a header div containing the category title and each post displayed separately. Click Journal and for some reason the title is not displayed and all posts are concatenated together into one long post.
Any ideas why this happens? I have tried to debug to make sure archives.php is being used to display the posts but I don’t think it is when Journal is loaded???
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Category posts display incorrectly…archives.php not being used for display!!’ is closed to new replies.