remove location and booking

Closed
Panagea - Hotel and Tours Booking WordPress Theme Panagea - Hotel and Tours Booking WordPress Theme July 28, 2019
Login to reply
Eve Fitch
5 months ago

Nice site. Keep it up. The FPS test on this device checker website is a must-have for gamers. It gives me an accurate measurement of my device's gaming performance. Visit this profile to know more about Device Checker.

Demian Richardson
6 months ago

The Kafka stage permits stream and bunch handling with extraordinary throughput (30,000 records/sec). This open-source appropriated arrangement is profoundly adaptable, and numerous Fortune 100 organizations use it even without true help. Kafka offers greater adaptability however requires experienced designers to set it up and keep the assistance running dependably and safely>> kafka as a service aws

lee marry
7 months ago

There are no limits to your estimates. An artificial intelligence computer sorted the words based on how similar they were to the secret word. contexto game

SEOTEST 01
9 months ago

สล็อตดวงดี123 แตกหนักแจก เครดิตฟรีกดรับเอง สามารถกดรับเครดิตฟรีได้เองแล้ววันนี้

sara jane
9 months ago

Thank you for providing such an informative essay on this subject. This has truly made me think, and I'm looking forward to reading more. cut mover game

Lucas Kelsall
9 months ago

F6 is the default key combination for the Auto Clicker to initiate and end processes. Nevertheless, you can assign any other key to both actions by changing the hotkey in the hotkey settings. You can try Speed Auto Clicker software for clicking. Visit this profile to know more about Auto Clicker.

Gabriel Killian
1 year ago

The motion appears smoother when the refresh rate is higher because more information is presented to your eyes in the same period of time. Keep in mind that a video is really a collection of still images that are rapidly displayed to create the illusion of motion. You can check your monitor refresh rate by using the Refresh rate checker.

Lisa Stellon
1 year ago

Do you want to keep your website up 24/7? then don't wait up. Choose reliable uptime monitoring services and track your downtime, and uptime of your website via email alerts.
Florese Puls
1 year ago

Do you want to play a fun game with the feeling of conquering difficult things? Slope 2 unblocked is a special dribbling game that never gets boring. Come play with me

Kelly R Support Agent
4 years ago

Hi,

Please remove following codes in /wp-content/themes/panagea/single-hotel.php file, too.

<?php

    if ( ! empty( $hotel_pos ) ) {
     if ( ! empty( panagea_get_opt( 'hotel_review' ) ) ) {
      $rating_text = panagea_get_review_based_text( $review ) . ' | ' . $review;
     } else {
      $rating_text = '';
     }
    ?>
     var lati = <?php echo esc_js( $hotel_pos[0] ); ?>;
     var long = <?php echo esc_js( $hotel_pos[1] ); ?>;
     var _center = [lati, long];
     var markersData = {
       '<?php echo esc_js( $post_id ); ?>': [{
         type_point: '<?php echo ( isset( $hotel_type ) ) ? esc_js( $hotel_type->name ) : ''; ?>',
         name: '<?php echo get_the_title( $post_id ); ?>',
         location_latitude: lati,
         location_longitude: long,
         map_image_url: '<?php echo ( isset( $featured_img ) ) ? esc_url( $featured_img ) : ''; ?>',
         rate: '<?php echo esc_js( $rating_text ); ?>',
         name_point: '<?php echo get_the_title( $post_id ); ?>',
         get_directions_start_address: '',
         phone: '<?php echo esc_js( $phone ); ?>',
         url_point: '',
         marker: '<?php echo esc_js( $hotel_marker_img_url ); ?>'
        }],
      }
     renderMap( _center, markersData, <?php echo esc_js( $map_zoom ); ?>, google.maps.MapTypeId.ROADMAP, false );
    <?php
    }
   ?>

Regards,

Hafid Rozaqi
4 years ago
lets inspect again my website. i have added code remove location. Let see differnce about image block problem
Kelly R Support Agent
4 years ago

