Support » Plugin: The Events Calendar » How do I display a default message if no events in list.php

  • Resolved John O

    (@jossoway)


    Hi,

    I am using The Events Calendar, but when there are no events to display, I just get an empty page. I would like to display a default message, but am unsure how to modify list.php to achieve this. Can anyone help?

    Thanks.

    John

Viewing 1 replies (of 1 total)
  • Fixed this. Just stuck a counter in variable that increments with each event. Then test to see if counter has incremented beyond zero.

Viewing 1 replies (of 1 total)
  • The topic ‘How do I display a default message if no events in list.php’ is closed to new replies.