Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Atte Moisio

    (@moisture)

    Hi,

    Unfortunately not possible at the moment, but I’ll look into implementing that in the next version. (Probably in a week or so).

    Thanks for asking!

    Plugin Author Atte Moisio

    (@moisture)

    As a short term solution you could add

    if (!($loop->have_posts())) {
        echo '<p>No upcoming events</p>';
    }

    in widget-upcoming-events.php right after $loop = new WP_Query( $args );

    Thread Starter netes

    (@netes)

    Thanks a lot 🙂 It works perfectly!

    In addition to this the link to “See more events” (widget) should not come through if there are no events.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Show "No upcoming events" in widget when events are empty’ is closed to new replies.