Hi,

I can see photos in your website.

http://prntscr.com/ooubkv

Regards, C-Themes

Hafid Rozaqi
4 years ago

i have some problem after remove location code. 

before  remove location code block photos grid has appeared
https://prnt.sc/oou4mi


after remove location code missing block photos grid
https://prnt.sc/oou49m

url : https://matalembu.co.id/tour/paket-private-trip-bromo-1-day/

pls help the problem what i have do

thanks regrads

Kelly R Support Agent
4 years ago

Hi,

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; ?>

And

<div class="box_detail booking">

       <div class="price">
        <div class="price-fields">
         <span><?php echo panagea_price( $person_price ) ?> <small><?php echo esc_html__( 'person', 'panagea' ) ?></small></span>
        </div>
        <?php if ( ! empty( panagea_get_opt( 'hotel_review' ) ) ) : ?>
         <div class="score">
          <span><?php echo esc_html( panagea_get_review_based_text( $review ) ); ?><em><?php echo esc_html( $review_count ); ?> <?php echo esc_html__( 'Reviews', 'panagea' ); ?></em></span><strong><?php echo esc_html( $review ); ?></strong>
         </div>
        <?php endif; ?>
       </div>

       <?php if ( 'external' == $hotel_setting ) : ?>

        <div class="short-description add_bottom_15">
         <?php
         if ( ! empty( $affiliate_desc ) ) {
          echo balancetags( $affiliate_desc );
         }
         ?>
        </div>
        <a href="<?php echo esc_url( $external_link ); ?>" class="btn_1 full-width purchase"><?php echo esc_html__( 'Check now', 'panagea' ) ?></a>

       <?php elseif ( 'inquiry' == $hotel_setting ) : ?>

        <div class="inquiry-form-wrapper">
         <?php echo do_shortcode( $inquiry_form ); ?>
        </div>

       <?php elseif ( 'default' == $hotel_setting ) : ?>

        <?php if ( panagea_get_woocommerce_cart_url() ) : ?>
         <div class="booking-form-wrapper">
          <form method="get" id="booking-form" action="<?php echo esc_url( panagea_get_woocommerce_cart_url() ); ?>">
           <input type="hidden" name="hotel_id" value="<?php echo esc_attr( $post_id ) ?>">
           <input type="hidden" name="action" value="panagea_hotel_check_price">
           <?php wp_nonce_field( 'hotel_add_cart', 'hotel_add_cart_wpnonce' ); ?>

           <?php
           $lang_code = panagea_get_lang_code_for_page( panagea_get_opt( 'hotel_cart_page' ) );
           if ( ! empty( $lang_code ) ) {
            ?>
            <input type="hidden" name="lang" value="<?php echo esc_attr( $lang_code ); ?>">
            <?php
           }
           ?>
           <div class="form-group">
            <input class="form-control date" type="text" name="dates" placeholder="<?php esc_attr_e( 'When..', 'panagea' ); ?>">
            <input type="hidden" name="date_from">
            <input type="hidden" name="date_to">
            <i class="icon_calendar"></i>
           </div>

           <div class="panel-dropdown">
            <a href="#"><?php echo esc_html__( 'Guests', 'panagea' ); ?> <span class="qtyTotal">1</span></a>
            <div class="panel-dropdown-content right">
             <div class="qtyButtons">
              <label><?php echo esc_html__( 'Adults', 'panagea' ); ?></label>
              <input type="text" name="adults" value="1" class="qtyInput">
             </div>
             <div class="qtyButtons">
              <label><?php echo esc_html__( 'Kids', 'panagea' ); ?></label>
              <input type="text" name="kids" value="0" class="qtyInput">
             </div>
            </div>
           </div>

           <div class="form-group clearfix">
            <div class="custom-select-form">
             <select class="wide" name="room_type_id">
              <?php
              foreach( $room_types as $post ) {
               echo '<option value="' . esc_attr( $post->ID ) . '">' . esc_html( $post->post_title ) . '</option>';
              }
              ?>
             </select>
            </div>
           </div>

           <div class="hotel total-price"></div>
           <input type="submit" class="add_top_15 btn_1 full-width purchase book-now-btn" value="<?php echo esc_attr__( 'Add Cart', 'panagea' ); ?>">
           <input type="submit" class="add_top_15 btn_1 full-width purchase check-price-btn" value="<?php echo esc_attr__( 'Check Price', 'panagea' ); ?>">
          </form>
         </div>
        <?php else : ?>

         <?php echo wp_kses_post( sprintf( __( 'Please enable WooCommerce Integration on <a href="%s">Theme Options</a>/Woocommerce Integration', 'panagea' ), esc_url( admin_url( 'admin.php?page=theme_options' ) ) ) ); ?>

        <?php endif; ?>

       <?php else : ?>

        <div class="short-description add_bottom_15">
         <?php
         if ( ! empty( $empty_booking_desc ) ) {
          echo balancetags( $empty_booking_desc );
         }
         ?>
        </div>

       <?php endif; ?>

       <?php
       if ( ! empty( panagea_wishlist_page_url() ) ) :
        if ( is_user_logged_in() ) {
         $user_id = get_current_user_id();
         $wishlist = get_user_meta( $user_id, 'wishlist', true );
         if ( empty( $wishlist ) )
          $wishlist = array();
         ?>

         <a class="btn_1 full-width outline wishlist btn-add-wishlist" href="#" data-label-add="<?php esc_html_e( 'Add to wishlist', 'panagea' ); ?>" data-label-remove="<?php esc_html_e( 'Remove from wishlist', 'panagea' ); ?>" data-post-id="<?php echo esc_attr( $post_id ) ?>"<?php echo ( in_array( panagea_hotel_org_id( $post_id ), $wishlist ) ) ? ' style="display:none;"' : '' ?>><i class="icon_heart"></i> <?php echo esc_html__( 'Add to wishlist', 'panagea' ) ?></a>
         <a class="btn_1 full-width outline wishlist btn-remove-wishlist" href="#" data-label-add="<?php esc_html_e( 'Add to wishlist', 'panagea' ); ?>" data-label-remove="<?php esc_html_e( 'Remove from wishlist', 'panagea' ); ?>" data-post-id="<?php echo esc_attr( $post_id ) ?>"<?php echo ( ! in_array( panagea_hotel_org_id( $post_id ), $wishlist ) ) ? ' style="display:none;"' : '' ?>><i class="icon_heart"></i> <?php esc_html_e( 'Remove from wishlist', 'panagea' ); ?></a>

        <?php
        } else {
        ?>
         <div class="add_top_30">
          <div class="text-center"><?php esc_html_e( 'To save your wishlist please login.', 'panagea' ); ?></div>

          <?php if ( empty( panagea_get_opt( 'login_page' ) ) ) { ?>
           <a href="#" class="btn_1 rounded full-width"><?php esc_html_e( 'login', 'panagea' ); ?></a>
          <?php } else { ?>
           <a href="<?php echo esc_url( panagea_get_permalink_clang( panagea_get_opt( 'login_page' ) ) ); ?>" class="btn_1 rounded full-width"><?php esc_html_e( 'login', 'panagea' ); ?></a>
          <?php } ?>
         </div>
        <?php
        }
       endif;

       if ( ! empty( $hotel_security_deposit ) && 'default' == $hotel_setting ) {
       ?>
        <div class="text-center"><small><?php echo esc_html__( 'Deposit amount is ', 'panagea' ) . $hotel_security_deposit . '%'; ?></small></div>
       <?php
       }
       ?>
      </div>

Regards, C-Themes

Hafid Rozaqi
4 years ago

can you help me remove location google api and widget booking?? https://prnt.sc/ol489b