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

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”
:/
Can I see a working version of this plugin somewhere? I’d like to see how it works with actual posts before installing.
@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
Works great, thank you
Great plugin Amit,
how can i translate the plugin , or is it a way to internationalise it ?
Thank’s
i’ve found how to translate the days names (calendar-layout-1.php file) but did’nt found the month names…
anyone installed this who can give me a link so i can see it in action
Regards
you can see it here http://francois.keller.free.fr
@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
Images aren’t showing up for me, though I see no errors either. Where should I start troubleshooting?
@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
‘show images’ is checked. There are no images in the ‘cached_images’ subdirectory of the plugin directory though.
I’ll try removing the ‘@’ operators.
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.
I’ve fixed it by patching calendar-archives.php. Email me if you are interested in details.
Hello Andy, Can you e-mail me the fix. I have the same isue
Hi Andy.
I have the same problem. I would really be interested to get the fix if possible. Thanks
@Valentin, @Andy, @Adrian, @Emmi: I have released new plugin version today, this will fix the problem – please try and let me know
Thanks
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.
@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
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.
@Emmi: Thanks for feedback. It will be great if you provide demo link to view how calendar looks
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.
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
@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
Hi,
i use the plugin.
But in Germany the first day of the week is monday. Where and how can i change this?
@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
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?
@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
Nice plugin. However i’m wondering if the the resizing would work better before writing to the image cache?
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
@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
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.
@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
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.
@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
@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
Hi, I would want to translate plugin to the Russian language. Please tell me your email, simply reply to mrilyuha@gmail.com. Thanks!
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…
@Phil, have you already figured out how to make the images clickable?
Thanks in advance
@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
Hai Amit,
How can I make the images clickable?
Wich line and wich code do I have to adjust?
Thanks in advance.
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.
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
@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
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!!
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.
Becky did you ever figure out why your images don’t show up? I have the same problem. I’m running wordpress locally
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”.
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….
How can I make this display the calendar without bullets in front of everything in the 2nd layout?
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
@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.
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!
@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.
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
Amit, this is really fantastic! Thank you!
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.
If there are multiple images in a post, is it the first image that is automatically selected for the calendar pic?
Appreciate your help.
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.
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!
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.
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
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.
Great plugin Amit, many thanks. It works OK for me on WP3.0 also. Very much appreciate your hard work there.
Thanks for the appreciation
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.
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
It’s brilliant – thanks!
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
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.
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!!
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.
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?
Hello, sorry about the late reply, my website calendar page is located HERE.
Thanks
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;’.
Dear Amit,
I have started to get the following error:
Fatal error: Allowed memory size of 33554432 bytes
Any ideas how to fix this?
I think you need to increase memory size (it’s 32MB currently).
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.
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.
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
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
Hi
Though the ‘show image’ is checked, the background is shown only when it’s available for any post of that day.
Amit
Yes, off course, but what is it that makes a background available or not? So I know what’s going wrong…
If image’s height and width is not less than box dimension setting then it will be used.
Still no luck with the images, here’s the preview link:
http://www.moonward.net/?page_id=778&preview=true
Any ideas what’s going on?
Thank you,
Javier
Think I found a way, thanks…
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
hi from Chile… How to change the months in spanish?
This will help me too, I can’t find it…
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.
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!
Since 2011 started, Calendar Archives doesn’t show posts of 2010. How can I show postst of 2011 as well as posts of 2010?
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
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
Hello Amit,
I have just installed your plug-in. Does it work with WordPress Version 3.1?
Thank you.
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.
Amit, this is nice plugin. But I am facing some issue to display images in calendar. Show images option also on.
Please, someone can it translate ti russian?
or give a link where I can download with russian days and monthes.. thanks
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
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
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
This plug is in great but sadly it doesn’t work for featured images. Any plans to enhance?
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?
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.
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.
thank you very much, I did work properly.
Is there a way tu publish only one category?
Yes, there is a way to view posts in calendar using only one category. You just need to pass ‘category=<category-name>’ in the URL, for example, http://www.gapema.com/calendar?category=Test
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?
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.
Sam, modifying core file is not a good option.
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
Lorina, the mentioned page is displaying fine for me.
hmm it seems to be in Google Chrome only .. thank you for the observation, I wouldn’t have known otherwise