• Resolved Mick

    (@haarbollen)


    Hi
    I have list on mobile view and we’re using the calendar in a sports club – would like to tell people why there aren’t any events shown (almost nobody guesses that it’s because there aren’t any – they think it’s broken and contact me to tell ..!!).
    I’d just like to have shown: ‘no events this month’ when no events were created :o)

    Thanks in advance

    Mick

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Mick

    (@haarbollen)

    Okay – managed to get “There are no events scheduled during these dates” and would like to translate it – where do I find the text-bit?
    Thanks in advance

    Mick

    Plugin Author Joe Dolson

    (@joedolson)

    That’s the default text, but it’s the internal content of the shortcode. If you use a containing shortcode, you can customize the text. E.g.

    [my_calendar]This is the text I want to show[/my_calendar]

    In the block editor, if you place a second shortcode block after the My Calendar shortcode with [/my_calendar], then anything in between the two blocks will be shown when there are no events.

    (Update the plugin first; in answering this question, I discovered that I’d broken this at some point in the past, and I restored it in the latest update.)

    Thread Starter Mick

    (@haarbollen)

    Works perfect, thanks a lot!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.