I recommend PacificHost, because I use them. I appreciate their committment to my business and I think more people should be aware of their amazing service and support. Of all the hosting companies I have dealt with in the past, they have provided me the fastest, most reliable and affordable hosting I have ever had. I never have to worry about my websites, and that is the kind of peace of mind you have to experience to understand. PacificHost ›

WP CALENDAR WordPress Theme

Added February 16th, 2009 at 9:50pm by Greg Johnson

An exercise in displaying posts as a calendar with titles I wanted to share with whomever was interested. You'll see this method put to test this week in our upcoming WP SMASHING theme.

Tags: , ,

WP CALENDAR

This theme was born form a desire to be able to parse post data and build a calendar block with it. The result was pleasing and allows you to create any number of sites using WP CALENDAR as the base instead of needing to install and manage plugins. The functionality is very basic and easy to understand, and the theme is as plain as it gets. This was an exercise in functionality rather than artistic ability.

This Thursday or Friday we’ll be releasing a theme for Smashing Magazine called WP SMASHING (original, right?) that utilizes this calendar functionality and kicks it up a notch. Time permitting — I’m extraordinarily busy this week — I’ll build the wp-calendar plugin to be a bit more robust with options on where and how to implement the calendar, so stay tuned!

WP CALENDAR

FEATURES

COMMENTS

[...] you never make time for your own stuff. Well, I finally made time. I did 3 themes this week: WP CALENDAR, Bust A Theme and the soon-to-be-released-for-Smashing-Magazine WP SMASHING. At the time of writing [...]

This is so cool! It would work wonders as an event calendar.

This is a really cool idea, amazing, simple and just 2 cool ;)

- Great Job

[...] 3 days ago Greg Johnson from bustatheme.com released a new theme for download celebrating the site redesign and 10.000 registerde users. Also he said that  a new theme for the smashingmagazine.com site will be released in a few days. We can hardly wait to see what king of redesign will have the  Smashing Magazine. Enough with talking and download hist new theme, WP Calendar. [...]

Is it possible to add more than one post a day?

@Arturus,

Yes. The demo has days where there are several posts per day.

Love the theme, but tried to use it for my class lessons and I get an error where the post should be… any ideas why?

I would love to be able to use it…

Thanks

R

Error:
Fatal error: Call to undefined function: mb_strlen() in /wp-content/plugins/wp-calendar.php on line 84

@Robin,

This is a standard php function available from waaaaaay back. See here: http://us.php.net/mb_strlen

Ask your host to upgrade your php configuration or enable the mb_strlen function.

Hi. Awesome ! Definitely what I was looking for, again congrat. ;-)

Is it possible to have pictures or thumbnails even if we have several posts or a plugin is needed?. I want to use it for an events calendar related to our posts http://www.streetblogger.fr. Thx !!!

Is it possible to display the content of the post instead of the title?

@Sidy,
Yes, with some tweaking. I’ll release an update to WP CALENDAR in a few days.

@jul,
Yes, again with some tweaking.

There are quite a few options I’ll add into the next revision.

Hi Greg, its a great looking theme and its almost exactly what I’m looking for. Because I’d like to show thumbnail images instead of post titles on every calendar day. Also I’d like the current date to automatically become a featured post by having a photo and an excerpt of the post above the calendar. Can you tell me how I can accomplish all this?

I’ve been playing around with adding a customer header at the top. Is this recommended or will it break the layout?

Yes of course. This layout was meant to be customized which is why it is so plain.

[...] Demo – Mas info y Descarga by bustatheme Delicious / Digg / Barrapunto / Linkk / Technorati / Stumble [...]

I love the theme but have a major problem. The calendar is incorrect. The Posts are going in the right slots, but the days are not right. For instance, Feb 1, 2009 is on a Friday instead of a Sunday. March 1, 2009 is also on a Friday instead of a Sunday.

Here’s the address: http://funnyemail.org/

Those posts showing up on March 1 are actually the posts from March 6.

Any help would be appreciated.

Hi Paul,

That’s an excellent question — one I do not have the answer to. If you look at the WP CALENDAR demo, you’ll see that all is displayed properly. It is the most recent version of WordPress as well. If you can provide me some info on your server configuration, that would help.

So I fixed the date the month starts by adjusting this code:

// What day of the week does this month start on?
for($i = -2; $i < $wp_calendar['start_weekday']; $i++)

Putting the -2 in. Unfortunately, that didn’t do anything to fix what days the posts were showing up on. I just reset it.

Sadly, I don’t know anything at all about server configurations. I host with Media Temple. The path to the installation is home//domains/funnyemail.org/html/

Paul,

What version of php are you using? Try then adjusting the variable in the loop bellow the following text:

// Calendar logic.

If anyone else can duplicate this error, please let me know.

I’m trying a couple of things out this afternoon…I’ll let you know here in a few minutes…

I’m so glad you asked that. i was certain I was using PHP5, but turns out my host lets you pick between 4 and 5 and since I had never picked, I was on 4. That fixed it completely (after I removed all my modified code from the calendar plugin).

You’ve been a lot of help for a free, premium theme designer. I’m going to link you from about a dozen sites, pay you your $27 (on payday) and leave your copyright up ; )

[...] donc ici pour le télécharger gratuitement (sur incription pas longue) / et là en démo Fais tourner [...]

You know what is cool about this theme that I really like, but others might not? You can post forward and have the posts go ahead and show up in the calendar for your readers. Of course, that’s not an official optional, which might bother some folks, and it also tosses your drafts up there, too, but that is a minor adaptation.

Thanks Paul.

Those are two things I will add as options in the next release.

Cheers!

Thanks a lot i really need this themes fo our web: Mayasari Plaza

[...] creating WP SMASHING I updated the functionality of the just-released WP CALENDAR by adding a theme options page in the admin menu. The plugin allows you to choose how the calendar [...]

best design thanks

Love your work Greg, thanks so much!

Very nice work Greg. Thanks for sharing.
Focusing on a simple way to display the content of the post instead of the title (cf. Easy PHP Calendar demo: Normal and List Mode | Text on Calendar Mode | Blog Mode).

Nice theme
Clean & Clear
Thank for share

Excellente Theme, congrats :)

This is so awesome, thank you so much!! I spent days trying to figure out how to do something just like this.

Do you know how I could modify the code a bit to only pull up posts from a particular category?

@jessnoonyes,

Because I’m not using any wordpress function to get the calendar it would require a bit of modification to pull only from one category. There is a chance I’ll put this functionality in to a future version, but right I’m busy working on the evolution of bustatheme, and I don’t see myself making a follow-up to wp calendar for some time.

just awesome

muy bueno, muchas gracias
Saludos

Hey Greg
Thanks alot for this theme.

*required

*required (will not be published)

Allowed html: <a href="">, <b>, <strong>, <em>, <i>, <strike>, <code> and <blockquote>

"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur."— Red Adair (1915-2004)