panmoria
Member
Posted 4 years ago #
Clicking on a category, the Archives-page shows up. What's wrong?
I use the Clean Archives plug-in.
The codes are as per follows:
<li id="Categories">
<h2>Categories</h2>
<?php wp_list_cats('sort_column=name'); ?>
and
<li id="Archives">
<h2>Archives</h2>
<?php wp_get_archives('type=monthly'); ?>
panmoria
Member
Posted 4 years ago #
The page is here:
http://absolutelybangkok.com/
When you click a Category, the page links to the Archive.
Why?!
My guess is you messed with the termplate files and didn't pay attention to the fact that archive.php and archives.php (with plural S) are TWO dufferent files!
So, you put the WRONG code into the archive.php - which is supposed to display your category and monthly archive/listing.
The code you have posted above belongs to the archiveS.php - which is a Page template file!
panmoria
Member
Posted 4 years ago #
tks moshu! somehow i screwed up completely, re-installed the whole thing properly. many tks again!