Results 1 to 4 of 4

Thread: lat and lng custom field to be used externaly

  1. #1
    Thread Starter
    Member mediacomnc's Avatar
    Join Date
    Feb 2012
    Location
    New Caledonia
    Posts
    67
    Thanks
    5
    Thanked 0 Times in 0 Posts

    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 ); ?>" />

  2. #2
    Thread Starter
    Member mediacomnc's Avatar
    Join Date
    Feb 2012
    Location
    New Caledonia
    Posts
    67
    Thanks
    5
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Member mediacomnc's Avatar
    Join Date
    Feb 2012
    Location
    New Caledonia
    Posts
    67
    Thanks
    5
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Junior Member madenza's Avatar
    Join Date
    Mar 2012
    Location
    United Kingdom
    Posts
    37
    Thanks
    0
    Thanked 10 Times in 3 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Custom field type field problem 3.1
    By weiching in forum Report ClassiPress Bugs
    Replies: 12
    Last Post: October 31st, 2014, 03:01 AM
  2. Add datepicker to custom field as a field type
    By ellie in forum ClassiPress General Discussion
    Replies: 44
    Last Post: April 10th, 2014, 05:45 AM
  3. Replies: 18
    Last Post: October 9th, 2011, 11:24 PM
  4. Inserting a custom field from a custom form into the listing preview
    By Fanatic in forum ClassiPress General Discussion
    Replies: 4
    Last Post: May 1st, 2011, 07:17 PM
  5. [SOLVED] Custom field order in frontend doesn't match with custom field order set in backend
    By bluecafe in forum Report ClassiPress Bugs
    Replies: 11
    Last Post: November 24th, 2010, 08:47 AM