lat and lng custom field to be used externaly
Hello,
I would like to use the 'lat' and 'lng' field in another plugin so I need to create custom fields so that the 2 fields will be seen from the external plugin.
How to handle this ?
I found these line in form-listing.php (I modify hidden to text to display them:
<div class="form-field">
<?php $coord = appthemes_get_coordinates( $listing->ID ); ?>
<input name="lat" type="text" value="<?php echo esc_attr( $coord->lat ); ?>" />
<input name="lng" type="text" value="<?php echo esc_attr( $coord->lng ); ?>" />