WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
[resolved] How do I display a default message if no events in list.php (2 posts)

  1. John O
    Member
    Posted 3 years ago #

    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

  2. John O
    Member
    Posted 3 years ago #

    Fixed this. Just stuck a counter in variable that increments with each event. Then test to see if counter has incremented beyond zero.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic