Support » Fixing WordPress » Categories-page wrongly goes to Archives

  • 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”>

      <?php wp_list_cats(‘sort_column=name’); ?>


    <li id=”Archives”>

      <?php wp_get_archives(‘type=monthly’); ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The page is here:

    When you click a Category, the page links to the Archive.


    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!

    tks moshu! somehow i screwed up completely, re-installed the whole thing properly. many tks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Categories-page wrongly goes to Archives’ is closed to new replies.