Support » Plugins and Hacks » Hacks » Post with more than one day

  • Hello, I’m using the plugin Calendar Category (http://code.garyjones.co.uk/plugins/calendar-category) to filter posts of events and show them on the calendar. The problem is with the events that are held in more than one day because the post is only marked on the day it was published (I use a plugin to display future posts).
    I don’t use a plugin event because I want to publish as a post.

    So I wondered how a post that may appear on the calendar marking more than a day.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    This appears to simply extend the default calendar widget so you can filter by category. The calendar widget is intended to link to published blog posts and is not really intended to work for events. Thus it has no way to know how long an event lasts. Short of extending the widget again, all you can really do is add duplicate posts for each day of the event.

    okay, thanks. It’s as I suspected.
    Could you tell me if you have any way when creating a post, put a redirect to another post?
    So I can create posts and clicking on them opens a post pattern.

    Moderator bcworkz

    (@bcworkz)

    I’m not sure what you mean by opening a post pattern, but almost anything is possible in theory with custom coding.

    One idea that comes to mind is a custom post type that only contains a custom field in which you enter a permalink to the initial post with actual content. Clicking on it’s entry in the calendar (or anywhere) would simply redirect to the permalink contained in the field.

    You could even have code automatically insert these redirect posts based on event dates in the main post’s custom field, but if you go through that much effort, you may as well develop a calendar that works correctly for events.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post with more than one day’ is closed to new replies.