deactivate the map of geomap custom field

Discussion in 'GeoCraft WordPress Theme' started by zweitbuch, Apr 4, 2014.

  1. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    hello!

    can i somehow deactivate the actual map of geomap, but leave the adress/city?
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Yes it is possible but you need to do some custom changes for it.
    Go to the custom fields and deactivate default map field. And create a new address field with new html variable name. (like address_new)
    It will disable default address field.
    And to show new address field at front and category page. Open front-page.php and loop.php. Search (ctrl+f) html variable name of default address field and replace result with your html variable name of new address field.

    Thanks & Regards
    Nitesh Raghuwanshi
     
  3. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    okay thanks, and if i do this, does the search for the location then still work?
     
  4. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    plz tell me
     
  5. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Yes, location search will work then also.

    Thanks & Regards
    Nitesh Raghuwanshi
     

Share This Page