Category Template Page Not Displaying
-
I am attempting to incorporate a categories list in a category template page.
For example, I have placed the following code into the
category-13.php
file.<?php wp_list_categories('child_of=13&title_li='); ?>
From the description on Codex, I expect the resulting list of links to use the
category-13.php
template to display the results of the category link lists. In other words, if I click on a link from the category list it should use the same template as it’s parent category (13).However, it defaults to the
category.php
template. If I remove this file from my server, then it usesarchives.php
, and again if I remove this file it uses another one which I can’t seem to identify.Can you please tell me how I can work this out so it displays with the related category template?
Thank you.
- The topic ‘Category Template Page Not Displaying’ is closed to new replies.