Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Nick Young

    (@nickyoung87)

    You can use the [if-all-day]…[/if-all-day] conditional shortcode in the event builder.

    See this for more information: https://wpdocs.philderksen.com/google-calendar-events/event-builder/conditional-shortcodes/

    Thread Starter stevebenthal

    (@stevebenthalgmailcom)

    Yes I saw that so I would need to say [if-all-day]…[/if-all-day] then No Start time, No End Time. So what would the short code be for that?
    Thanks,

    Plugin Contributor Nick Young

    (@nickyoung87)

    <div class=”gce-list-event gce-tooltip-event”>[event-title]</div>
    [if-not-all-day]<div><span>Starts:</span> [start-time]</div>
    <div><span>Ends:</span> [end-date] – [end-time]</div>[/if-not-all-day]
    [if-location]<div><span>Location:</span> [location]</div>[/if-location]
    [if-description]<div><span>Description:</span> [description]</div>[/if-description]
    <div>[link newwindow=”true”]More details…[/link]</div>

    I think that should do the trick.

    Thread Starter stevebenthal

    (@stevebenthalgmailcom)

    Here’s what that gave me.
    It’s displaying all your code so something is missing.
    thanks.

    https://greenportsynagogue.com/google-calendar/

    Plugin Contributor Nick Young

    (@nickyoung87)

    It looks like something is transforming your < and > characters to the HTML enitity & lt; and & gt (no space). Do you have any plugins installed that might be causing this? You could also try making sure you are in the HTML tab of the editor and not the visual tab.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Displaying Holidays’ is closed to new replies.