• On this site I am working on:

    [link moderated]

    When you click on a monthly archive, it displays the most recent posts

    I have checked plugins and it doesn’t appear to be them, The default archive.php template is present but I don’t know if it is being referred to.. the initial blog page is set to default template.

    It takes you to a page with the month url: eg. /2011/10 but not the correct order of posts… Maybe it is Template Hierarchy, but how do I adjust this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Loco77

    (@richieb799)

    I’m sure this is a simple problem, the right URLs are being directed to but the posts aren’t being displayed for the correct month

    Thread Starter Loco77

    (@richieb799)

    Bump, this must be simple for someone more code savvy than me

    Thread Starter Loco77

    (@richieb799)

    Bump, I’ve found previous threads where the problem lies with the index.php being used rather than the archive.php

    does anyone know why? the other threads were closed without a solution

    Thread Starter Loco77

    (@richieb799)

    Bump, I keep bumping this hoping some pro might have a solution.. I don’t understand what part of the code is supposed to call the archive.php

    It seems to be in the sidebar.php…

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I can see the wp_get_archives but I don’t know if something else is confusing it.

    Thread Starter Loco77

    (@richieb799)

    Still not even a suggestion for this problem? I’ve since tried adding a plugin to the existing archive list which is in the sidebar.php, I now have collapsing archives.

    I noticed the collapsing archives can recognize which posts belong to which month, so why when I click on the month, it takes me to a page which displays all posts?

    I don’t know whether I need to create a separate archives.php, but that would be kind of naff

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Monthly Archive Not Displaying’ is closed to new replies.