[WordPress Plugin] Calendar Archives

Calandar Archive

A picture is worth a 1000 words so take a look at 2 of them using first and second layouts and download the plugin

Description
Calendar Archives is a visualization plugin for your WordPress site which creates yearly calendar for your posts. Create a new page (having ‘no sidebars’ layout) for your calendar archive and insert the shortcode [calendar-archive] in the editor. Load this page and enjoy the view!

Each day of calendar will display first available photo from posts of that day in the background. The plugin’s view is customizable and has two working views in the download

Installation
1. Upload directory ‘calendar-archives’ to the ‘/wp-content/plugins/’ directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress
3. Configure plugin options by clicking on ‘Settings’ link near plugin name or ‘Settings’ -> ‘Calendar Archives’ navigation link. Make sure that your plugin directory must be writable by webserver to use caching of pages and images
4. Create page having [calendar-archive] shortcode. It will be better to use empty (having no sidebars) template for this page

Note:- This plugin is tested for WordPress- 2.8.4 2.9.1 only but should work on previous 2.9.* or 2.8.* versions

About Amit Badkas

Amit Badkas is Zend certified PHP5 and Zend Framework engineer, and has been working in SANIsoft for past 10 years, his present designation is 'Technical Manager'

139 Responses to [WordPress Plugin] Calendar Archives

  1. Valentin August 21, 2009 at 1:51 pm #

    Hey !
    great plugin ! Nice !

    But I get an error when I display images –> “Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration”

    :/

  2. jack August 21, 2009 at 3:22 pm #

    Can I see a working version of this plugin somewhere? I’d like to see how it works with actual posts before installing.

  3. Amit Badkas August 21, 2009 at 4:39 pm #

    @valentin: Thanks for appreciation. You get this error because your PHP is not configured to open URLs over HTTP (that’s what the error says ‘URL file-access is disabled in the server configuration’). If you disable ‘show images’ setting for ‘calendar archives’ then this error will be gone and no images will be displayed

    @jack: I will set-up a demo soon, till that time you can try this at your local wordpress set-up (if you have any)

    Thanks

  4. baron August 21, 2009 at 5:18 pm #

    Works great, thank you

  5. François August 22, 2009 at 3:08 pm #

    Great plugin Amit,
    how can i translate the plugin , or is it a way to internationalise it ?
    Thank’s

  6. François August 22, 2009 at 4:55 pm #

    i’ve found how to translate the days names (calendar-layout-1.php file) but did’nt found the month names…

  7. Tiger August 23, 2009 at 7:37 am #

    anyone installed this who can give me a link so i can see it in action

    Regards

  8. François August 23, 2009 at 12:32 pm #

    you can see it here http://francois.keller.free.fr

  9. Amit Badkas August 24, 2009 at 8:14 am #

    @baron: Thanks for appreciation!

    @François: Thanks for appreciation. The way to internationalize the plugin will be coming in next version

    @Tiger: http://www.geekeries.fr/archives/, this is one more demo

    :)

  10. Andy August 26, 2009 at 10:08 am #

    Images aren’t showing up for me, though I see no errors either. Where should I start troubleshooting?

  11. Amit Badkas August 26, 2009 at 4:59 pm #

    @Andy: The ‘show images’ setting is ON? the ‘cached_images’ directory in plugin directory has any images? If you can change some PHP code then remove all ‘@’ (error suppression operator) from plugin file and then try to see the errors

    Thanks

  12. Andy August 29, 2009 at 7:46 am #

    ‘show images’ is checked. There are no images in the ‘cached_images’ subdirectory of the plugin directory though.

    I’ll try removing the ‘@’ operators.

  13. Andy August 29, 2009 at 9:48 am #

    removing ‘@’ chars had no apparent effect. But by instrumenting the code a bit, I have determined that the problem is that the call to preg_match_all() in calendar_archives.php is producing matches which are urls starting with ‘http:’. When file_get_contents() is later called on such a url, it fails.

  14. Andy August 30, 2009 at 9:25 am #

    I’ve fixed it by patching calendar-archives.php. Email me if you are interested in details.

  15. ADRIAN September 1, 2009 at 10:33 pm #

    Hello Andy, Can you e-mail me the fix. I have the same isue

  16. Emmi September 3, 2009 at 1:42 am #

    Hi Andy.
    I have the same problem. I would really be interested to get the fix if possible. Thanks

  17. Amit Badkas September 3, 2009 at 4:21 pm #

    @Valentin, @Andy, @Adrian, @Emmi: I have released new plugin version today, this will fix the problem – please try and let me know

    Thanks

  18. Emmi September 3, 2009 at 6:51 pm #

    Hi.
    I downloaded the plug-in again. I published a page and it looks good but I get this when i´m publishing:

    Warning: Invalid argument supplied for foreach() in /customers/mediariket.se/mediariket.se/httpd.www/ediary/wp-content/plugins/calendar-archives/calendar-archives.php on line 223
    Warning: Invalid argument supplied for foreach() in /customers/mediariket.se/mediariket.se/httpd.www/ediary/wp-content/plugins/calendar-archives/calendar-archives.php on line 223

    Warning: Invalid argument supplied for foreach() in /customers/mediariket.se/mediariket.se/httpd.www/ediary/wp-content/plugins/calendar-archives/calendar-archives.php on line 223
    Warning: Cannot modify header information – headers already sent by (output started at /customers/mediariket.se/mediariket.se/httpd.www/ediary/wp-content/plugins/calendar-archives/calendar-archives.php:223) in /customers/mediariket.se/mediariket.se/httpd.www/ediary/wp-includes/pluggable.php on line 865

    Now I am no expert so I do not have a clue what this means. Appreciate a little help. Thanks.
    I love this plug-in so it would be nice to see it work properly. :-)

  19. Amit Badkas September 4, 2009 at 9:33 am #

    @Emmi: Thanks for pointing out the problem. I guess you had this error at admin side and not while viewing calendar. Please download the plugin again and let me know more

  20. Emmi September 4, 2009 at 11:26 pm #

    Hi Amit
    This time it works perfectly. And yes, the error was on the admin side.
    I can send you links if you want to see how they look.
    Thanks again. This plugin is great and just what i needed.

  21. Amit Badkas September 7, 2009 at 9:00 am #

    @Emmi: Thanks for feedback. It will be great if you provide demo link to view how calendar looks

    :)

  22. Emmi September 10, 2009 at 12:30 pm #

    Here are the links:
    Emmi´s Portfolio

    Emmi´s Photodiary

    I would like to have it on my Formula 1 blog too, but for some reason whatever I do the calendar won´t show up. I am out of ideas so I gave up to try to fix the problem. :-(

  23. flavinou September 13, 2009 at 2:30 pm #

    Hello !
    Does anyone know why I have this error with this plugin ?
    Fatal error: Call to undefined function: file_put_contents() in /space_3/a/armand38/italien/wp-content/plugins/calendar-archives/calendar-archives.php

  24. Amit Badkas September 14, 2009 at 8:40 am #

    @flavinou: The error is due to your PHP version (4.x) because file_put_contents() function available in PHP5. Anyways, I will fix this and let you know when done

    Thanks

  25. Dieter September 16, 2009 at 1:15 pm #

    Hi,

    i use the plugin.
    But in Germany the first day of the week is monday. Where and how can i change this?

  26. Amit Badkas September 16, 2009 at 3:40 pm #

    @Dieter: Thanks for using the plugin. To change start day of week, there is no setting, I am planning to add it in next version. Till that time, you can wait or if you know PHP then also change the code as needed

    :)

  27. Jan October 6, 2009 at 1:49 am #

    The plugin is really great.
    However, I didn’t figure out how to create an empty template/page without sidebars. I’m using the theme “WordPress Default 1.6″. Any hints?

  28. Amit Badkas October 6, 2009 at 3:10 pm #

    @Jan: Thanks for appreciation. Though your question about creation of page template is not related to my plugin, here is link to do that, http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates

    :)

  29. seriocomic October 7, 2009 at 3:56 pm #

    Nice plugin. However i’m wondering if the the resizing would work better before writing to the image cache?

  30. Brian October 14, 2009 at 2:35 am #

    Really great plugin. Thank you. I have a few questions:

    1. Can you specify a particular category to show posts for?
    2. Do you have the ability to show upcoming posts?

    I would like to use the plugin to show events (posts) for upcoming and past events..

    Thanks again!

    Brian

  31. Amit Badkas October 15, 2009 at 8:35 am #

    @seriocomic and @Brian: Thanks for appreciation

    @seriocomic: Yes, we are resizing the image and cache it to use that again

    @Brian: No, both of the things you need are not there in plugin but you can modify SQL query in plugin to match for your needs

    :)

  32. fernando October 28, 2009 at 1:02 am #

    My friend, I know how to instert some comands, but what does this means ” insert the shortcode [calendar-archive] “, can you give me the full code to insert, I’m really ban on programing.

    thanks.
    regards.

  33. Amit Badkas October 28, 2009 at 10:13 am #

    @fernando: It seems that you are newbie to wordpress, shortcode is like a tag which is used in content of page/post. So if you create a page in wordpress and place [calendar-archive] in content of it then save it, you can view your calendar archives after accessing that page

    One of the examples of shortcode is http://codex.wordpress.org/Gallery_Shortcode

    Thanks

  34. Autumn November 2, 2009 at 2:38 am #

    Hello – I have CHMOD my plugins folder to 777 and I still get the error: Your plugin directory (or ‘cached_pages’ directory, if it exists, in your plugin directory) is not writeable by WordPress. Caching is not possible.

    Do you have any suggestions? I checked through cpanel, and it says my plugins directory is writeable.

  35. Amit Badkas November 2, 2009 at 11:53 am #

    @Autumn: You are sure that your plugin directory (the directory in which calendar archives plugin related files exist, i.e., wp-content/plugins/calendar-archives in your wordpress install) is writable by web server? If yes then check if ‘cached_pages’ directory in wp-content/plugins/calendar-archives is writable by web server or not

    Thanks

  36. François November 3, 2009 at 3:18 am #

    @Amit, can you explain how to use the pot file to translate the plugin (i’m using poedit but don’t know what to do withe .mo and .po file generated…)
    Thank’s
    François

  37. Fat Cow January 12, 2010 at 4:13 am #

    Hi, I would want to translate plugin to the Russian language. Please tell me your email, simply reply to mrilyuha@gmail.com. Thanks!

  38. Phil January 12, 2010 at 11:56 pm #

    I’m trying to make the thumbnails in the calendar clickable, rather than the titles, as my posts don’t have titles. Is this possible? I’m not sure which parts of the code to change…

    • Levi-Levi December 22, 2010 at 10:58 pm #

      @Phil, have you already figured out how to make the images clickable?

      • Levi-Levi December 22, 2010 at 10:59 pm #

        Thanks in advance

  39. Amit Badkas January 13, 2010 at 11:20 am #

    @Phil: You can modify existing layouts (calendar-layout-1.php or calendar-layout-2.php) or create new one (calendar-layout-3.php) as per you need

    Thanks

    • Levi December 23, 2010 at 5:28 pm #

      Hai Amit,

      How can I make the images clickable?
      Wich line and wich code do I have to adjust?

      Thanks in advance.

  40. Phil January 19, 2010 at 8:39 am #

    Thanks Amit. I know which files to edit, I was just trying to work out which bits of the code, but I’ll figure it out.

  41. Fath January 24, 2010 at 7:29 pm #

    Hi, great plugin. I had a problem here.
    It works well in one of my blog [http://furniturebookmark.com/archives] but It deformed on my other blog with the same plugin setting [http://gardeningbookmark.com/archives]. Any suggestion please? Thanks

  42. Amit Badkas January 25, 2010 at 8:30 pm #

    @Fath: Thanks for appreciation. From the information you have provided, it doesn’t clear where the problem is. Can you please elaborate more on it like if you have any errors in logs etc.?

    Amit

  43. Becky February 5, 2010 at 8:15 am #

    Hi Amit – I’m very impressed with this plugin’s capabilities, but I’m having trouble getting my images to display. I think I have two different issues.

    First, an image from each post isn’t being written to the cache-images folder. I’m pretty sure I know why this is. I’ve been able to reproduce the problem, so I won’t bother you with it.

    But I’m stuck on my 2nd issue – the pictures that ARE showing up in the cache-images folder aren’t being displayed on the calendar. The calendar boxes that have images associated with them do look different (which is encouraging). On those, the date bar is a different color and I can’t see the title of the post unless I hover over the calendar box. Then I can see the post title. It’s almost as if the image is there but invisible!

    Any ideas? Thank you!!

  44. Becky February 5, 2010 at 8:17 am #

    Sorry – I left the wrong website. I gave you the address of my static/html site. I’m moving to wordpress, obviously. This time I gave the correct URL.

    • iain March 27, 2010 at 5:13 pm #

      Becky did you ever figure out why your images don’t show up? I have the same problem. I’m running wordpress locally

  45. Mandy February 19, 2010 at 6:58 am #

    Does this plugin work with NextGEN Gallery? I downloaded this plugin and made a page for it, but there are no images on the days in the calendar. It only has the title of my posts. I checked the box in the options labeled “Show images”.

  46. Mandy February 19, 2010 at 7:19 am #

    I figured out that if I put the image url in the post rather than inserting it from NextGEN Gallery, that it works, but is there a way to make it pick up the images from the posts if I keep adding it from the NextGEN Gallery? I’d hate to have to go into all of my posts to change how the images are inserted….

  47. Kermit Woodall February 22, 2010 at 8:37 pm #

    How can I make this display the calendar without bullets in front of everything in the 2nd layout?

  48. Paul March 15, 2010 at 10:56 pm #

    hello,
    really nice plug-in!
    but i got a question on customizing it.

    is there any chance to just show one month per page and add links to the months before and after?

    thanks,
    paul

    • Amit Badkas March 16, 2010 at 11:41 am #

      @Paul: Thanks for appreciation. Currently there is no such setting to display only one month per page but you can modify the plugin as per your need.

  49. Laura April 19, 2010 at 10:11 pm #

    HI, I love this plugin, but am having a small amount of trouble with the sizing – can you let me know how to make it slightly narrower? At the moment it is cutting off halfway across the last day of the week.
    Thanks!

    • Amit Badkas April 20, 2010 at 11:48 am #

      @Laura: Thanks for appreciation. The width of calendar’s month box is calculated automatically using the image thumbnail size you have provided in plugin’s settings. So change in image thumbnail size should fix your problem.

  50. Wolforg April 23, 2010 at 10:56 am #

    Hello and congratulations for this plugin.
    I’ve translated it in french today, feel free to download this translation for the next version here : http://www.wptrads.fr/calendar-archives/

    Keep the pressure :)

  51. pictureeachday April 26, 2010 at 7:53 am #

    Amit, this is really fantastic! Thank you!

  52. cookid April 28, 2010 at 1:29 am #

    Amit,

    Great plugin.

    However, for some reason, the pictures are not showing up.

    Show Images is checked.
    There are also resized pictures in the Cached_Images folder.

  53. cookid April 28, 2010 at 3:07 am #

    If there are multiple images in a post, is it the first image that is automatically selected for the calendar pic?

    Appreciate your help.

    • Amit Badkas April 28, 2010 at 9:00 am #

      Thanks for appreciation. Yes, you are right. If there are multiple images in a post, the first image that has width/height greater than equals to box/image dimension (provided from admin backend) will be automatically selected for the calendar picture.

  54. Richard May 15, 2010 at 8:32 pm #

    Is it possible that the calendar shows post only from a specific category(s) or tag(s) ??

    This would be a great feature. Please consider telling how to do it.

    usage-1. I write several blog posts, some talk about an event, so I tag it ‘event’ and it shows up in the calendar, other posts not tagged ‘event’ don’t show in calendar.

    usage-2. same as above, except I categorize it ‘blog’ and ‘event’ category. ‘event’ category only displays in the calendar.
    Thanks for a great development. Good luck in the future!

  55. Darrin May 26, 2010 at 3:16 am #

    I just downloaded and am testing this as it’s just what I was looking for. One thing that would make it really cool is a drop down in the settings to choose a category to pull from.
    Just a thought.
    Great work.

  56. Darrin May 26, 2010 at 3:23 am #

    Does anyone understand or have an example of how they have set the category for images to display. This is in the FAQ on the plugin but I really don’t understand what it means or how to implement it.

    How to display posts under particular category?
    If URL has ‘category’ parameter then it will be used as category slug, for example, http://www.my-domain.net/my-blog/my-calendar/?category=uncategorized

    Thanks

  57. Aaron Law June 24, 2010 at 6:11 am #

    I used to use MovableType as my blogging software until 2004. Before moving to WP, my MT blog has a “archive calendar” (as like what this page show) but I can’t figure this out with WordPress.

    That’s what I want! Thanks for making this plugin.

  58. Ananda July 25, 2010 at 7:48 am #

    Great plugin Amit, many thanks. It works OK for me on WP3.0 also. Very much appreciate your hard work there.

  59. Cindy August 2, 2010 at 2:07 am #

    Hi,

    I’ve been using this plugin for a while and I really like its simplicity. However, is there a way to make future months show up on the calendar? For example, I have a few posts scheduled for September and I’d like them to show up on my calendar.

    Thanks in advance.

    • Amit Badkas August 9, 2010 at 10:12 am #

      There was a bug due to which future months was not shown though ‘Display upcoming posts’ setting was ON but I fixed it last week and released new version of the plugin. If you update the plugin then future months should be shown.

      Thanks

  60. Kristen August 6, 2010 at 1:28 pm #

    It’s brilliant – thanks! :)

  61. Kristen mozaffari August 7, 2010 at 3:55 am #

    Hey Amit-

    Love it! Quick question…

    Is there a way to just have the date linkable instead of listing all of the posts or just listing the number of posts for that day and having that take you to all the posts for that day?

    I’m running BuddyPress. I honestly don’t know how many people will posting and would hate to have a gazillion listed.

    Any thoughts or suggestions?

    Thanks and best wishes,
    Kristen

    • Amit Badkas August 9, 2010 at 10:22 am #

      Thanks for the appreciation. About the changes you need, if you know the enough PHP then can modify ‘calendar-layout-1.php’ or ‘calendar-layout-2.php’ according to the layout you are using.

  62. Janice August 28, 2010 at 6:51 am #

    First of all – GREAT plugin!! This is EXACTLY what I was looking for! Thank you for all your hard work on this!

    1. I am curious as to why we need to set for no sidebars. I went back (just for giggles) and put my sidebar in after resizing the calendar and it shows great..is there going to be a future problem if I leave the sidebar there?

    2. Is there any update in the future to just show one month and then have arrows to click to the future or past months? We plan on doing a yearly calendar of “silly” holidays that will pretty much stay the same. We had wanted it to be our front page (with sidebars, widgets, etc), but since this plugin is not supposed to have sidebars, I’m a little bit leary of setting it up as such!

    Thank you again!!

  63. M. Douglass August 31, 2010 at 10:07 pm #

    Hello, love calendar archives, but after the most recent upgrade I noticed that there was what I believe a bug in the plugin.

    On the archive page, everything works fine, but the month of each calendar section doesn’t appear. All the images, the days, the dates and everything else works, it’s just that the individual months seem to have disappeared. I tried looking through the files, reinstalled the plugin and check it against my theme files, but no luck.

    I was wondering if anyone else have experienced this problem.

    • Amit Badkas September 1, 2010 at 5:09 pm #

      Thanks for the appreciation and finding out the bug. For me, everything is working fine. Can you please give me URL of the site where you have problem, so that I can try to fix it?

  64. Commonsensecool September 2, 2010 at 5:09 am #

    Hello, sorry about the late reply, my website calendar page is located HERE.

    Thanks

    • Amit Badkas September 2, 2010 at 8:43 am #

      The problem is with the mark-up. The calendar outputs month names in h1 tag and your inline style for ‘#post-5200.post h1′ is ‘display: none;’.

  65. Ananda September 9, 2010 at 8:13 am #

    Dear Amit,

    I have started to get the following error:

    Fatal error: Allowed memory size of 33554432 bytes

    Any ideas how to fix this?

    • Amit Badkas September 9, 2010 at 8:48 am #

      I think you need to increase memory size (it’s 32MB currently).

  66. Ananda September 9, 2010 at 8:58 am #

    Hi Amit,

    Thanks for the quick reply. I understand now it’s not to do with your plugin.

    My limit however is currently 100MB and I’m only using 32MB, so there is some other problem.

  67. Ron October 8, 2010 at 9:09 am #

    Q from a newbie. Sorry but what do you mean by “Create page having [calendar-archive] shortcode”? Where does that information/code come from?

    Thanks.

    • Amit Badkas October 8, 2010 at 10:01 am #

      Shortcode is like a tag which is used in content of page/post. So if you create a page in wordpress and place [calendar-archive] in content of it then save it, you can view your calendar archives after accessing that page.

      One of the examples of shortcode is http://codex.wordpress.org/Gallery_Shortcode

      Thanks

  68. Javier España November 11, 2010 at 12:02 am #

    Hi there, I’m having a problem displaying the background images. Seems like the code never enters this if statement:

    if (isset($backgroundImages[$month][$day]) && false !== $backgroundImages[$month][$day])
    {
    $backgroundImage = $backgroundImages[$month][$day];
    }

    Any ideas? Show image is checked in the plug-in directory…

    Thanks,

    Javier

    • Amit Badkas November 11, 2010 at 8:31 am #

      Hi :)

      Though the ‘show image’ is checked, the background is shown only when it’s available for any post of that day.

      Amit

      • Javier España November 11, 2010 at 5:53 pm #

        Yes, off course, but what is it that makes a background available or not? So I know what’s going wrong…

  69. Javier España December 11, 2010 at 1:00 am #

    Think I found a way, thanks…

    • Hesam January 7, 2011 at 6:39 pm #

      Hi Javier
      I have the same problem too and couldn’t resolve it.
      Could you please kindly let me know how you solved the problem?

      Many thanks

  70. chile December 25, 2010 at 3:00 am #

    hi from Chile… How to change the months in spanish?

  71. Carlos January 8, 2011 at 8:01 am #

    Hi.
    First, I would like to parabenize for the amazing plugin you have made. It was exactaly what I needed.
    But, I would like to translate de month and I don’t find where to do it.
    I’ve also noted that there is more people trying to translate, whithout sucess.
    Can you give us some clues?
    Thank you.

  72. Lara January 17, 2011 at 3:37 pm #

    Hey,

    i would really appreciate to use your plugin but it really ruins the layout of my page that you can´t switch between showing all monthes and only one month. Is there any easy way within the PHP code to change that?

    Thanks in advance!

  73. Levi January 20, 2011 at 4:31 pm #

    Since 2011 started, Calendar Archives doesn’t show posts of 2010. How can I show postst of 2011 as well as posts of 2010?

  74. Erica M February 18, 2011 at 1:04 pm #

    I love this plugin. Thanks for all your hard work. One issue and one request.

    Only 2011 shows on the calendar. If I click any other year, 2011 still shows up no matter what. How do I fix this?

    Also, is there any way I can change the background image from images used in the post to the newer “featured image” used in WordPress?

    Thanks for your time!
    freefringes.com/archives

  75. Rahat March 12, 2011 at 1:12 pm #

    Hello Amit!

    I love ur plugin very much. I’ve used it on my site. Before today its working nicely. But somehow the Plugin page doesnt show the Calendar.

    I’ve checked the shortcode [calendar-archive] is ok. I dont understand what should I do now? Could you please help me?
    You can visit this url to see the problem http://purbanchal.com/daily-archive

  76. Aljoscha March 12, 2011 at 7:44 pm #

    Hello Amit,

    I have just installed your plug-in. Does it work with WordPress Version 3.1?
    Thank you.

  77. Angie June 2, 2011 at 1:30 am #

    Hi,
    I just installed the calendar archive and get it to work for the most part. I was able to create a custom page with no sidebars and the calendar displays.
    The problem I”m having is that layout 2 (which I like) displays the last day of the week of the week on a seperate row. The layout 1 doesn’t have this problem but the formatting seems off and there is not lines inbetween the days and the number of days are a bit off. I would really like to get layout two to display correctly. I have not even played around with images yet.

    Thanks for this cool plugin and hopefully I can get it to work.

  78. Mahesh Kantariya June 23, 2011 at 1:08 pm #

    Amit, this is nice plugin. But I am facing some issue to display images in calendar. Show images option also on.

  79. alexm June 28, 2011 at 2:52 am #

    Please, someone can it translate ti russian?
    or give a link where I can download with russian days and monthes.. thanks

  80. Patty July 5, 2011 at 6:18 am #

    Love the plug in, but there is a line that shows on the page ‘view calendar for year 2010 2011′ – the years are clickable

    When I click 2010, the page reloads with no calendar, even though I have posts in 2010. Thoughts? I’d like to either make this work or remove that line!

    Thanks, patty

  81. Bonica July 14, 2011 at 8:18 pm #

    Hi, I love the plug in! Is there anyway to only have the current month show up instead of the entire year? I am new to wordpress and I didn’t know if there was an easy way to do that? Thanks, Bonica

  82. james August 30, 2011 at 12:31 am #

    RE [WordPress Plugin] Calendar Archives

    Hi – Great Plug in….
    Please can you tell me if there is a way that allows only ONE month at a time show?
    Thank you

  83. Triumvir September 30, 2011 at 5:09 pm #

    This plug is in great but sadly it doesn’t work for featured images. Any plans to enhance?

  84. Amy October 5, 2011 at 8:44 am #

    Happy to have found this great plug in. Thank you! It worked great at first… For some reason, now Saturday is wrapping around to the next row. How can I get the whole week back to the same row? I tried changing the size of the boxes, but it didn’t help. Any suggestions?

  85. Pol October 11, 2011 at 12:43 am #

    Thanks for your great plugin, I´m already using it, but I have a question is there a way to use different width and height for the thumb used on the post?
    I need the picture to be at least 120px by 200px is there a way to do it.
    Thanks on advance.

    • Amit Badkas October 11, 2011 at 8:41 am #

      Thanks for the appreciation. You can configure image’s size using ‘Box/image dimension’ field, however, by default, there is no way to provide different height and width of background image.

      • Pol October 13, 2011 at 12:14 am #

        thank you very much, I did work properly.
        Is there a way tu publish only one category?

  86. Ana November 16, 2011 at 6:26 am #

    Is there any option to show month by month, not whole year at once? Also is there any option to manually code it into page template?

  87. Sam Folk December 22, 2011 at 7:01 am #

    Bug alert:

    1) finding media.php from word press core line 441 constructed a wrong resized destination path.
    2) calendar-archives.php line 578 str_replace abspath to siteurl cannot handle backward slash and forward slash properly.

    I made the following changes in order to make it work:
    media.php:
    $info = pathinfo($file);
    $dir = $info['dirname'];
    $fname = $info['filename'];
    $ext = $info['extension'];
    $name = wp_basename($fname);
    original
    $info = pathinfo($file);
    $dir = $info['dirname'];
    $ext = $info['extension'];
    $name = wp_basename($file);

    calendar-archives.php
    return str_replace(str_replace(‘\\’,'/’,ABSPATH), get_option(‘siteurl’) . ‘/’, str_replace(‘\\’,'/’,$resizedBackgroundImage));

    In calendar-archives.php, I think it may not be the best way to fix it. However, I need to make it work then make it right.

    Thanks.

    • Amit Badkas January 2, 2012 at 12:09 pm #

      Sam, modifying core file is not a good option.

  88. Lorina Daiana December 29, 2011 at 1:23 pm #

    Hello,

    I have been using your Calendar Archive wordpress plugin for a long time, and love it.. but all the sudden it doesn’t work anymore.. any idea why?

    http://creativebalorina.com/calendar-of-posts/

    thank you for your time

    Lorina Daiana

    • Amit Badkas January 5, 2012 at 11:42 am #

      Lorina, the mentioned page is displaying fine for me.

      • Lorina Daiana January 5, 2012 at 12:41 pm #

        hmm it seems to be in Google Chrome only .. thank you for the observation, I wouldn’t have known otherwise :P

  89. ACLady February 29, 2012 at 3:15 am #

    I left a comment here in January and kept checking for an answer for 2 months…now it seems my comment was deleted. The plugin does not work in the Safari browser. The links are not clickable. Please advise if there is a fix for this.

    • Amit Badkas March 2, 2012 at 9:56 am #

      Hi there,

      The plugin is working for us in Safari. Please give a URL of your blog to test

      Thanks

      • ACLady March 5, 2012 at 8:05 am #

        Please try clicking on any of the posts in July 2011. They images are not clickable in Safari. If I use Internet Explorer it works..but not in Safari.

        • Amit Badkas March 5, 2012 at 10:15 am #

          I have tried to replicate the problem using Safari on Windows and Mac, the links on images were clickable. Which version of Safari are you using?

  90. caseyayars March 5, 2012 at 11:57 pm #

    Hello – I have the calendar installed, but the images are not displaying on the days. Instead it is showing a small box with a red X. Here is the URL http://www.checkoutmyshirt.com/calendar/. Any ideas on what I’m doing wrong? Thank you!

  91. nick March 6, 2012 at 5:36 am #

    This is just the plugin I was looking for. However, when I try to post images I get an error. It may be the path related issue Sam Folk mentioned above. As you can see, I am testing on my local wamp server, and running wordpress 3.2.1. The full-sized images are showing in the cached_images folder, but I get the following error (copied from the source code):

    <li class="day"
    Warning: imagejpeg() [function.imagejpeg]: Unable to open ‘E:\wamp\www\wordpress_mobile\wp-content\plugins\calendar-archives\cached_images/E:\wamp\www\wordpress_mobile\wp-content\plugins\calendar-archives\cached_images\113-341d44448aac6af8464d566723965c42-140.jpg’ for writing: Invalid argument in E:\wamp\www\wordpress_mobile\wp-includes\media.php on line 459

    Warning: chmod() [function.chmod]: Invalid argument in E:\wamp\www\wordpress_mobile\wp-content\plugins\calendar-archives\calendar-archives.php on line 578
    style=”background-image: url(E:\wamp\www\wordpress_mobile\wp-content\plugins\calendar-archives\cached_images\113-341d44448aac6af8464d566723965c42-140.jpg);”>

    5

    5

    test 2

    I can see that it is a path problem, but I have not made any changes to your plugin, and so don’t understand why it does not work out of the box. If anyone can see why, please let me know!

    • Amit Badkas March 7, 2012 at 12:32 pm #

      Hello there,

      The errors were due to handling of paths in WordPress’ image_resize() function and Windows, at one place ‘/’ is hardcoded

      It will work on Windows once this bug in WordPress is fixed

      • nick March 7, 2012 at 1:32 pm #

        Thank you very much for your reply. My local install and live install are both running the latest version of wordpress. It seems this erroneous ‘/’ is only affecting the path on the local server. Maybe it is because I’ve just installed the live version and haven’t made any changes to the thumbnail image re-sizing yet.

  92. nick March 7, 2012 at 11:10 am #

    I tried on a live server and it works. Not sure what the local server issue is.

    Another question. When viewed on my iphone, the image in the calendar is not clickable. On the PC, when I hover the mouse over the calendar image, the post title link is displayed. When I click on this the post opens. On a touch device, this does not happen, and the post cannot be opened. Anyone with a fix for this?

  93. nick March 12, 2012 at 9:35 am #

    anybody with a smartphone fix?

  94. penelope April 20, 2012 at 3:20 pm #

    Hi!
    I have download calendar archive, and made a page for the calendar but on the settings I am getting a message for images ” [URL file-access (PHP configuration setting 'allow_url_fopen') is disabled in the server configuration. Hence, the images will not get downloaded and will not be displayed.] ” I read that this was fixed by your plugin in an earlier fix. I can’t get the images of the post to show in the calendar view

    Please help!
    Regards,
    Penelope

  95. Whiler May 18, 2012 at 6:37 am #

    Hi Amit,

    I just installed your plugin on my blog…
    Configuration is easy… Everything works like a charm…

    So thank you very much.

    However, I’d like to know if an improvement can be done…
    I have many posts which don’t display an image…

    I don’t want to add an image in my posts bodies… What I would like, is to display the first image available in the attachements… (postmeta / _wp_attached_file / jpg/png/gif)

    Let me know if you find this idea interesting or stupid ;o)

    Cheers,

    W.

    • Whiler May 18, 2012 at 7:49 am #

      To be more precise, instead of working on post_content, using the column background from this query:

      $posts = $wpdb->get_results(“SELECT P.*, P_TEMP.guid AS background FROM ” . $wpdb->posts . ” P LEFT JOIN(SELECT P1.* FROM ” . $wpdb->posts . ” AS P1 LEFT JOIN ” . $wpdb->posts . ” AS P2 ON P1.ID = P2.ID AND P1.menu_order ‘P.YEAR(post_date) = ‘ . $year);
      $conditions['id'] = ‘P.ID ‘ . (0 get_results(‘SELECT DISTINCT YEAR(post_date) AS year FROM ‘ . $wpdb->posts . ‘ P WHERE post_status IN ‘ . $postStatuses . ‘ AND post_password = “” AND post_type = “post”‘ . (isset($conditions['id']) ? ‘ AND ‘ . $conditions['id'] : ”) . ‘ ORDER BY post_date DESC’);

      Last comment regarding this code, the column background can contains 2 things: the url for the image, or NULL if none is specified…

      Cheers,

      W.

  96. Matheus May 18, 2012 at 8:06 am #

    Hi Amit,

    thanks for a great plugin.

    Any progress in making the plugin internationalizable? Or ETA about the new version that will be? Would be awesome if the month names could be translationable.

    Thanks again!

    Regards,
    Matheus

  97. ACLady May 23, 2012 at 12:20 am #

    I have tested again on the iPhone 4s and iPhone 2 and and the images and links are not clickable. I don’t know how to check the version of Safari but it’d iOS 5.

  98. Joseph Abraham June 27, 2012 at 11:56 pm #

    I was wondering if there is a way to accomplish one of the following:

    1) Make the calendar scaleable so that it changes width for lower-res computers.
    2) Make multiple versions of the calendar. This way I can trigger which calendar version loads via media-queries.css. I have been messing around with the code, and still have had no luck with multiple width versions of a single calendar.

    You can look at the site I’m working on: http://www.structurespoetryhumans.com

    Thanks.

    • Tarique Sani June 28, 2012 at 9:22 am #

      Joseph, I see that you are using the UL, LI version of the Calendar template – this can be styled using media-queries. You wont be able to load a different template with media-queries but you should be able to make it responsive…

      • Joseph Abraham July 30, 2012 at 9:37 am #

        Two things:

        1) Could you give me more insight as to how to apply media queries to the UL and LI. I don’t really understand how to apply media queries to a plugin.

        2) Could you tell me how to make it so my page works on iPhone/iPad?

        URL: http://www.structurespoetryhumans.com

        • Joseph Abraham July 30, 2012 at 9:49 pm #

          I figured out the li and ul formatting with media queries. I still am really struggling with iphone compatibility.

  99. Han-Chiang July 21, 2012 at 10:33 am #

    Hi,

    It is really really a great plugin!! Readers of my blog like your plugin very much.

    However, few days ago, the website hosting company told me that I can’t put files more than 1024 in one directory. The cache folder of your plugin was pointed out by the hosting company and they asked me to removed.

    Can you teach me how to modify the plugin and separate cache files with folders year by year?

    Anyway, thank you so much.

  100. meesa July 29, 2012 at 11:59 pm #

    Great plugin, only I have checked marked add images, but only one is showing. How do I fix this? thank you!

Trackbacks/Pingbacks

  1. Top Wordpress Plugins | Creative Balorina - November 9, 2011

    [...] Calendar Archives | By Amit Badkas | Visit plugin site [...]

  2. Telmina+ » 「Calendar Archives」 - January 11, 2012

    [...] [WordPress Plugin] Calendar Archives at SANIsoft Calandar Archive. A picture is worth a 1000 words so take a look at 2 of them using first and second layouts and download the plugin. Description Calendar Archives is a visualization plugin for your W… [...]

  3. Calendar Archives | Best Plugins - wordpress – widgets – plugin 2012 - April 23, 2012

    [...] For more details, see http://www.sanisoft.com/blog/2009/08/21/wordpress-plugin-calendar-archives/ [...]

Leave a Reply