Simple Yearly Archive Plugin// Making Archiving Easy & Elegant

Simple Yearly Archive is a rather neat and simple WordPress plugin that allows you to display your archives in a year-based list. It works mostly like the usual WP archive, but displays all published posts seperated by their year of publication. That said, it’s also possible to restrict the output to certain categories, and much more.

Allows use of shortcode since version 1.1.0

The plugin in action
The plugin requires WordPress 2.3+

  1. Download the plugin and unzip it.
  2. Upload the folder simple-yearly-archive/ to your /wp-content/plugins/ folder.
  3. Activate the plugin from your WordPress admin panel.
  4. Installation finished.

  1. Deactivate the plugin from your WordPress admin panel.
  2. Upload the folder simple-yearly-archive/ to your /wp-content/plugins/ folder and overwrite the existing file.
  3. Activate the plugin from your WordPress admin panel.

Implementation / Usage

Since WordPress 2.5 the function can be called with a shortcode:

Some examples follow - each is a proper invocation of the plugin:

Call the simpleYearlyArchive function like so:

Some examples follow - each is a proper invocation of the plugin:

Parameter options are like following:

  • type:
    - yearly: Displays a year-based list (Default). Can be empty aswell.
    - yearly_act: Only posts from the current year are displayed.
    - yearly_past: Only posts from the past years are displayed.
    - "date of year": Only posts from the given year are displayed.
  • ExcludeCategoryIDs:
    - A comma-separated list of category IDs you want to exclude.
  • IncludeCategoryIDs:
    - A comma-separated list of category IDs you want to include.
  • DateFormat:
    - The date format string, according to http://php.net/strftime.

In order to run your blog proper and clean code, it's highly recommended to check if a plugin exists before calling it. If the plugin is not activated, it will "break" the theme and it may report errors or fail to load. It is therefore imperative to prevent the plugin from being detected in case it is turned off:

Options menu

There are a couple of options in the Simple Yearly Archive options menu.

  • Date format:
    The date output be customized. Check http://php.net/strftime for date formatting.
  • Seperator between date and post title:
    The seperator is displayed between the date and the post title.
  • Linked years?:
    Wanna have the years linked?
  • Before / After (Year headline):
    HTML tags, that will be inserted before and after the date headlines.
  • Show post count for each year?:
    Show the total post count behind for each year?
  • Show comments count for each post?:
    Show comments count behind each post?
  • Show categories after each post?:
    Show categories behind each post? The output can be styled with the CSS class sya_categories.
  • Show optional Excerpt (if available)?:
    Show the optional excerpt below each post title, if available?
  • Max. chars of Excerpt (0 for default):
    How much chars of the excerpt to show? Enter 0 to show the entire excerpt.
  • Indentation of Excerpt (in px):
    How much pixels the excerpt should be indented.
  • Link back to my website in plugin footer?:
    Consider linking back to my homepage in the plugin's footer.

 

