• Resolved mme

    (@mme)


    Hi,

    Just wondering if you can add a text saying there are no upcoming events if none are returned from Facebook.

    Currently I have added a dirty workaround but hope this can be added to plugin itself in the future

    https://gist.github.com/dfinnema/e82368a83fc6f05b4b893f712c462149

    You can add this class-xt-facebook-events-facebook line 88

    if( !empty( $facebook_events ) ){
      $this->render_facebook_event_listing( $facebook_events, $atts );
     } else {
     return "No Upcoming Events";
    }

    Thanks for creating this plugin hopefully you can have a look at implementing this feature in an upcoming update.

Viewing 1 replies (of 1 total)
  • Hello @mme,

    Thanks for reaching out to us.

    Thanks for providing a great suggestion. We are adding this to our TO DO list and will release it in upcoming release.

    Thanks again for your suggestion.

Viewing 1 replies (of 1 total)
  • The topic ‘Display when no upcoming events’ is closed to new replies.