• Resolved kayakbabe

    (@kayakbabe)


    Since many of the variables such as url and color allow easily differentiating within the display, I attempted to use hidetimes=”true|false” showendtimes=”false|true”. It doesn’t work.

    Our situation for our church, is that we have multiple calendars, but.. several are just a month long “event” such as which vestry members is assigned to unlock and lock the church for events and meetings being held in our parish hall. We have a separate google calendar setup so we can easily display and remind the vestry person of their job, and so people know who to call if they need something at the church building. BUT having the time display for this makes no sense as the person is assigned ALL month long. I have a calendar setup so that on the first of the month the person’s name will show and I assigned it a different color than the other icals being pulled in. However I want to hide the times since they really are not relevant for just this one iCal. I do want the times to show for normal events that we want to display from other icals.
    Hiding and showing end times ought to work the same way.

    Being able to do this in the short code for hidetimes=”true|false” showendtimes=”false|true” like we can for other features of the plugin make sense.

    And I using the wrong code? I tried spaces and pipes.

    Is there another way to do this maybe?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author room34

    (@room34)

    Sorry, at this point those settings are all-or-nothing for the entire display, not customizable to be different for different feeds within the same display.

    Times for all-day (or multi-day events configured as all-day) already should not be displaying though, so you may just need to change the way your events are configured. The calendar software generally has an “all day” checkbox when you’re setting up an event, and when you do that the time fields get hidden. If you make these month-long entries “all day” in this way, they won’t have times that get displayed by ICS Calendar.

    Two additional considerations:

    1. You need to make sure that your timezone is set correctly. This means both making sure that the timezone in your source calendar is correct, and that the timezone on your WordPress site is correct, either by setting the timezone on the Settings > General page, or by adding the tz property to your shortcode. Be sure you’re using a named city timezone, like “America/Chicago” and not a UTC offset like “UTC-5”. (The latter causes issues around the switch between Daylight Saving Time and Standard Time.)

    2. If you set these events up as “all-day” events, you won’t get times, but you will get an “ALL DAY” label above the all-day events. If you don’t want that “ALL DAY” text to display, add hidealldayindicator="true" to your shortcode.

    Thread Starter kayakbabe

    (@kayakbabe)

    So I did as you suggested to hide the all day indicator and made it a one day event on the first of the month. That looks pretty good! Thanks! It will work!

    Plugin Author room34

    (@room34)

    Great!

    By the way — if you do want it to still be an event that shows up on every day in the calendar, you can check the “all day” checkbox on the event, but make its start and end dates the first and last days of the month. That “all day” checkbox doesn’t limit the event to a single day; it just makes it an event that doesn’t have specified start and end times.

    Let me know if you run into any other problems.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘hidetimes=”true|false” showendtimes=”false|true”’ is closed to new replies.