Hide Google Map when no venue is selected

WordPress Event Management, Calendars & Registration Forums General Question Hide Google Map when no venue is selected

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 8 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2745

    Hi
    Is there a way to not have the google map display when no venue is selected for an event?
    Regards
    Paula

    Paula White
    #2753

    Hi Paula,

    How are you creating the map, are you using the shortcode or the function (or something else?). For the former – now, but for the later you can perform a check before calling the function ( i.e. using eo_get_venue()).

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.