Rochester, NY Community

<span class="basic_member_name">Leila Anasazi</span>
Leila Anasazi
ghost blogger, author, book artist
Seattle, Washington
Posted by Leila Anasazi, Seattle, Washington | Oct 20, 2009

Subscribe to WordPress Chatter - Discussion Event Calendar for Wordpress (Thesis theme)

I am sure there is a way to do this, but before I re-invent the wheel, has anyone seen a tidy way to publish a calendar of events with each event being its own blog post? These posts would assemble on one page, representing the current season's event calendar.

And then, I want to feature the next upcoming event at the top of the event page (plus retain its entry chronologically below).

I think it will be a combo of manipulating the post dates and using "featured" post, but maybe there is an easy plug-in or widget that does all this easy-squeezy?

14 Bizniks have posted replies
Closed_info

  • Leila Anasazi
    Posted by Leila Anasazi, Seattle, Washington | Oct 20, 2009

    Hmm. I may have found an answer ... but would love any other examples.

    http://www.keithmillington.co.uk/wordpress/?p=22

  • Bob Dunn
    Posted by Bob Dunn, Seattle, Washington | Oct 21, 2009

    Hey Leila, thanks for sharing that find. Looks interesting. I know that I have come across quite a few different one's, but have yet to find one i really like.

    And yes, will keep this one in mind!

  • Leila Anasazi
    Posted by Leila Anasazi, Seattle, Washington | Oct 22, 2009

    Bob, I would love to see any examples you find.

  • Leila Anasazi
    Posted by Leila Anasazi, Seattle, Washington | Dec 03, 2009

    I still have not found a pre-packaged solution for this. I am going to try a combo of categories and manipulating the post dates. And then for good measure, utilizing the Thesis "feature box" to highlight the next upcoming event.

    I will post links when I am victorious.

  • Rick Anderson
    Posted by Rick Anderson, Edmonds, Washington | Dec 03, 2009

    The problem I see with the Keithmillington solution is that it relies on posts not actually being posted until the scheduled time, which is the time of the event. All published posts are in the past and only scheduled posts are in the future.

    It seem to me that you could add a custom field to your posts called Event Date and then you could sort the posts by category and Event date. That way you could have a page for This month's gigs, one for Last months gigs and one for next months gigs.

    Since you're a Thesis user you could try asking on the forum if someone has a suggestion for the code. It seems like a relatively simple problem that someone with sufficient skill could generate quickly

  • Rick Anderson
    Posted by Rick Anderson, Edmonds, Washington | Dec 04, 2009

    You might consider googling "sort posts by custom field". There are a number of entries dealing with analogous problems and it seems like a simple query_posts routine could give you the desired result.

  • Leila Anasazi
    Posted by Leila Anasazi, Seattle, Washington | Jan 05, 2010

    I found what looks to be the perfect solution. http://wphackr.com/publish-future-posts-as-events-list/ But I keep getting parse errors. Any one see any glaring clues why that might be?

    (I am working on a test site, so I am not putting a link here--it will be obsolete soon--but I could ship you what I have if you ask.)

  • Rick  Anderson
    Posted by Rick Anderson, Edmonds, Washington | Jan 05, 2010

    Are you using Thesis 1.6? Do you use the Thesis Open Hook plugin? Since Thesis doesn't have a "categories" page template how are you telling it which "page" you want to do this on?

  • Leila Anasazi
    Posted by Leila Anasazi, Seattle, Washington | Jan 05, 2010

    I was using the Open Hook plugin and editing for the categories at thesis_hook_archives_template.

    And to call future posts in reverse order, I went straight to the custom/custom_functions file through the dashboard.

  • Rick  Anderson
    Posted by Rick Anderson, Edmonds, Washington | Jan 05, 2010

    OK, I've got it figured out. Although it doesn't use Open Hook. It involves creating a custom template in your custom_functions.php file.

    You can see it working at http://www.test.byobwebsite.com/ Home shows the post that is published Unpublished Future Events shows the posts that are scheduled to be published on the date & time of the event Upcoming Events shows the default behavior of a page that displays only posts of a certain category - in this case the "upcoming events" category.

    I'm going to make a little video on how to do this today and post it to my site. I'll also email you the code for you to paste into your custom_functions.php file.

  • Rick  Anderson
    Posted by Rick Anderson, Edmonds, Washington | Jan 05, 2010

    Here we go - I've posted a 3 video tutorial with source code on my blog. http://www.byobwebsite.com The videos are available in wide screen and HD. If you don't want to subscribe to the site just click the full screen button on the smaller video and you'll get it full screen HD. Otherwise you can go to my YouTube chanel at http://www.youtube.com/user/byobwebsite.

    It was a fun problem to solve. Feel free to ask me any follow up questions. I'm glad to help.

  • Bob Dunn
    Posted by Bob Dunn, Seattle, Washington | Jan 06, 2010

    Thanks Rick for providing these links.

  • Leila Anasazi
    Posted by Leila Anasazi, Seattle, Washington | Jan 06, 2010

    These are great videos, Rick. Well done--graphics, audio, step by step.

    I will post a link to the site when it is live. Thanks!

  • Rick  Anderson
    Posted by Rick Anderson, Edmonds, Washington | Jan 06, 2010

    Hey it was my pleasure. I enjoyed working the problem and it made a great blog post.