Desactivate Google Maps

Closed
Panagea - Hotel and Tours Booking WordPress Theme Panagea - Hotel and Tours Booking WordPress Theme September 27, 2019
Login to reply
David Ungo de Velasco
2 weeks ago

Dear Kelly,

It is running well. Thanks.

Regards,

DAVID

David Ungo de Velasco
2 weeks ago

Dear Kelly,

Ok. I try to do it. I tell you if it is all ok.

Kind regards,

DAVID

Kelly R Support Agent
2 weeks ago

Hi,

Panagea theme has not feature to disable google map in the theme.

If you want to remove google map in tour, hotel and restaurant, please edit theme files.

Please edit /wp-content/themes/panagea/single-hotel.php file, /wp-content/themes/panagea/single-tour.php file and /wp-content/themes/panagea/single-restaurant.php file.

For example, please remove following code in /wp-content/themes/panagea/single-hotel.php file

<?php if ( ! empty( $hotel_pos ) ) : ?>

        <h3><?php echo esc_html__( 'Location', 'panagea' ); ?></h3>
        <div id="map" class="map map_single add_bottom_30"></div>
        <!-- End Map -->
       <?php endif; ?>

You can edit other files like it.

And then please add following css code in theme options panel to hide "View on Map" button in tour search page, hotel search page, etc.

http://prntscr.com/pc02n6 

http://prntscr.com/pc02rj

.btn_map{ display: none !important; }

Regards, C-Themes

David Ungo de Velasco
2 weeks ago

Dear,

I want to disabled Google Maps for my tours, hotels and restaurants, but not for my contact page, for exemple. Is that possible?

...do you know that now we must pay for Google Maps API Key...

Kind regards,

DAVID