How can I remove the Map on a listing.

Discussion in 'GeoCraft WordPress Theme' started by bwdaugherty, Jun 18, 2013.

  1. bwdaugherty

    bwdaugherty Member

    Joined:
    Nov 26, 2012
    Messages:
    118
    Likes Received:
    0
    I looked for anything related to this on the forum. I would like to remove the map which displays on each listing. I attempted to do so through the custom fields but was unsuccessful. Thanks
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to single-listing.php present in your theme directory and remove the code given below

    Code:
                <?php if (($map_add['is_active'] == 1 && $map_add['show_free'] == 'true') || ($listing_type == 'pro' && $map_add['is_active'] == 1)) { ?>
                    <h2><?php echo S_L_MAP; ?></h2>
                    <div style="border:1px solid #ccc;" class="map">
                        <?php gc_single_map(); ?>
                    </div> <?php } ?>
    [​IMG]
     

Share This Page