WordPress.org

Ready to get started?Download WordPress

Forums

Monthly Archives listing months wrong (20 posts)

  1. Nikki
    Member
    Posted 10 years ago #

    I'm using v. 1.0.2
    The problem is, as you can see here, is that the monthly archives are listing as Year only. I'm using the get_archives('monthly') function, as no other variation will work, and that's fine.
    So, am I missing something in the templates_function file? It correctly links to the right months, I'd just prefer they display more than the Year on the list.
    TIA - Nik

  2. Nikki
    Member
    Posted 10 years ago #

    Bueller... Bueller... ;-)
    I guess I'm on my own with this one.

  3. ShelbyYY
    Member
    Posted 10 years ago #

    I'm getting the same problem, and I AM using WP 1.2. It's not just you, Nikki.

  4. Nikki
    Member
    Posted 10 years ago #

    Thanks, Shelby. Let me know if you get it figured out, and I'll email you if I do.

  5. TheFaded
    Member
    Posted 10 years ago #

    I'm having the same problem :/

  6. carthik
    Member
    Posted 10 years ago #

  7. TheFaded
    Member
    Posted 10 years ago #

    Doesn't fix it ;)

  8. ShelbyYY
    Member
    Posted 10 years ago #

    I've tried using get_archives, I've carefully constructed tag parameters and modified them a million times. I've tried not defining any parameters except the archive type. I've tried defining every parameter. I've tried wp_get_archives. Nothing corrects it. :)
    Thanks for the suggestions, though, because it definitely helps to make sure that you're defining things properly.
    The funny thing about this issue is, though, that it generates the links. It points to the right URI. It just fails to output the month name in the link text. So, all you get is a list of links that all say "2004," even though each one points to the right URI for its month.

  9. Nikki
    Member
    Posted 10 years ago #

    Incidentally, listing by weekly, or by category is not a problem.

  10. Anonymous
    Unregistered
    Posted 10 years ago #

    I'm using the Mingus 1.2 .. I'm calling only 6 months of archives below, at it is working fine. Maybe try sticking in the last parameter?
    < ?php get_archives('monthly', '6'); ? >

  11. Nikki
    Member
    Posted 10 years ago #

    Tried that, but it doesn't help. :-) It's not a get_archives tag issue, we've already exhausted every possible param there.

  12. Nikki
    Member
    Posted 10 years ago #

    Shelby, I tried to access your site but it kept hanging for me, so I'm posting here again.
    Ok, I did an upgrade to 1.2 - then began implementing my old layout line by line into the new index.php file. It turns out that there was some kind of conflict with a simple php countdown script I had. Once I removed it, voila. Archives show up like they're supposed to.
    http://buttershug.com/archives.php
    Now, on to post a slightly different problem question...

  13. ShelbyYY
    Member
    Posted 10 years ago #

    Yeah, sorry about that Nikki - it was hanging because of - guess what?! A plugin for WP. ;) It should load perfectly fine now. For three or four days now, though, I've been wondering if my hosting company just all of a sudden went downhill. :P
    The thing that bothers me about this is, I use the same scripts, and the same code in every layout, because I have all the files seperated as includes - however, I have several different skins.
    Some skins display the archives perfectly. Some skins do not. Yet, all skins have the same scripts and whatnot running on them.
    However, I will at least make an attempt to pull out things one by one to find out what causes it. Thanks!

  14. ShelbyYY
    Member
    Posted 10 years ago #

    BAH!!!!
    I figured out what it was - it was the very first thing that I pulled out of the code.
    But that frustrates me to no end - because what I pulled out of the code was my event calendar!! (phpCalendar, from codegrrl.com) - I kind of liked having that particular event calendar... but I suppose if I must choose between decent archives and my event calendar, the archives will win out.
    Thanks for the suggestion, Nikki!

  15. Nikki
    Member
    Posted 10 years ago #

    Glad we both got that figured out! ;-)

  16. Anonymous
    Unregistered
    Posted 9 years ago #

    I have the same problem and use phpCalendar. I tried pulling it out but my archive months are still not showing.

  17. somebaudy
    Member
    Posted 9 years ago #

    I'm having the same kind of trouble. Here is what should the link to the december 2004 archives.
    http://www.somebaudy.com/%day%/12/
    needless to say I get a 404 error with it
    and this
    http://www.somebaudy.com/categories/general/
    generates a 404 error as well

  18. nedrichards
    Member
    Posted 9 years ago #

    I had exactly the same problem with a hand rolled countdown script. Guys, you need to change the variable names in any other script you might be using so they don't conflict with the wordpress ones. I was using stuff like $day $month and $year. After a quick change so that everything I'd added had a cal prefix $calday etc. everything was back to normal.

  19. Chiefyboy
    Member
    Posted 9 years ago #

    I do not want my monthly archives to be displayed as

  20. . I have looked everywhere I can think of for a way to get rid of this tag and can't find anything.

    I just want to monthly archive to be listed one per line (without bullets)

    Can someone help?

  • Chiefyboy
    Member
    Posted 9 years ago #

    oops! I do not want my monthly archives to be displayed as

  • .

    Please help.

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.