• 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’); ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter panmoria

    (@panmoria)

    The page is here:

    https://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!

    Thread Starter panmoria

    (@panmoria)

    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.