387 Responses

  1. Ach Mist, da hast wohl doch recht.

    Fatal error: Allowed memory size of 67108864 bytes exhausted [...]

    Naja, Pech halt. Und wenn ich mir Google und die WordPress-Foren gebe, das kann soviel Ursachen haben, ich lasse es gut sein.

  2. Pingback: Simple Yearly Archive Plugin – Wordpress, Plugin, Option, Beiträge, Kurzfassung, Excerpt – SCHLOEBE.DE – Personal Portfolio von Oliver Schlöbe | WpMash - WordPress News

  3. Thanks so much for the great plugin.

    One question is how would I wrap the year text in a tag (i.e h2) so I can style it? I can see where you would add a class to the link tag if the year were a link but can;t seem to work out how to add it in the .PHP file.

    Cheers

  4. Pingback: “Wow, like the new look…” | The Wandering Druid of Tranquility

  5. Hola,

    dein Archiv-Plugin ist wirklich super. Genau danach habe ich gesucht.

    Ich habe ein kleines Problem und ich konnte nicht finden, wie ich das Format verändern kann. Also, die Ganze etwas nach rechts verschieben und ebenso die Größe der Jahreszahlen ändern. Bei mir sehen alle gleich aus.

    Ich habe immer Probleme mit dem ganzen PhP-Kauderwelsch. =D

    Vielleicht kannst du mir da raushelfen? ^^

    claudia

  6. Hallo Oliver,

    gibt es eine Möglichkeit, die Anzeige auf nur bestimmte Kategorien zu beschränken (also include statt exclude)? Das wäre angesichts von 50 Kategorien, von denen nur 1(!) in einem jährlichen Archiv angezeigt werden soll suuuuper-hilfreich.

    Danke.
    liqui

    Translation: Is there a way to INclude only one or several categories instead of EXcluding all the others?

  7. Hallöchen,

    als workaround habe ich nach Zeile 120
    $allcatids = get_all_category_ids();
    eine Zeile ergänzt, in der ich die gewünschte Kategorie(n) eintrage
    $allcatids = ’1,4,6′;
    Das überschreibt die anzuzeigenden IDs gnadenlos ;-)

    Ich hoffe aber auf ein sauberes, überarbeitetes Plugin. Schön wäre übrigens auch eine Funktion, in der die Jahreslisten auf mehrere Seiten gesplittet würden – oder sich per AJAX/jquery überlagern oder Accordionmäßig ausklappen. Bei meiner zu bearbeitenden Seite gibt es nämlich Beiträge, die bis 1999 zurückreichen. Und da ist selbst bei 20-30 Beiträgen in der Kategorie schnell eine lange Seite entstanden.

    Wünschende Grüße
    liquido

    • Hallo liquido,

      Version 1.1.20 ermöglicht es nun, auch Kategorien zu includen. :)

      Das Archiv auf mehrere Seiten aufzuteilen ist bereits möglich mit dem Parameter ‘type’ (siehe Dokumentation oben). Damit wäre auch folgendes möglich:

      [SimpleYearlyArchive type="2007"]

      etc…

      • Das war ja schnell, Danke sehr!!

        Das mit den einzelnen Jahren ist schon klar, da muss ich aber am Anfang jedes Jahres eine neue Seite einrichten, obwohl das plugin doch selbstständig zurückzählen kann ;)

        Liebe Grüße
        liquido

          • Richtig, es geht aber um die älteren jährlichen Archive, zu denen dann das nicht-mehr-aktuelle Jahr zum Jahreswechsel hinzugefügt werden muss. Im Moment kann ich eine Seite mit dem aktuellen Jahresarchiv machen und 1 Seite mit *allen* älteren Jahren, aber keine X Seiten mit den X bisherigen Jahresarchiven… ;)

            ist ja auch nur ne Idee…

            l. grüßt

  8. Genau das Plugin, das ich gesucht habe. Leider bin ich eine php-Null …

    Wohin muss die deutsche Sprachdatei, damit ich die Monate auf deutsch bekomme? Oder muss ich die Datei per php aufrufen? Wenn ja, wie uns wo?

    Danke!

    • Hey nectarine (mmhm, lecker! :-) ),

      PHP-Kenntnisse brauchst du gar nicht, du musst einfach nur
      [SimpleYearlyArchive]
      in den Beitragseditor schreiben, dann wird das Archiv angezeigt.

      Das Datum kannst du auf der Plugin-Optionsseite selbst einstellen. Bei Datumsformat also z.B. ‘d.m.’ eingeben.

  9. When you say in the instruction to call the plugin where in WordPress 2.91 do I put t6his code? How do I see the archive?

  10. Hallo Oliver,
    alles ist schön, nur wenn ich auf die verlinkte Jahreszahl klicke, schaltet die Seite zurück auf die homepage. Fehlt mir ein zsätzliches Template (Archives ist vorhanden), oder besteht ein Konflikt mit der Permalinkstruktur? Vielleicht habe ich da etwas nicht verstanden.
    GRüße,
    Os.

    • Hallo Namensvetter. :)

      kannst du einen Link geben? Der Link auf die Jahreszahl sollte dich eigentlich auf das Jahresarchiv leiten á la domain.de/2008/. Ich nehme an, deine archive.php unterstützt einfach noch keine Jahresarchive.

  11. When I attempt to activate the plug-in I get an error message:
    Plugin could not be activated because it triggered a fatal error.
    Parse error: syntax error, unexpected $end in /Users/seanj/Sites/clients/lisapetrucci/wp-content/plugins/simple-yearly-archive/simple-yearly-archive.php on line 795

    I’m using WordPress 2.9.2

    Any idea what is causing the error?

    Thanks

  12. Thanks. Exactly what I was looking for. After some initial fatal memory issues I managed to make it work. Kudos!

    Suggestions for future upgrades: 1) Instead of using the custom excerpt, why not just grab the first xx characters from the post content? 2) Create a container with anchored year links at the top that such that you can jump to the year and/or month below. I post almost every day and it’s a looooong way down to my previous posts from last year.

      • I just had another great idea: Is it possible to add a thumbnail? While I don’t have too many people browsing my archives and then clicking on the post they want, an added thumbnail would make the posts more attractive.

        As to the anchored year thingie: Another option could be to paginate years/months rather than jumping down one looong archive. Is that possible? Can I tweak the php for that already now, since it is already separated by year?

  13. Hello Oliver,

    I’d like to thank you for the plugin, it’s exactly what I was looking for.

    However, I have a question regarding the performance of the script. The archive page now seems to generate over 41 queries instead of 9 with simple wp_get_archives(‘type=monthly’). I guess that’s quite a lot. I wonder if that number could be reduced a bit.

    I know the archives page will only be displayed from time to time by some users (if at all :>), but still, it’s a chance for some abusers, etc, to kill my bandwidth limits.

    Cheers!

    • Hey sibelkacem,

      you’re right, the plugin should definately get an overhaul. When I released the initial version of the plugin, WP 2.1 was the current release, so the code base is pretty ancient indeed. ;)

  14. Sali Oliver,

    Bin Super zufrieden mit dem Plugin setzte es atm auf der wwww.hundeclub.ch seite ein, hab aber ein Problem.
    Ich habe keinen Einzug bei der Archive Auflistung, da kommt direkt:

    2010
    14.April – XXXXX

    Anstelle wie auf deiner Archive Probeseite einen Abstand zu lassen.

    2010

    14.April – xxxxxx

    Wo kann ich das ggf. Einstellen?

    Besten Dank im vorraus
    Simon

      • Vielen Dank Oliver

        Hab das ganze jetzt mal umgesetzt, leider tut sich nichts die Page wird immer noch gleich wie zuvor Angezeigt.
        Ich Ruf die Archiv Page via Befehl auf auf der Seite: http://www.hundeclub.ch/hdc/?page_id=205
        In der style.css Datei hab ich wie geschrieben alles Eingetragen evtl. liegts aber auch an meinem Design Benevolence DE 2.1

        Ansonsten aber wie schon gesagt Top :) wen die Darstellung dan noch kappt Perfekt.

        Wünsche noch ein schönes Weekend
        Simon

  15. Pingback: Simple Yearly Archive | Arşiv Eklentisi

  16. Hello Oliver,

    Thank you for making this pluggin. I believe it will provide exactly what I need. Unfortunately, the archive list doesn’t have enough space between each line or post so the posts end up listed on top of each other. This page demonstrates the problem http://www.dreadscottart.com/chronology

    Do you know what would be causing this to happen and how I might fix it?

    Any thoughts on this would be greatly appreciated.

    All the best,
    Dread

    • Hey Dread,

      that’s due to your theme’s styles. Just add the following to the end of your style.css and everything should be fine:

      div.pages .sya_container ul li {
      	line-height: 14px;
      }
      • Hi Oliver,

        Thank you for the quick reply. I added the code above and it worked perfectly. It’s a great pluggin and your support for it is amazing.

        Best,

        Dread

  17. Pingback: Anonymous

  18. Pingback: 블로그 Wordpress 3.0 으로 이전완료 | Guru's Blog

  19. Hi Oliver,

    Thanks for your wonderful plug-in! How can I style the links to each post? Is there something I can add to the style.css that would style the a:link, a:active, a:visited, and a:hover cases so that they would match the rest of my site?

  20. Pingback: Simple Yearly Archive « Webasistani bilişim Teknoloji

  21. Pingback: Wp Arşiv Eklentisi - Simple Yearly Archive... | Netcambazi.Com

  22. Pingback: Simple Yearly Archive

  23. Hallo Oliver,

    danke für das wirklich coole Plugin. Eine Frage habe ich jedoch dazu: Gibt es eine Möglichkeit, das Datum fett zu drucken, während der reguläre Schrifttyp beim Link zum Eintrag beibehalten wird?

    Viele Grüße,
    Felix

  24. Pingback: Behind the Scenes — The Brooks Review

  25. Pingback: Пингвин Рыба Есть

  26. Pingback: Hilfreiche Tipps und Plugins für ein Artikel-Archiv in WordPress | Elmastudio

  27. Hi Oliver,
    Thanks for this great plugin! I’ve been using it for several years, but am just now upgrading to the current version while I’m upgrading my WP installation. Now I’ve got a mysterious CSS bug that I can’t track down: my html header now includes

    #wpadminbar { display:none; }

    html { margin-top: 28px !important; }
    * html body { margin-top: 28px !important; }

    and I am, accordingly, getting an extra 28px of whitespace I don’t want at the top of my page at http://vavstuga.com/news/ .

    Since I don’t find other people mentioning this same problem (and since I can’t find anything relevant in the plugin files themselves), I assume it must be coming from my own CSS elsewhere somehow? But I can’t find anything related in my own theme either. Can you help me figure out where to look?

    Thanks for any suggestions.

    ~lydia

  28. Hey Lydia,

    are you using a plugin/hack to hide the new admin bar in WP 3.1? Seems like it, as you hide the #wpadminbar element, but still it seems to add a margin on top where the admin bar resides.

  29. Hi Oliver,

    Great plugin, thanks for sharing.

    I have a problem though. The dates are not displaying correctly.

    It seems to only go as far as the 6th of each month and that’s it. Posts that have been written after this date, simply show the 6th of each month.

    An example of this is found here:

    http://www.flyingferret.com/archives-by-comics/

    Has anyone else had this problem or can you think of a reason as to why this may be happening?

    Thanks if you/ or anyone else can offer any advice.

    • Hey James,

      a user named Dread (thanks, dude!) made me notice that the dates are ordinals of the days Sunday through Saturday (Sunday being zero, Monday being 1 etc.), so I guess you made a mistake in setting the date format in the plugin’s settings.
      Do you have a ‘w’ in your date format? Here you can see what ‘w’ does translate to: http://de2.php.net/manual/de/function.date.php :)
      Try ‘l, j F’ and it should be working for you.

      • Thanks Oliver,

        That fixed it.

        One other small issue. I have the author included and it shows as admin, rather than using the nickname. Is there any way around this? The nickname shows in posts and comments, just not in the archives.

        Thanks for your help – much appreciated.

  30. Could be nice to add date format in the short codes options for Multi-language posts. I use qTranslate and in the English part I could use this for French and English dates… If you see an alternative for my purpose, let me know! :) By the way, I like your plug-in! Thanks!

  31. Hallo,

    habe soeben Simple Yearly Archiv upgedatet.

    Nun bekomme ich dieses Fehlermeldung beim Aufrufen der Archivseite:
    Warning: Missing argument 4 for get_simpleYearlyArchive(), called in /www/htdocs/xxxxxxx/wp-content/plugins/simple-yearly-archive/simple-yearly-archive.php on line 503 and defined in /www/htdocs/xxxxxxxx/wp-content/plugins/simple-yearly-archive/simple-yearly-archive.php on line 114

    WordPress Version 3.2.1–de_DE
    Simple Yearly Archive 1.2

    Wo kann der Fehler liegen?

    Gruß Peter

  32. Hallo,

    habe einfach dieses [SimpleYearlyArchive] bei meiner schon erstellten Seite erneuert, abgespeichert und es klappte ohne Fehler.

    Wobei dieses ja schon so bestand…. :(

    Gruß Peter, Danke für die Hilfe

  33. I have been using Simple Yearly Archive for some time and am very happy with it. But recently, when I click on my “Articles by date” menu item, the following appears above the list of articles:

    Warning: Missing argument 4 for get_simpleYearlyArchive(), called in /home/cj5547/public_html/wp-content/plugins/simple-yearly-archive/simple-yearly-archive.php on line 505 and defined in /home/cj5547/public_html/wp-content/plugins/simple-yearly-archive/simple-yearly-archive.php on line 114

    How can I fix this?

  34. Hallo Oliver.

    Kompliment zu diesem tollen Plugin.

    ich würde gerne die Jahreszahlen ausblenden. Du hast das zwar vor einiger Zeit schon mal dargelegt, jedoch nicht für die aktuelle Version.

    Könntest du mir sagen, was ich auskommentieren müsste. Danke

  35. Hmm…

    ich habe den Codeschnipsel in die style.css des Themas reinkopiert. Leider tut sich da gar nichts. Blockiert das Thema vielleicht etwas?

  36. hallo, ich hätte eien frage wie ich folgendes umsetzen kann.

    problem: bei mir soll das archiv nciht nach jahren sondern nach saisons gehen.

    mgl 1: die saisons sind je eine kategorie und man könnte ggf danach filtern?

    mgl 2: nciht so schön aber würde vermutlich reichen: man müsste die kategorie (also saison 2011712) VOR das datum setzen in der übersicht.

    kann mir da vll jemand weiterhelfen?

      • sorry ich hab mich dann falsch ausgedrückt mit dem “filtern”. natürlich habe ich die anderen postings schon ausgeschlossen. mit “danach filtern” meinte ich statt “jahr 2010″ “jahr 2011″ … dass man nach kategorien unterteilt. also “saison 2010/11″ “saison 2011/12″ weil ja die spielzeiten leider nicht von 1.1. bis 31.12. laufen

        wenn ich nach “2010″ wie es aktuell ist das anzeige habe ich ja spiele von der sison “2009/2010″ und “2010/2011″ da drin

  37. First of all, thanks for this wonderful plug-in. I’ve been using this plugin for the past few years with great joy and success.

    I have a quick question, though. I am using this on a WordPress page to list the title of all my posts. Previously, when I clicked the title, it moved directly to the post, but now (maybe with the newest upgrade) I am getting back to yet another list, like “Archive for August 26th, 2011.”

    Is there anyway I can make the link go directly to the actual post rather than yet another intermediary page?

    Thanks!

  38. Nice plugin. Is there a way for the date link to go to the archive page just for the category specified? I’m using:

    But the year link goes to a default archive, not even the archive for that category (ie not linking to category-98.php)

  39. I really like this plugin and it’s exactly what I was looking for, but unfortunately I get an error message on top of my archives page saying:

    Warning: implode() [function.implode]: Bad arguments. in /home/content/n/a/t/hostname/html/websitename/wp-content/plugins/simple-yearly-archive/simple-yearly-archive.php on line 306

    I’m using [SimpleYearlyArchive] and WP 3.2.1

    How can I make this message disappear, because the archives show just fine?

    Thanks in advance!

      • HI Oliver, I’m using version 1.2.5, use the Exec-PHP plugin and if it matters, I’m hosting with godaddy.com.
        Thanks for looking into it!

          • So it’s not a problem that there is this code error? It’s weird with GoDaddy, as I cannot see a htaccess in my root, so I uploaded one, and it looked like there was one already (hidden?), but now my blog is inaccessible, with an internal server error (500). I’ve uploaded an empty htaccess as I don’t think I can delete it (because I can’t even see it) and still my site is showing the server error. :( What now?

            • Ignore my previous comment – I could delete the htaccess-file. My site is back, but now I cannot access any categories,or pages, just the “home page”. Weird! Now I’m getting a 404 error (The requested URL /page/2 was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.) I guess one should never touch a running system…especially if blond! ;o) I guess I don’t need to bother you any further as this has nothing to do with your plugin that I really would like to use…once I get my site back and running…sigh.

  40. I’ve just talked to GoDaddy and could recover my site with a previously working htaccess file. They didn’t recommend to use htaccess for trying to hide the php errors and said this is a programming code error that has nothing to do with their server. I’ve tried it again and whenever I put php_value display_errors 0 in my htaccess-file I get an internal server error and my site is gone.

    • Well, I agree with GoDaddy that you shouldn’t hide php ERRORS, but what you’re seeing is a warnung, and these usually are turned off for public site environments.

      May you please try adding

      ini_set('display_errors', 0);

      to your wp-config.php file?

      If that doesn’t help either, I’m going to edit my plugin’s code although it wouldn’t be necessary, but I’d do it just for you. Heh. :)

      • Hey Oliver, Thanks for your kindness! But, you don’t need to sweat, haha.
        The ini-set code in wp-config.php didn’t work; I got 404′s on all my pages and your plugin didn’t work at all, but then I placed this

        error_reporting(0);
        @ini_set(‘display_errors’, 0);
        

        into wp-includes/class-wp-error.php
        just at the top, underneath the opening php tag…

        …and guess what?! Your plugin now works fine without the error message above it on my page. Blondies have more fun – when code works! :) ))

        P.S.: I shall be honest and mention that I didn’t figure this out myself. Well, I wanted to find out why the wp-config didn’t accept the added code and landed here: http://wordpress.org/support/topic/hide-php-error-message ;o)

  41. Guten Tag Oliver,

    danke für dein Plugin.
    Meine PHP Kenntnisse sind nicht ausreichend, um den Plugin an meine Bedürfnisse anzupassen.
    Vielleicht kannst du mir helfen oder mir auf einen bereits existierenden Kommentarbeitrag hinweisen.

    Die Site:
    http://www.bocqbox.de/kunden/lebalto/category/realisierungen-realisations/

    Ich brauche eine jährliche Archiv für die Kategorie “Realisierungen” (ID 3) und eine für die Kategorie “Wettbewerbe” (ID 4).
    Die verlinkte Jahreszahlen funktionieren nicht wie gewollt.

    Ich habe vor dem Loop in category.php, archiv.php und single.php folgendes eingefügt:

    Merci beaucoup.
    Céline

  42. Bonjour Céline,

    mit diesem Code sollte es doch genau nach deinen Wünschen sein, oder? :-)

    [SimpleYearlyArchive include="3"]
    und
    [SimpleYearlyArchive include="4"]

    Das fügst du einfach im Editor (da wo man die Seite mit Inhalt befüllt) ein, und es sollte funktionieren. Was genau meinst du mit “Die verlinkte Jahreszahlen funktionieren nicht wie gewollt.”?

  43. Lieber Oliver, ich bekomme hier ein out of memory:
    vielleicht ist dieses schon einmal untergekommmen, aber ich finde dazu keinen Eintrag hier oderüber Googlle:
    http://www.dorfdisco.de/archives

    Die Fehlermeldung ändert sich dabei = verschiedene dateine werden oom gezeigt:

    zB,

    Fatal error: Out of memory (allocated 54263808) (tried to allocate 1415 bytes) … /wp-content/plugins/simple-yearly-archive/simple-yearly-archive.php on line 297

    Fatal error: Out of memory (allocated 54263808) (tried to allocate 294 bytes) in /home/www/doc/9402/dorfdisco.de/www/wp-includes/wp-db.php on line 1354

    Fatal error: Out of memory (allocated 54263808) (tried to allocate 47 bytes) in /home/www/doc/9402/dorfdisco.de/www/wp-includes/functions.php on line 3183

    … Ideen? Danke!!!

  44. Pingback: Louboutin UK Sale,ugg boots canada,north face sale www.showuggsforcheap.com

  45. Hello,
    I was wondering if it was possible to change something in your plugins code so that I can select the post type to be listed. Because indeed I would like to use your plugin to list a precise custom post type called “livres”…
    Any idea ?
    Thank you anyway for your work !

  46. I kind of fixed it maybe not the good way but it works! I did not delete any code, I just styled the heading with “display:none”. Good day!

  47. I have allso fixed that problem by max it to 3 only post. I want the dates to be bold with this CSS = is this possible? How do I do it? Thanks

  48. Oliver,

    I inherited a wordpress-blog wich uses your simple-yearly-archive-plugin.
    I noticed when invoking the plugin, an error-message appears :
    Warning: Missing argument 4 for get_simpleYearlyArchive(), called in C:\domains\vierwindenhuis.nl\wwwroot\zuidhal\wp-content\plugins\simple-yearly-archive\simple-yearly-archive.php on line 525 and defined in C:\domains\vierwindenhuis.nl\wwwroot\zuidhal\wp-content\plugins\simple-yearly-archive\simple-yearly-archive.php on line 114

    line 114 = function get_simpleYearlyArchive($format, $excludeCat=”, $includeCat=”, $dateformat) {

    Line 525 = $sya_archives = get_simpleYearlyArchive($format, $excludeCat);

    The blog is using WordPress 3.2.1

    I am hopeless at PHP, so I would hope you could shed some light on this.

    Cheers, Fried

      • To tell you the truth, I am not too sure how it is done.
        The blog uses as Theme : Gear 1.3.6 This deploys in the banner/header a menu-structure ( buttons).
        One of them is called Archief ( dutch for archive). I found a Page called Archief, and all that does is employ a
        permalink : http://zuidhal.vierwindenhuis.nl/index.php/archief/

        Pretty normal I would think.

        Simple Yearly Archive Options are all unchecked apart from the option :
        Show optional Excerpt (if available)?

        So I am still at a loss. Would it hurt do uninstall/re-install the plugin ?

        Cheers, Fried

  49. Hi, thanks for your useful plugin.
    I have a strange issue with date localization. I’m using version 1.2.5 of your plugin, on a localized (italian) version of WP 3.3.1.
    My timezone on general wordpress settings is set as “Rome”, so yes, it’s Italy.

    In plugin’s options page I set “j F Y” as date format.
    I’m using a simple [SimpleYearlyArchive include="1"] shortcode in a page.
    But in frontend, on that page, the name of the month is rendered in english. I mean, month’s name is rendered as “january”, ” february”, etc. and not “gennaio”, “febbraio”, et. (italian names) as I would expect.
    Italian month names are correctly translated in other parts of the site and by other plugins.

    Am I missing something?
    Thanks for your help!

      • Hey Kroom,

        just pushed an update to 1.2.6 that you should be getting soon. Please note that you have to update your date string in the plugin’s settings! In your case that’d be ” %d %B %Y ” ;)

        • Thanks!
          your new 1.2.6 solved the problem :-)
          And thanks for your suggestion about the new date string!

          kroom

        • Oliver, can’t remember if this bug – or feature? ;-) – was there in previous version, but with version 1.2.6:
          - If I check “Anchored overview at the top?” in global options AND uncheck the above option “link for years”,
          the overview in frontend is created, but no links to anchors are generated (well, links are generated, but no anchors), so if I i click on a year of the overview, nothing happens.
          If i check also “links for years” anchors are correctly generated.

  50. Möhhhnsch, warum wird eigentlich was geändert, was bislang einwandfrei funktionierte, damit es dann nicht mehr funktioniert :( ?

    Jetzt habe ich statt dem Datum des Artikels überall ein “d.m.Y H:i” stehen, hurrah.

    Dem nicht genug, sieht die große Gesamtansicht zum Ende der Seite sehr abenteuerlich aus, mit schwarzen Blöcken und in der Ansicht ein heilloses Durcheinander von sich überlagernden Auflistungen.

      • Es hat leider bisher nicht funktioniert. Wenn ein italienischer Blog z.B. den Monatsnamen anzeigen ließ, wurde dieser immer in Englisch und nicht korrekt in Italienisch angezeigt, daher war die Anpassung nötig. Nach dem Update solltest du einen Hinweis bekommen haben, dass das Datumsformat angepasst werden muss, und unter dem Feld für das Datumsformat findest du einen Link, welche Werte eingetragen werden können. Z.B. “%d/%m”. ;)

  51. Hallo Oliver

    Danke für Dein exzellentes Plugin, bei dessen jetzt anderem Datumsformat ich zuerst auch einmal wie der Ochs vorm Scheunentor dastand, und dann “hier geholfen wurde”. *zwinker*

    “%d.%m.%Y” zeigt so richtig z.B. “26.04.2012″ an, “%d.%B %Y” zeigt aber den Umlaut im Monat März unrichtig so mit einer schwarzen Raute (o.s.ä.) an. Dito erscheint die abgekürzte Form Mär mit falscher Umlautdarstellung durch “%d.%b %Y” bzw. durch “%d.%h %Y”.

    setlocale(LC_ALL, ‘de_DE.UTF8′, ‘de_DE’);
    habe ich in wp-config.php eingetragen.

    Hast Du eine Idee wegen des einen Umlautes in “März”?

    HERZLICHEN DANK(!) und Gruß

    Gunther

  52. Any idea why i keep getting this error?

    Warning: Missing argument 4 for get_simpleYearlyArchive(), called in /home/dreamiez/domains/illusi0n.net/public_html/wp-content/plugins/simple-yearly-archive/simple-yearly-archive.php on line 558 and defined in /home/dreamiez/domains/illusi0n.net/public_html/wp-content/plugins/simple-yearly-archive/simple-yearly-archive.php on line 146

  53. Pingback: WporePress – 年別アーカイブプラグイン Simple Yearly Archive – NonTitle

  54. Hi,

    This is excellent, just what I’m looking for – however… could you possibly add an option to sort the posts in either ascending or descending order?

    For now, I’ve tweaked the plugin PHP file (for the 2nd time, I forgot I did it then updated it to the latest version today!) – having this as a configurable option would be great, it would then simply need to order the posts either asc or desc when selected from the database :)

    Cheers!

    • Hey Garry,

      I’m not sure people (well, except you :) ) will actually use the option. An archive typically lists posts from newest to oldest, and that’s what people expectt. I probably will, however, put the option into an “Advanced” section of the options panel. ;)

Leave a Comment

incopy cs5 for mac microsoft win xp professional sp3 elearning suite 2 mac cs3 master collection dreamweaver cs5 mac win vista home premium with sp2 visio professional 2003 ms office project professional 2010 microsoft project professional 2010 adobe illustrator cs5.1 for mac creative suite 5.5 web premium mac adobe flash professional cs5.5 mac adobe master collection cs4 production premium cs5 for mac adobe production premium cs5