• Resolved ragnok69

    (@ragnok69)


    Hello there,

    I’m using “WP GOOGLE MAP PRO” to display a map based on the visitor location and in that map showing all the Listings in the Area. This plugin allows me to use fields from custom post types from ERE. I need to know the name of the field related to the Address or to the Zip-code.

    Thanks in advance,

Viewing 1 replies (of 1 total)
  • Plugin Author g5theme

    (@g5theme)

    Hello, Here is the field and code to display google map
    $location = get_post_meta($property_id, ERE_METABOX_PREFIX . ‘property_location’, true);
    if (!empty($location)) {
    list($lat, $lng) = explode(‘,’, $location[‘location’]);
    }
    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Property Fields’ is closed to new replies.