Category Navigation & Template Issues
-
I’ve been developing a theme for the past month and I recently found myself having some problems with the categories pages.
To start, the site contains only categories, no pages which I realize now may have been a huge mistake. The navigation is also category driven and has drop downs for each of the child categories.
I’ve created a category template for each parent category which works exactly as expected but my problem is with the children. When clicking through to a child category I am taken to the default category template category.php which isn’t displaying any of the child category content.
The following is the source for this problem:
<?php query_posts(‘category_name=attendee_news’); ?>So my question is how should I go about making the default category template direct to the category id which is shown in the URL? So when the user clicks on a child category from the main navigation they are taken to that appropriate page?
Any insight would be greatly appreciated!
Thanks!
- The topic ‘Category Navigation & Template Issues’ is closed to new replies.